summaryrefslogtreecommitdiff
path: root/src/plugins/cpaster/cpasterconstants.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-11-27 16:12:12 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-11-27 16:12:12 +0100
commita8ac34c34770fe329d6f0afbf60e0009fa8bb28e (patch)
tree779e96b71417ae1040aa465c091711d4ccf2c9a9 /src/plugins/cpaster/cpasterconstants.h
parentf92814516366c83a32d6e87185ca5bff53560711 (diff)
downloadqt-creator-a8ac34c34770fe329d6f0afbf60e0009fa8bb28e.tar.gz
Options: Sort by category, id.
Separate category and trCategory and introduce sorting characters to the categories. Same for id/name.
Diffstat (limited to 'src/plugins/cpaster/cpasterconstants.h')
-rw-r--r--src/plugins/cpaster/cpasterconstants.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/plugins/cpaster/cpasterconstants.h b/src/plugins/cpaster/cpasterconstants.h
new file mode 100644
index 0000000000..38d4807f63
--- /dev/null
+++ b/src/plugins/cpaster/cpasterconstants.h
@@ -0,0 +1,42 @@
+/**************************************************************************
+**
+** This file is part of Qt Creator
+**
+** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+**
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** Commercial Usage
+**
+** Licensees holding valid Qt Commercial licenses may use this file in
+** accordance with the Qt Commercial License Agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Nokia.
+**
+** GNU Lesser General Public License Usage
+**
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** If you are unsure which license is appropriate for your use, please
+** contact the sales department at http://qt.nokia.com/contact.
+**
+**************************************************************************/
+
+#ifndef CPASTERCONSTANTS_H
+#define CPASTERCONSTANTS_H
+
+#include <QtCore/QtGlobal>
+
+namespace CodePaster {
+namespace Constants {
+const char * const CPASTER_SETTINGS_CATEGORY = "X.CPaster";
+const char * const CPASTER_SETTINGS_TR_CATEGORY = QT_TRANSLATE_NOOP("CodePaster", "Code Pasting");
+}
+}
+
+#endif // CPASTERCONSTANTS_H