summaryrefslogtreecommitdiff
path: root/library/qpeapplication.h
Unidiff
Diffstat (limited to 'library/qpeapplication.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h
index 65a6d33..770ea23 100644
--- a/library/qpeapplication.h
+++ b/library/qpeapplication.h
@@ -73,43 +73,48 @@ public:
73 DisableLightOff = 1, 73 DisableLightOff = 1,
74 DisableSuspend = 2, 74 DisableSuspend = 2,
75 Enable = 100 75 Enable = 100
76 }; 76 };
77 77
78 static void setInputMethodHint( QWidget *, InputMethodHint ); 78 static void setInputMethodHint( QWidget *, InputMethodHint );
79 static InputMethodHint inputMethodHint( QWidget * ); 79 static InputMethodHint inputMethodHint( QWidget * );
80 80
81 void showMainWidget( QWidget*, bool nomax=FALSE ); 81 void showMainWidget( QWidget*, bool nomax=FALSE );
82 void showMainDocumentWidget( QWidget*, bool nomax=FALSE ); 82 void showMainDocumentWidget( QWidget*, bool nomax=FALSE );
83 static void showDialog( QDialog*, bool nomax=FALSE ); 83 static void showDialog( QDialog*, bool nomax=FALSE );
84 static int execDialog( QDialog*, bool nomax=FALSE ); 84 static int execDialog( QDialog*, bool nomax=FALSE );
85 /* Merge setTempScreenSaverMode */
86#ifdef QTOPIA_INTERNAL_INITAPP
87 void initApp( int argv, char **argv );
88#endif
85 89
86 static void setKeepRunning(); 90 static void setKeepRunning();
87 bool keepRunning() const; 91 bool keepRunning() const;
88 92
89 bool keyboardGrabbed() const; 93 bool keyboardGrabbed() const;
90 94
91 int exec(); 95 int exec();
92 96
93signals: 97signals:
94 void clientMoused(); 98 void clientMoused();
95 void timeChanged(); 99 void timeChanged();
96 void clockChanged( bool pm ); 100 void clockChanged( bool pm );
97 void micChanged( bool muted ); 101 void micChanged( bool muted );
98 void volumeChanged( bool muted ); 102 void volumeChanged( bool muted );
99 void appMessage( const QCString& msg, const QByteArray& data); 103 void appMessage( const QCString& msg, const QByteArray& data);
100 void weekChanged( bool startOnMonday ); 104 void weekChanged( bool startOnMonday );
101 void dateFormatChanged( DateFormat ); 105 void dateFormatChanged( DateFormat );
102 void flush(); 106 void flush();
103 void reload(); 107 void reload();
108 /* linkChanged signal */
104 109
105private slots: 110private slots:
106 void systemMessage( const QCString &msg, const QByteArray &data ); 111 void systemMessage( const QCString &msg, const QByteArray &data );
107 void pidMessage( const QCString &msg, const QByteArray &data ); 112 void pidMessage( const QCString &msg, const QByteArray &data );
108 void removeSenderFromStylusDict(); 113 void removeSenderFromStylusDict();
109 void hideOrQuit(); 114 void hideOrQuit();
110 115
111protected: 116protected:
112 bool qwsEventFilter( QWSEvent * ); 117 bool qwsEventFilter( QWSEvent * );
113 void internalSetStyle( const QString &style ); 118 void internalSetStyle( const QString &style );
114 void prepareForTermination(bool willrestart); 119 void prepareForTermination(bool willrestart);
115 virtual void restart(); 120 virtual void restart();
@@ -117,24 +122,25 @@ protected:
117 bool eventFilter( QObject *, QEvent * ); 122 bool eventFilter( QObject *, QEvent * );
118 void timerEvent( QTimerEvent * ); 123 void timerEvent( QTimerEvent * );
119 bool raiseAppropriateWindow(); 124 bool raiseAppropriateWindow();
120 virtual void tryQuit(); 125 virtual void tryQuit();
121#if QT_VERSION > 233 126#if QT_VERSION > 233
122 virtual void polish ( QWidget * ); // this is actually implemented in qt_override.cpp (!) 127 virtual void polish ( QWidget * ); // this is actually implemented in qt_override.cpp (!)
123#endif 128#endif
124private: 129private:
125#ifndef QT_NO_TRANSLATION 130#ifndef QT_NO_TRANSLATION
126 void installTranslation( const QString& baseName ); 131 void installTranslation( const QString& baseName );
127#endif 132#endif
128 void mapToDefaultAction( QWSKeyEvent *ke, int defKey ); 133 void mapToDefaultAction( QWSKeyEvent *ke, int defKey );
134 void processQCopFile();
129 135
130#if defined(Q_WS_QWS) && !defined(QT_NO_COP) 136#if defined(Q_WS_QWS) && !defined(QT_NO_COP)
131 QCopChannel *sysChannel; 137 QCopChannel *sysChannel;
132 QCopChannel *pidChannel; 138 QCopChannel *pidChannel;
133#endif 139#endif
134 QPEApplicationData *d; 140 QPEApplicationData *d;
135 141
136 bool reserved_sh; 142 bool reserved_sh;
137 143
138 144
139 145
140}; 146};