diff options
Diffstat (limited to 'kicker-applets/mediacontrol/mediacontrol.cpp')
-rw-r--r-- | kicker-applets/mediacontrol/mediacontrol.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kicker-applets/mediacontrol/mediacontrol.cpp b/kicker-applets/mediacontrol/mediacontrol.cpp index 31d1076..a55ed06 100644 --- a/kicker-applets/mediacontrol/mediacontrol.cpp +++ b/kicker-applets/mediacontrol/mediacontrol.cpp @@ -147,15 +147,15 @@ MediaControl::MediaControl(const TQString &configFile, Type t, int actions, // request notification of changes in icon style kapp->addKipcEventMask(KIPC::IconChanged); - connect(kapp, TQT_SIGNAL(iconChanged(int)), this, TQT_SLOT(slotIconChanged())); + connect(kapp, TQ_SIGNAL(iconChanged(int)), this, TQ_SLOT(slotIconChanged())); reparseConfig(); rmbMenu = new TDEPopupMenu(this, "RMBMenu"); rmbMenu->insertTitle(i18n("MediaControl"), 0, 0); rmbMenu->insertItem(SmallIcon("configure"), i18n("Configure MediaControl..."), - this, TQT_SLOT(preferences())); - rmbMenu->insertItem(i18n("About MediaControl"), this, TQT_SLOT(about())); + this, TQ_SLOT(preferences())); + rmbMenu->insertItem(i18n("About MediaControl"), this, TQ_SLOT(about())); } MediaControl::~MediaControl() @@ -275,12 +275,12 @@ void MediaControl::preferences() else { _prefsDialog = new MediaControlConfig ( _configFrontend ); - connect ( _prefsDialog, TQT_SIGNAL(closing()), - this, TQT_SLOT(slotClosePrefsDialog()) ); - connect ( _prefsDialog, TQT_SIGNAL(destroyed()), - this, TQT_SLOT(slotPrefsDialogClosing()) ); - connect ( _prefsDialog, TQT_SIGNAL(configChanged()), - this, TQT_SLOT(slotConfigChanged()) ); + connect ( _prefsDialog, TQ_SIGNAL(closing()), + this, TQ_SLOT(slotClosePrefsDialog()) ); + connect ( _prefsDialog, TQ_SIGNAL(destroyed()), + this, TQ_SLOT(slotPrefsDialogClosing()) ); + connect ( _prefsDialog, TQ_SIGNAL(configChanged()), + this, TQ_SLOT(slotConfigChanged()) ); } } @@ -396,12 +396,12 @@ void MediaControl::reparseConfig() } // this signal gets emitted by a playerInterface when the player's playtime changed - connect(_player, TQT_SIGNAL(newSliderPosition(int,int)), - this, TQT_SLOT(setSliderPosition(int,int))); + connect(_player, TQ_SIGNAL(newSliderPosition(int,int)), + this, TQ_SLOT(setSliderPosition(int,int))); - connect(_player, TQT_SIGNAL(playerStarted()), TQT_SLOT(enableAll())); - connect(_player, TQT_SIGNAL(playerStopped()), TQT_SLOT(disableAll())); - connect(_player, TQT_SIGNAL(playingStatusChanged(int)), TQT_SLOT(slotPlayingStatusChanged(int))); + connect(_player, TQ_SIGNAL(playerStarted()), TQ_SLOT(enableAll())); + connect(_player, TQ_SIGNAL(playerStopped()), TQ_SLOT(disableAll())); + connect(_player, TQ_SIGNAL(playingStatusChanged(int)), TQ_SLOT(slotPlayingStatusChanged(int))); // do we use our icons or the default ones from KDE? if(_configFrontend->useCustomTheme()) @@ -441,17 +441,17 @@ void MediaControl::reparseConfig() slider_tooltip = new MediaControlToolTip(time_slider, _player); - connect(prev_button, TQT_SIGNAL(clicked()), _player, TQT_SLOT(prev())); - connect(playpause_button, TQT_SIGNAL(clicked()), _player, TQT_SLOT(playpause())); - connect(stop_button, TQT_SIGNAL(clicked()), _player, TQT_SLOT(stop())); - connect(next_button, TQT_SIGNAL(clicked()), _player, TQT_SLOT(next())); - - connect(time_slider, TQT_SIGNAL(sliderPressed()), _player, TQT_SLOT(sliderStartDrag())); - connect(time_slider, TQT_SIGNAL(sliderReleased()), _player, TQT_SLOT(sliderStopDrag())); - connect(time_slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(adjustTime(int))); - connect(time_slider, TQT_SIGNAL(volumeUp()), _player, TQT_SLOT(volumeUp())); - connect(time_slider, TQT_SIGNAL(volumeDown()), _player, TQT_SLOT(volumeDown())); - connect(this, TQT_SIGNAL(newJumpToTime(int)), _player, TQT_SLOT(jumpToTime(int))); + connect(prev_button, TQ_SIGNAL(clicked()), _player, TQ_SLOT(prev())); + connect(playpause_button, TQ_SIGNAL(clicked()), _player, TQ_SLOT(playpause())); + connect(stop_button, TQ_SIGNAL(clicked()), _player, TQ_SLOT(stop())); + connect(next_button, TQ_SIGNAL(clicked()), _player, TQ_SLOT(next())); + + connect(time_slider, TQ_SIGNAL(sliderPressed()), _player, TQ_SLOT(sliderStartDrag())); + connect(time_slider, TQ_SIGNAL(sliderReleased()), _player, TQ_SLOT(sliderStopDrag())); + connect(time_slider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(adjustTime(int))); + connect(time_slider, TQ_SIGNAL(volumeUp()), _player, TQ_SLOT(volumeUp())); + connect(time_slider, TQ_SIGNAL(volumeDown()), _player, TQ_SLOT(volumeDown())); + connect(this, TQ_SIGNAL(newJumpToTime(int)), _player, TQ_SLOT(jumpToTime(int))); } // Widget Placement =================================================================== |