~user-none/kdocker/EmbedContainer

« back to all changes in this revision

Viewing changes to src/constants.h

  • Committer: John Schember
  • Date: 2009-11-10 04:03:07 UTC
  • Revision ID: john@nachtimwald.com-20091110040307-0jbi6gzrhrl6bdgu
Move constants into class instead of being defines.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <QObject>
24
24
#include <QString>
25
25
 
26
 
#define ORG_NAME "net.launchpad.kdocker"
27
 
#define DOM_NAME "launchpad.net/kdocker"
28
 
#define APP_NAME "KDocker"
29
 
#define APP_VERSION "4.2.2"
30
 
 
31
 
#define OPTIONSTRING "+abcd:fhi:lmn:op:qrstvuw:x:y"
32
 
 
33
 
const QString ABOUT = QObject::tr("KDocker will help you dock any application into the system tray. This means you can dock openoffice, xmms, firefox, thunderbird, anything! Just point and click. Works for all NET WM compliant window managers - that includes KDE, GNOME, Xfce, Fluxbox and many more.\n\nCreated by %1. Updated and maintained by %2.").arg("Girish Ramakrishnan").arg("John Schember");
 
26
class Constants {
 
27
public:
 
28
    static const QString ORG_NAME;
 
29
    static const QString DOM_NAME;
 
30
    static const QString APP_NAME;
 
31
    static const QString APP_VERSION;
 
32
 
 
33
    static const char *OPTIONSTRING;
 
34
 
 
35
    static const QString ABOUT_MESSAGE;
 
36
};
34
37
 
35
38
#endif  /* _CONSTANTS_H */