doc fixes found while translating
[kdepim.git] / knode / main.cpp
blobbf6afde2bd341c96566bdd43e385853c0081781c
1 /*
2 KNode, the KDE newsreader
3 Copyright (c) 1999-2005 the KNode authors.
4 See file AUTHORS for details
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10 You should have received a copy of the GNU General Public License
11 along with this program; if not, write to the Free Software Foundation,
12 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
15 #include <kaboutdata.h>
16 #include <kcmdlineargs.h>
17 #include <kglobal.h>
18 #include <klocale.h>
20 #include "knapplication.h"
21 #include "resource.h"
22 #include "knode.h"
23 #include "aboutdata.h"
24 #include "knode_options.h"
25 #include "utils/startup.h"
27 using KNode::AboutData;
29 int main(int argc, char* argv[])
31 AboutData aboutData;
33 KCmdLineArgs::init( argc, argv, &aboutData );
34 KCmdLineArgs::addCmdLineOptions( knode_options() );
35 KUniqueApplication::addCmdLineOptions();
37 if (!KNApplication::start())
38 return 0;
40 KNApplication app;
42 KNode::Utilities::Startup s;
43 s.loadLibrariesIconsAndTranslations();
44 s.updateDataAndConfiguration();
46 return app.exec();