summaryrefslogtreecommitdiffstats
path: root/src/kmplayer.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2012-07-11 03:36:42 +0200
committerSlávek Banko <[email protected]>2012-07-11 03:57:21 +0200
commitf5dd8fe760c32ee6526ad8c299a773d188d3ec87 (patch)
treec069d446b6e449324569d8170a9ce9dcbc56df85 /src/kmplayer.h
parentd7288a48b318bf518b3c2ac384066930994c32a3 (diff)
downloadkmplayer-f5dd8fe760c32ee6526ad8c299a773d188d3ec87.tar.gz
kmplayer-f5dd8fe760c32ee6526ad8c299a773d188d3ec87.zip
Changed screen saver control to use fake events
This closes Bug 1031 (cherry picked from commit 8fe6f08227059c8cddc686888fb3e402b83c9eff)
Diffstat (limited to 'src/kmplayer.h')
-rw-r--r--src/kmplayer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kmplayer.h b/src/kmplayer.h
index d513515..342fabc 100644
--- a/src/kmplayer.h
+++ b/src/kmplayer.h
@@ -137,6 +137,7 @@ private slots:
void menuMoveUpNode ();
void menuMoveDownNode ();
void preparePlaylistMenu (KMPlayer::PlayListItem *, TQPopupMenu *);
+ void slotFakeKeyEvent();
private:
void menuItemClicked (TQPopupMenu * menu, int id);
@@ -192,6 +193,11 @@ private:
bool m_played_exit;
bool m_minimal_mode;
bool m_auto_resize;
+
+ TQTimer m_screensaverTimer;
+ bool m_haveKWin;
+ bool haveXTest;
+ int fakeKeycode;
};
class KMPLAYER_NO_EXPORT FileDocument : public KMPlayer::Document {