~user-none/kdocker/EmbedContainer

« back to all changes in this revision

Viewing changes to src/main.cpp

  • 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:
55
55
    }
56
56
    app.installTranslator(&translator);
57
57
 
58
 
    app.setOrganizationName(ORG_NAME);
59
 
    app.setOrganizationDomain(DOM_NAME);
60
 
    app.setApplicationName(APP_NAME);
61
 
    app.setApplicationVersion(APP_VERSION);
 
58
    app.setOrganizationName(Constants::ORG_NAME);
 
59
    app.setOrganizationDomain(Constants::DOM_NAME);
 
60
    app.setApplicationName(Constants::APP_NAME);
 
61
    app.setApplicationVersion(Constants::APP_VERSION);
62
62
    // Quiting will be handled by the TrayItemManager in the KDocker instance.
63
63
    // It will determine when there is nothing left running.
64
64
    app.setQuitOnLastWindowClosed(false);