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:47:55 +0200
commit8fe6f08227059c8cddc686888fb3e402b83c9eff (patch)
tree8966907d5b5cc3ecdd6bb86bc845e605f07926b8 /src/kmplayer.h
parentefeb4d69d6d954caeb700e0a33ca0a8ae7d4e166 (diff)
downloadkmplayer-8fe6f08227059c8cddc686888fb3e402b83c9eff.tar.gz
kmplayer-8fe6f08227059c8cddc686888fb3e402b83c9eff.zip
Changed screen saver control to use fake events
This closes Bug 1031
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 ba2bf87..9c9b6d2 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 {