[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/korganizer
From: David Faure <faure () kde ! org>
Date: 2004-01-04 23:57:38
Message-ID: 20040104235738.4F54F942D () office ! kde ! org
[Download RAW message or body]
CVS commit by faure:
move cmdline def to header file, but no DCOP-enabled args handling yet.
A korganizer_options.h 1.1 [no copyright]
M +1 -1 Makefile.am 1.253
M +2 -9 main.cpp 1.94
--- kdepim/korganizer/Makefile.am #1.252:1.253
@@ -156,5 +156,5 @@
messages: rc.cpp
$(PREPARETIPS) > tips.cc
- $(XGETTEXT) *.cpp korgac/*.cpp knewstuff/*.cpp plugins/*/*.cpp tips.cc -o \
$(podir)/korganizer.pot + $(XGETTEXT) *.cpp *.h korgac/*.cpp knewstuff/*.cpp \
plugins/*/*.cpp tips.cc -o $(podir)/korganizer.pot rm -f tips.cc
--- kdepim/korganizer/main.cpp #1.93:1.94
@@ -33,12 +33,5 @@
#include <klocale.h>
-static const KCmdLineOptions options[] =
-{
- { "i", 0, 0 },
- { "import <url>", I18N_NOOP("Import calendar at <url> into default calendar"),
- 0 },
- { "+[calendar]", I18N_NOOP("A calendar file to load"), 0 },
- KCmdLineLastOption
-};
+#include "korganizer_options.h"
int main ( int argc, char **argv )
@@ -47,5 +40,5 @@ int main ( int argc, char **argv )
KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options );
+ KCmdLineArgs::addCmdLineOptions( korganizer_options );
KUniqueApplication::addCmdLineOptions();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic