summaryrefslogtreecommitdiffstats
path: root/kdecore/kapplication.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-08-06 09:35:49 -0500
committerSlávek Banko <slavek.banko@axis.cz>2015-12-24 02:20:20 +0100
commit83e71b4192b232fa5c3e17cc729ea8c94425cba5 (patch)
tree85107f1f6081d40bf412416da11bba25f950bfab /kdecore/kapplication.h
parent3825ec9e3f9b1a815499b837af0b16d935f083db (diff)
downloadtdelibs-83e71b4192b232fa5c3e17cc729ea8c94425cba5.tar.gz
tdelibs-83e71b4192b232fa5c3e17cc729ea8c94425cba5.zip
Allow TDEApplication objects to be constructed without a session manager
This relates to Bug 760 (cherry picked from commit 6f4fd5e5632b2288a483430c625081a51342fdab)
Diffstat (limited to 'kdecore/kapplication.h')
-rw-r--r--kdecore/kapplication.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/kdecore/kapplication.h b/kdecore/kapplication.h
index 25ecb6ee3..25c527abc 100644
--- a/kdecore/kapplication.h
+++ b/kdecore/kapplication.h
@@ -257,8 +257,16 @@ public:
*/
// REMOVE FOR KDE 4.0 - using it only gives crashing applications because
// KCmdLineArgs::init isn't called
- KApplication(int& argc, char** argv,
- const TQCString& rAppName, bool allowStyles=true, bool GUIenabled=true) KDE_DEPRECATED;
+ KApplication(int& argc, char** argv,
+ const TQCString& rAppName, bool allowStyles=true, bool GUIenabled=true, bool SMenabled=true) KDE_DEPRECATED;
+
+#ifdef TDEAPPLICATION_BINARY_COMPAT_HACK
+ // FIXME
+ // FOR BINARY COMPATIBILITY ONLY
+ // REMOVE WHEN PRACTICAL!
+ KApplication(int& argc, char** argv,
+ const TQCString& rAppName, bool allowStyles, bool GUIenabled) KDE_DEPRECATED;
+#endif // TDEAPPLICATION_BINARY_COMPAT_HACK
/**
* Add Qt and KDE command line options to KCmdLineArgs.