~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kplato/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#include "kptaboutdata.h"
21
21
 
 
22
#include "kptschedule.h"
 
23
 
22
24
#include <kdemacros.h>
23
25
#include <KoApplication.h>
24
26
#include <kcmdlineargs.h>
26
28
namespace KPlato
27
29
{
28
30
 
 
31
void registerMetaTypes()
 
32
{
 
33
    qRegisterMetaType<Schedule::Log>("Schedule::Log");
 
34
}
 
35
 
29
36
}  //KPlato namespace
30
37
 
31
38
 
42
49
    // This is disabled for now so the crude test below will run
43
50
    if (!app.start())
44
51
        return 1;
 
52
 
 
53
    KPlato::registerMetaTypes();
 
54
 
45
55
    app.exec();
46
56
 
47
57
    delete (aboutData);