Warning, file /sdk/cervisia/entry_status.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002  * Copyright (c) 2004-2008 André Wöbbeking <Woebbeking@kde.org>
0003  *
0004  * This program is free software; you can redistribute it and/or modify
0005  * it under the terms of the GNU General Public License as published by
0006  * the Free Software Foundation; either version 2 of the License, or
0007  * (at your option) any later version.
0008  *
0009  * This program is distributed in the hope that it will be useful,
0010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0012  * GNU General Public License for more details.
0013  *
0014  * You should have received a copy of the GNU General Public License
0015  * along with this program; if not, write to the Free Software
0016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
0017  */
0018 
0019 #ifndef CERVISIA_ENTRY_STATUS_H
0020 #define CERVISIA_ENTRY_STATUS_H
0021 
0022 class QString;
0023 
0024 namespace Cervisia
0025 {
0026 
0027 /**
0028  * All stati a an entry could have.
0029  */
0030 enum EntryStatus {
0031     LocallyModified,
0032     LocallyAdded,
0033     LocallyRemoved,
0034     NeedsUpdate,
0035     NeedsPatch,
0036     NeedsMerge,
0037     UpToDate,
0038     Conflict,
0039     Updated,
0040     Patched,
0041     Removed,
0042     NotInCVS,
0043     Unknown
0044 };
0045 
0046 /**
0047  * The entry status as translated string.
0048  *
0049  * @param entryStatus The entry status to translate.
0050  *
0051  * @return The translated string.
0052  */
0053 QString toString(EntryStatus entryStatus);
0054 
0055 } // namespace Cervisia
0056 
0057 #endif // CERVISIA_ENTRY_STATUS_H