summaryrefslogtreecommitdiffstats
path: root/noatun/modules/keyz/keyz.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/keyz/keyz.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/modules/keyz/keyz.cpp')
-rw-r--r--noatun/modules/keyz/keyz.cpp78
1 files changed, 39 insertions, 39 deletions
diff --git a/noatun/modules/keyz/keyz.cpp b/noatun/modules/keyz/keyz.cpp
index 7b32cf98..f35fddc7 100644
--- a/noatun/modules/keyz/keyz.cpp
+++ b/noatun/modules/keyz/keyz.cpp
@@ -3,12 +3,12 @@
#include <noatun/app.h>
#include <noatun/playlist.h>
-#include <qlayout.h>
+#include <tqlayout.h>
#include <kglobalaccel.h>
#include <kkeydialog.h>
#include <klocale.h>
-#include <qclipboard.h>
+#include <tqclipboard.h>
#include "keyz.h"
@@ -22,7 +22,7 @@ extern "C"
KGlobalAccel * Keyz::s_accel = 0L;
-Keyz::Keyz() : QObject( 0L, "Keyz" ), Plugin(), preMuteVol(0)
+Keyz::Keyz() : TQObject( 0L, "Keyz" ), Plugin(), preMuteVol(0)
{
NOATUNPLUGINC(Keyz);
Player *player = napp->player();
@@ -30,58 +30,58 @@ Keyz::Keyz() : QObject( 0L, "Keyz" ), Plugin(), preMuteVol(0)
if ( !s_accel )
{
s_accel = new KGlobalAccel( this, "noatunglobalaccel" );
- s_accel->insert( "PlayPause", i18n("Play/Pause"), QString::null,
+ s_accel->insert( "PlayPause", i18n("Play/Pause"), TQString::null,
CTRL+ALT+Key_P, KKey::QtWIN+CTRL+Key_P,
- player, SLOT( playpause() ));
- s_accel->insert( "Stop", i18n("Stop Playing"), QString::null,
+ player, TQT_SLOT( playpause() ));
+ s_accel->insert( "Stop", i18n("Stop Playing"), TQString::null,
CTRL+ALT+Key_S, KKey::QtWIN+CTRL+Key_S,
- player, SLOT( stop() ));
- s_accel->insert( "Back", i18n("Back"), QString::null,
+ player, TQT_SLOT( stop() ));
+ s_accel->insert( "Back", i18n("Back"), TQString::null,
CTRL+ALT+Key_Left, KKey::QtWIN+CTRL+Key_Left,
- player, SLOT( back() ));
- s_accel->insert( "Forward", i18n("Forward"), QString::null,
+ player, TQT_SLOT( back() ));
+ s_accel->insert( "Forward", i18n("Forward"), TQString::null,
CTRL+ALT+Key_Right, KKey::QtWIN+CTRL+Key_Right,
- player, SLOT( forward() ));
- s_accel->insert( "Playlist", i18n("Show/Hide Playlist"), QString::null,
+ player, TQT_SLOT( forward() ));
+ s_accel->insert( "Playlist", i18n("Show/Hide Playlist"), TQString::null,
CTRL+ALT+Key_L, KKey::QtWIN+CTRL+Key_L,
- player, SLOT( toggleListView() ));
- s_accel->insert( "OpenFile", i18n("Open File to Play"), QString::null,
+ player, TQT_SLOT( toggleListView() ));
+ s_accel->insert( "OpenFile", i18n("Open File to Play"), TQString::null,
CTRL+ALT+Key_O, KKey::QtWIN+CTRL+Key_O,
- napp, SLOT( fileOpen() ));
- s_accel->insert( "Effects", i18n("Effects Configuration"), QString::null,
+ napp, TQT_SLOT( fileOpen() ));
+ s_accel->insert( "Effects", i18n("Effects Configuration"), TQString::null,
CTRL+ALT+Key_E, KKey::QtWIN+CTRL+Key_E,
- napp, SLOT( effectView() ));
- s_accel->insert( "Preferences", i18n("Preferences"), QString::null,
+ napp, TQT_SLOT( effectView() ));
+ s_accel->insert( "Preferences", i18n("Preferences"), TQString::null,
CTRL+ALT+Key_F, KKey::QtWIN+CTRL+Key_F,
- napp, SLOT( preferences() ));
- s_accel->insert( "VolumeUp", i18n("Volume Up"), QString::null,
+ napp, TQT_SLOT( preferences() ));
+ s_accel->insert( "VolumeUp", i18n("Volume Up"), TQString::null,
CTRL+ALT+SHIFT+Key_Up, KKey::QtWIN+CTRL+SHIFT+Key_Up,
- this, SLOT( slotVolumeUp() ));
- s_accel->insert( "VolumeDown", i18n("Volume Down"), QString::null,
+ this, TQT_SLOT( slotVolumeUp() ));
+ s_accel->insert( "VolumeDown", i18n("Volume Down"), TQString::null,
CTRL+ALT+SHIFT+Key_Down, KKey::QtWIN+CTRL+SHIFT+Key_Down,
- this, SLOT( slotVolumeDown() ));
- s_accel->insert( "Mute", i18n("Mute"), QString::null,
+ this, TQT_SLOT( slotVolumeDown() ));
+ s_accel->insert( "Mute", i18n("Mute"), TQString::null,
CTRL+ALT+Key_M, KKey::QtWIN+CTRL+Key_M,
- this, SLOT( slotMute() ));
- s_accel->insert( "SeekForward", i18n("Seek Forward"), QString::null,
+ this, TQT_SLOT( slotMute() ));
+ s_accel->insert( "SeekForward", i18n("Seek Forward"), TQString::null,
CTRL+ALT+SHIFT+Key_Right, KKey::QtWIN+CTRL+SHIFT+Key_Right,
- this, SLOT( slotForward() ));
- s_accel->insert( "SeekBackward", i18n("Seek Backward"), QString::null,
+ this, TQT_SLOT( slotForward() ));
+ s_accel->insert( "SeekBackward", i18n("Seek Backward"), TQString::null,
CTRL+ALT+SHIFT+Key_Left, KKey::QtWIN+CTRL+SHIFT+Key_Left,
- this, SLOT( slotBackward() ));
- s_accel->insert( "NextSection", i18n("Next Section"), QString::null,
+ this, TQT_SLOT( slotBackward() ));
+ s_accel->insert( "NextSection", i18n("Next Section"), TQString::null,
0, 0,
- this, SLOT( slotNextSection() ));
- s_accel->insert( "PrevSection", i18n("Previous Section"), QString::null,
+ this, TQT_SLOT( slotNextSection() ));
+ s_accel->insert( "PrevSection", i18n("Previous Section"), TQString::null,
0, 0,
- this, SLOT( slotPrevSection() ));
- s_accel->insert( "CopyTitle", i18n("Copy Song Title to Clipboard"), QString::null,
+ this, TQT_SLOT( slotPrevSection() ));
+ s_accel->insert( "CopyTitle", i18n("Copy Song Title to Clipboard"), TQString::null,
CTRL+ALT+Key_C, KKey::QtWIN+CTRL+Key_C,
- this, SLOT( slotCopyTitle() ));
+ this, TQT_SLOT( slotCopyTitle() ));
- s_accel->insert( "ToggleGUI", i18n("Show/Hide Main Window"), QString::null,
+ s_accel->insert( "ToggleGUI", i18n("Show/Hide Main Window"), TQString::null,
CTRL+ALT+Key_W, KKey::QtWIN+CTRL+Key_W,
- napp, SLOT( toggleInterfaces() ));
+ napp, TQT_SLOT( toggleInterfaces() ));
s_accel->readSettings();
s_accel->updateConnections();
@@ -170,11 +170,11 @@ void Keyz::slotMute()
///////////////////////////////////////////////////////////////////
-KeyzPrefs::KeyzPrefs( QObject *parent ) :
+KeyzPrefs::KeyzPrefs( TQObject *parent ) :
CModule( i18n("Keyz"), i18n("Shortcut Configuration"), "key_bindings",
parent )
{
- QVBoxLayout *layout = new QVBoxLayout( this );
+ TQVBoxLayout *layout = new TQVBoxLayout( this );
m_chooser = new KKeyChooser( Keyz::accel(), this );
layout->addWidget( m_chooser );
}