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>
20 #include "knapplication.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
[])
33 KCmdLineArgs::init( argc
, argv
, &aboutData
);
34 KCmdLineArgs::addCmdLineOptions( knode_options() );
35 KUniqueApplication::addCmdLineOptions();
37 if (!KNApplication::start())
42 KNode::Utilities::Startup s
;
43 s
.loadLibrariesIconsAndTranslations();
44 s
.updateDataAndConfiguration();