summaryrefslogtreecommitdiffstats
path: root/src/kernel/qapplication.h
diff options
context:
space:
mode:
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 * );