summaryrefslogtreecommitdiff
path: root/x11/libqpe-x11/qpe/qpeapplication.h
Side-by-side diff
Diffstat (limited to 'x11/libqpe-x11/qpe/qpeapplication.h') (more/less context) (ignore whitespace changes)
-rw-r--r--x11/libqpe-x11/qpe/qpeapplication.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/x11/libqpe-x11/qpe/qpeapplication.h b/x11/libqpe-x11/qpe/qpeapplication.h
index 3713251..cd385db 100644
--- a/x11/libqpe-x11/qpe/qpeapplication.h
+++ b/x11/libqpe-x11/qpe/qpeapplication.h
@@ -6,12 +6,13 @@
*/
#include <qapplication.h>
#include <qpe/timestring.h>
+class QCopChannel;
class QPEApplication : public QApplication {
Q_OBJECT
public:
QPEApplication(int& argc, char** argv, Type=GuiClient );
~QPEApplication();
@@ -32,13 +33,13 @@ public:
static StylusMode stylusOperation( QWidget* );
void showMainWidget( QWidget*, bool nomax = FALSE );
void showMainDocumentWidget( QWidget*, bool nomax = FALSE );
static void showDialog( QDialog*, bool nomax = FALSE );
- static void execDialog( QDialog*, bool nomax = FALSE );
+ static int execDialog( QDialog*, bool nomax = FALSE );
static void setKeepRunning();
bool keepRunning()const;
bool keyboardGrabbed()const;
int exec();
@@ -52,9 +53,18 @@ signals:
void appMessage( const QCString& msg, const QByteArray& data);
void weekChanged( bool startOnMonday );
void dateFormatChanged( DateFormat );
void flush();
void reload();
+private:
+ void initTranslations();
+ void internalSetStyle(const QString&);
+
+private:
+ class Private;
+ Private* d;
+ QCopChannel *m_sys;
+ QCopChannel *m_pid;
};
#endif