author | zecke <zecke> | 2002-10-16 13:04:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-16 13:04:20 (UTC) |
commit | ee8da0d0b70318c24ee2417bbccd9b7cd6e1404e (patch) (side-by-side diff) | |
tree | 7d566843eb9fe423fbc8a8734abaa0ebcb127d16 /x11/libqpe-x11/qpe/qpeapplication.h | |
parent | fdc4abb0d38e6d5dce98961e47b552ff56c89976 (diff) | |
download | opie-ee8da0d0b70318c24ee2417bbccd9b7cd6e1404e.zip opie-ee8da0d0b70318c24ee2417bbccd9b7cd6e1404e.tar.gz opie-ee8da0d0b70318c24ee2417bbccd9b7cd6e1404e.tar.bz2 |
More implementation for X11
Hey this QPEApplication looks much better....
There still needs to be some stuff to be implemented
InputMethods, eventFilter, hideOrQuit, Styles
but they should be copy and paste
I'll implement these and then take care of IPC...
Diffstat (limited to 'x11/libqpe-x11/qpe/qpeapplication.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | x11/libqpe-x11/qpe/qpeapplication.h | 12 |
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 @@ -1,23 +1,24 @@ #ifndef OPIE_QPE_APPLICATION_H #define OPIE_QPE_APPLICATION_H /** * LGPLed */ #include <qapplication.h> #include <qpe/timestring.h> +class QCopChannel; class QPEApplication : public QApplication { Q_OBJECT public: QPEApplication(int& argc, char** argv, Type=GuiClient ); ~QPEApplication(); static QString qpeDir(); static QString documentDir(); void applyStyle(); static int defaultRotation(); static void setDefaultRotation( int r ); @@ -26,35 +27,44 @@ public: enum StylusMode { LeftOnly, RightOnHold }; static void setStylusOperation( QWidget*, StylusMode ); 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(); signals: void clientMoused(); void timeChanged(); void clockChanged( bool pm ); void micChanged( bool muted ); void volumeChanged( bool muted ); 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 |