summaryrefslogtreecommitdiffstats
path: root/tdecore/tdeapplication.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-08-06 09:35:49 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-08-06 09:35:49 -0500
commit6f4fd5e5632b2288a483430c625081a51342fdab (patch)
treeb4ec677f360df504eb4196a5000771d21653a10c /tdecore/tdeapplication.h
parent5ee8849b092e8f3ecabf08fa959006a7e99e58b7 (diff)
downloadtdelibs-6f4fd5e5632b2288a483430c625081a51342fdab.tar.gz
tdelibs-6f4fd5e5632b2288a483430c625081a51342fdab.zip
Allow TDEApplication objects to be constructed without a session manager
This relates to Bug 760
Diffstat (limited to 'tdecore/tdeapplication.h')
-rw-r--r--tdecore/tdeapplication.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/tdecore/tdeapplication.h b/tdecore/tdeapplication.h
index 5ab8d7ee7..f58bfe0c7 100644
--- a/tdecore/tdeapplication.h
+++ b/tdecore/tdeapplication.h
@@ -257,8 +257,16 @@ public:
*/
// REMOVE FOR KDE 4.0 - using it only gives crashing applications because
// TDECmdLineArgs::init isn't called
- TDEApplication(int& argc, char** argv,
- const TQCString& rAppName, bool allowStyles=true, bool GUIenabled=true) KDE_DEPRECATED;
+ TDEApplication(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!
+ TDEApplication(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 TDECmdLineArgs.