~ubuntu-branches/ubuntu/intrepid/digikam/intrepid

« back to all changes in this revision

Viewing changes to digikam/themedesigner/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2008-07-17 20:25:39 UTC
  • mfrom: (1.3.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20080717202539-ttj4and3ds1ldgn1
Tags: upstream-0.9.4
ImportĀ upstreamĀ versionĀ 0.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 * Description : main program from digiKam theme designer
8
8
 * 
9
9
 * Copyright (C) 2004-2005 by Renchi Raju <renchi at pooh.tam.uiuc.edu>
10
 
 * Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
10
 * Copyright (C) 2006-2008 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
11
 *
12
12
 * This program is free software; you can redistribute it
13
13
 * and/or modify it under the terms of the GNU General
24
24
 
25
25
// Qt includes.
26
26
 
27
 
#include <qapplication.h>
28
27
#include <qstring.h>
29
28
 
30
29
// KDE includes.
48
47
    KCmdLineLastOption
49
48
};
50
49
 
51
 
int main(int argc, char** argv) {
52
 
 
 
50
int main(int argc, char** argv)
 
51
{
53
52
    KAboutData aboutData("digikamthemedesigner", 
54
53
                     I18N_NOOP("digiKam Theme Designer"),
55
 
                     digikam_version,        
 
54
                     digikam_version,
56
55
                     description,
57
56
                     KAboutData::License_GPL,
58
 
                     I18N_NOOP("(c) 2002-2007, digiKam developers team"),
 
57
                     I18N_NOOP("(c) 2002-2008, digiKam developers team"),
59
58
                     0,
60
59
                     "http://www.digikam.org");
61
60
 
84
83
    app.setMainWidget(im);
85
84
    im->resize(800, 600);
86
85
    im->show();
87
 
    
88
 
    app.exec();
 
86
 
 
87
    return app.exec();
89
88
}