summaryrefslogtreecommitdiff
path: root/x11/libqpe-x11
Unidiff
Diffstat (limited to 'x11/libqpe-x11') (more/less context) (ignore whitespace changes)
-rw-r--r--x11/libqpe-x11/qpe/qpeapplication.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11/libqpe-x11/qpe/qpeapplication.h b/x11/libqpe-x11/qpe/qpeapplication.h
index 254fbfa..b1fc074 100644
--- a/x11/libqpe-x11/qpe/qpeapplication.h
+++ b/x11/libqpe-x11/qpe/qpeapplication.h
@@ -39,66 +39,67 @@ public:
39 AlwaysOff, 39 AlwaysOff,
40 AlwaysOn 40 AlwaysOn
41 }; 41 };
42 static void setInputMethodHint( QWidget*, InputMethodHint ); 42 static void setInputMethodHint( QWidget*, InputMethodHint );
43 static InputMethodHint inputMethodHint( QWidget* ); 43 static InputMethodHint inputMethodHint( QWidget* );
44 44
45 void showMainWidget( QWidget*, bool nomax = FALSE ); 45 void showMainWidget( QWidget*, bool nomax = FALSE );
46 void showMainDocumentWidget( QWidget*, bool nomax = FALSE ); 46 void showMainDocumentWidget( QWidget*, bool nomax = FALSE );
47 47
48 static void showDialog( QDialog*, bool nomax = FALSE ); 48 static void showDialog( QDialog*, bool nomax = FALSE );
49 static int execDialog( QDialog*, bool nomax = FALSE ); 49 static int execDialog( QDialog*, bool nomax = FALSE );
50 50
51 static void setKeepRunning(); 51 static void setKeepRunning();
52 bool keepRunning()const; 52 bool keepRunning()const;
53 53
54 bool keyboardGrabbed()const; 54 bool keyboardGrabbed()const;
55 int exec(); 55 int exec();
56 56
57// QWS bits 57// QWS bits
58 enum screenSaverHint { 58 enum screenSaverHint {
59 Disable = 0, 59 Disable = 0,
60 DisableLightOff = 1, 60 DisableLightOff = 1,
61 DisableSuspend = 2, 61 DisableSuspend = 2,
62 Enable = 100 62 Enable = 100
63 }; 63 };
64 /* reimplemented for internal purposes */ 64 /* reimplemented for internal purposes */
65 int x11ClientMessage( QWidget*, XEvent*, bool ); 65 int x11ClientMessage( QWidget*, XEvent*, bool );
66 66
67signals: 67signals:
68 void clientMoused(); 68 void clientMoused();
69 void timeChanged(); 69 void timeChanged();
70 void clockChanged( bool pm ); 70 void clockChanged( bool pm );
71 void micChanged( bool muted ); 71 void micChanged( bool muted );
72 void volumeChanged( bool muted ); 72 void volumeChanged( bool muted );
73 void appMessage( const QCString& msg, const QByteArray& data); 73 void appMessage( const QCString& msg, const QByteArray& data);
74 void weekChanged( bool startOnMonday ); 74 void weekChanged( bool startOnMonday );
75 void dateFormatChanged( DateFormat ); 75 void dateFormatChanged( DateFormat );
76 void flush(); 76 void flush();
77 void reload(); 77 void reload();
78 78
79private: 79private:
80 void initTranslations(); 80 void initTranslations();
81 void internalSetStyle(const QString&); 81 void internalSetStyle(const QString&);
82 82
83private slots: 83private slots:
84 void hideOrQuit(); 84 void hideOrQuit();
85 void systemMessage( const QCString&, const QByteArray& ); 85 void systemMessage( const QCString&, const QByteArray& );
86 void pidMessage( const QCString&, const QByteArray& ); 86 void pidMessage( const QCString&, const QByteArray& );
87 void removeSenderFromStylusDict(); 87 void removeSenderFromStylusDict();
88protected: 88protected:
89 virtual void restart(); 89 virtual void restart();
90 virtual void shutdown(); 90 virtual void shutdown();
91 void prepareForTermination(bool willrestart); 91 void prepareForTermination(bool willrestart);
92 bool eventFilter( QObject*, QEvent* ); 92 bool eventFilter( QObject*, QEvent* );
93 void timerEvent( QTimerEvent* ); 93 void timerEvent( QTimerEvent* );
94 void raiseAppropriateWindow(); 94 void raiseAppropriateWindow();
95 virtual void tryQuit(); 95 virtual void tryQuit();
96 96
97private: 97private:
98 class Private; 98 class Private;
99 Private* d; 99 Private* d;
100 QCopChannel *m_sys; 100 QCopChannel *m_sys;
101 QCopChannel *m_pid; 101 QCopChannel *m_pid;
102}; 102};
103enum Transformation { Rot0, Rot90, Rot180, Rot270 }; /* from qgfxtransformed_qws.cpp */
103 104
104#endif 105#endif