summaryrefslogtreecommitdiffstats
path: root/src/kernel/qapplication.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-08-06 09:20:52 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-08-06 09:20:52 -0500
commit49075fd69d70b7850febe2fbc11f81d2d4e62cf1 (patch)
treed46a25fa952b0ed0b4e355b24b747e814fbcb2f0 /src/kernel/qapplication.h
parentd2ab408c068de5c4841e3a7d5fb4dce2e1a66ea9 (diff)
downloadqt3-49075fd69d70b7850febe2fbc11f81d2d4e62cf1.tar.gz
qt3-49075fd69d70b7850febe2fbc11f81d2d4e62cf1.zip
Allow TQApplication objects to be constructed without a session manager
This relates to Bug 760
Diffstat (limited to 'src/kernel/qapplication.h')
-rw-r--r--src/kernel/qapplication.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/qapplication.h b/src/kernel/qapplication.h
index 0a24ade..de65e39 100644
--- a/src/kernel/qapplication.h
+++ b/src/kernel/qapplication.h
@@ -77,6 +77,7 @@ class Q_EXPORT QApplication : public QObject
public:
QApplication( int &argc, char **argv );
QApplication( int &argc, char **argv, bool GUIenabled );
+ QApplication( int &argc, char **argv, bool GUIenabled, bool SMenabled );
enum Type { Tty, GuiClient, GuiServer };
QApplication( int &argc, char **argv, Type );
#if defined(Q_WS_X11)
@@ -322,8 +323,8 @@ protected:
bool event(QEvent *);
private:
- void construct( int &argc, char **argv, Type );
- void initialize( int, char ** );
+ void construct( int &argc, char **argv, Type, bool enable_sm );
+ void initialize( int, char **, bool enable_sm = true );
void init_precmdline();
void process_cmdline( int* argcptr, char ** argv );
bool internalNotify( QObject *, QEvent * );