author | zautrix <zautrix> | 2004-10-22 08:27:03 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-22 08:27:03 (UTC) |
commit | e61ce30fc3f2376d8e9caff421495496344a8359 (patch) (unidiff) | |
tree | e82f8e5a0ecf3f21d246b0f441502cb8ee0e11a7 /kaddressbook/mainembedded.cpp | |
parent | a0cd6749d41390ea832e2acd814fe117bdd39c37 (diff) | |
download | kdepimpi-e61ce30fc3f2376d8e9caff421495496344a8359.zip kdepimpi-e61ce30fc3f2376d8e9caff421495496344a8359.tar.gz kdepimpi-e61ce30fc3f2376d8e9caff421495496344a8359.tar.bz2 |
added translations
-rw-r--r-- | kaddressbook/mainembedded.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kaddressbook/mainembedded.cpp b/kaddressbook/mainembedded.cpp index 40089a1..a8816f9 100644 --- a/kaddressbook/mainembedded.cpp +++ b/kaddressbook/mainembedded.cpp | |||
@@ -15,10 +15,11 @@ | |||
15 | #include <kglobal.h> | 15 | #include <kglobal.h> |
16 | #include <stdio.h> | 16 | #include <stdio.h> |
17 | #include <qdir.h> | 17 | #include <qdir.h> |
18 | #include "kabprefs.h" | ||
18 | #include "kaddressbookmain.h" | 19 | #include "kaddressbookmain.h" |
19 | #include "externalapphandler.h" | 20 | #include "externalapphandler.h" |
20 | #include <libkdepim/kpimglobalprefs.h> | 21 | #include <libkdepim/kpimglobalprefs.h> |
21 | 22 | void dumpMissing(); | |
22 | int main( int argc, char **argv ) | 23 | int main( int argc, char **argv ) |
23 | { | 24 | { |
24 | #ifndef DESKTOP_VERSION | 25 | #ifndef DESKTOP_VERSION |
@@ -71,6 +72,8 @@ int main( int argc, char **argv ) | |||
71 | 72 | ||
72 | #endif | 73 | #endif |
73 | KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kaddressbook"))); | 74 | KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kaddressbook"))); |
75 | // init language | ||
76 | KABPrefs::instance(); | ||
74 | KAddressBookMain m ; | 77 | KAddressBookMain m ; |
75 | //US MainWindow m; | 78 | //US MainWindow m; |
76 | QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); | 79 | QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); |
@@ -88,6 +91,7 @@ int main( int argc, char **argv ) | |||
88 | #endif | 91 | #endif |
89 | a.exec(); | 92 | a.exec(); |
90 | 93 | ||
94 | dumpMissing(); | ||
91 | 95 | ||
92 | } | 96 | } |
93 | qDebug("KA: Bye! "); | 97 | qDebug("KA: Bye! "); |