summaryrefslogtreecommitdiffstats
path: root/tdemid/tdemidframe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdemid/tdemidframe.cpp')
-rw-r--r--tdemid/tdemidframe.cpp82
1 files changed, 41 insertions, 41 deletions
diff --git a/tdemid/tdemidframe.cpp b/tdemid/tdemidframe.cpp
index 609be7dd..88069499 100644
--- a/tdemid/tdemidframe.cpp
+++ b/tdemid/tdemidframe.cpp
@@ -68,73 +68,73 @@ tdemidFrame::tdemidFrame(const char *name)
/*
kKeysAccel=new TDEAccel(this);
kKeysAccel->insertItem(i18n("Play/Pause"),"Play/Pause", Key_Space);
- kKeysAccel->connectItem("Play/Pause", this, TQT_SLOT(spacePressed()));
+ kKeysAccel->connectItem("Play/Pause", this, TQ_SLOT(spacePressed()));
kKeysAccel->insertItem(i18n("Stop"),"Stop", Key_Backspace);
- kKeysAccel->connectItem("Stop",tdemidclient,TQT_SLOT(song_Stop()));
+ kKeysAccel->connectItem("Stop",tdemidclient,TQ_SLOT(song_Stop()));
kKeysAccel->insertItem(i18n("Previous Song"),"Previous Song", Key_Left);
- kKeysAccel->connectItem("Previous Song",tdemidclient,TQT_SLOT(song_PlayPrevSong()));
+ kKeysAccel->connectItem("Previous Song",tdemidclient,TQ_SLOT(song_PlayPrevSong()));
kKeysAccel->insertItem(i18n("Next Song"),"Next Song", Key_Right);
- kKeysAccel->connectItem("Next Song",tdemidclient,TQT_SLOT(song_PlayNextSong()));
+ kKeysAccel->connectItem("Next Song",tdemidclient,TQ_SLOT(song_PlayNextSong()));
kKeysAccel->insertItem(i18n("Scroll Down Karaoke"),"Scroll down karaoke",Key_Down);
- kKeysAccel->connectItem("Scroll Down karaoke",tdemidclient->getKDisplayText(),TQT_SLOT(ScrollDown()));
+ kKeysAccel->connectItem("Scroll Down karaoke",tdemidclient->getKDisplayText(),TQ_SLOT(ScrollDown()));
kKeysAccel->insertItem(i18n("Scroll Up Karaoke"),"Scroll up karaoke",Key_Up);
- kKeysAccel->connectItem("Scroll Up Karaoke",tdemidclient->getKDisplayText(),TQT_SLOT(ScrollUp()));
+ kKeysAccel->connectItem("Scroll Up Karaoke",tdemidclient->getKDisplayText(),TQ_SLOT(ScrollUp()));
kKeysAccel->insertItem(i18n("Scroll Page Down Karaoke"),"Scroll page down karaoke",Key_PageDown);
- kKeysAccel->connectItem("Scroll Page Down Karaoke",tdemidclient->getKDisplayText(),TQT_SLOT(ScrollPageDown()));
+ kKeysAccel->connectItem("Scroll Page Down Karaoke",tdemidclient->getKDisplayText(),TQ_SLOT(ScrollPageDown()));
kKeysAccel->insertItem(i18n("Scroll Page Up Karaoke"),"Scroll page up karaoke",Key_PageUp);
- kKeysAccel->connectItem("Scroll Page Up Karaoke",tdemidclient->getKDisplayText(),TQT_SLOT(ScrollPageUp()));
+ kKeysAccel->connectItem("Scroll Page Up Karaoke",tdemidclient->getKDisplayText(),TQ_SLOT(ScrollPageUp()));
kKeysAccel->readSettings();
*/
- KStdAction::open(this, TQT_SLOT(file_Open()), actionCollection());
+ KStdAction::open(this, TQ_SLOT(file_Open()), actionCollection());
(void)new TDEAction(i18n("&Save Lyrics..."), 0, this,
- TQT_SLOT(file_SaveLyrics()), actionCollection(), "file_save_lyrics");
- KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection());
+ TQ_SLOT(file_SaveLyrics()), actionCollection(), "file_save_lyrics");
+ KStdAction::quit(kapp, TQ_SLOT(quit()), actionCollection());
(void)new TDEAction(i18n("&Play"), "media-playback-start", TQt::Key_Space,
- tdemidclient, TQT_SLOT(slotPlay()), actionCollection(), "song_play");
+ tdemidclient, TQ_SLOT(slotPlay()), actionCollection(), "song_play");
(void)new TDEAction(i18n("P&ause"), "media-playback-pause", TQt::Key_P, tdemidclient,
- TQT_SLOT(slotPause()), actionCollection(), "song_pause");
+ TQ_SLOT(slotPause()), actionCollection(), "song_pause");
(void)new TDEAction(i18n("&Stop"), "media-playback-stop", TQt::Key_Backspace,
- tdemidclient, TQT_SLOT(slotStop()), actionCollection(), "song_stop");
+ tdemidclient, TQ_SLOT(slotStop()), actionCollection(), "song_stop");
(void)new TDEAction(i18n("P&revious Song"), "media-skip-backward", Key_Left,
- tdemidclient, TQT_SLOT(slotPrevSong()), actionCollection(),
+ tdemidclient, TQ_SLOT(slotPrevSong()), actionCollection(),
"song_previous");
(void)new TDEAction(i18n("&Next Song"), "media-skip-forward", Key_Right,
- tdemidclient, TQT_SLOT(slotNextSong()), actionCollection(),
+ tdemidclient, TQ_SLOT(slotNextSong()), actionCollection(),
"song_next");
- (void)new TDEToggleAction(i18n("&Loop"), 0, this, TQT_SLOT(song_Loop()),
+ (void)new TDEToggleAction(i18n("&Loop"), 0, this, TQ_SLOT(song_Loop()),
actionCollection(), "song_loop");
(void)new TDEAction(i18n("Rewind"), "2leftarrow", 0, tdemidclient,
- TQT_SLOT(slotRewind()), actionCollection(), "song_rewind");
+ TQ_SLOT(slotRewind()), actionCollection(), "song_rewind");
(void)new TDEAction(i18n("Forward"), "2rightarrow", 0, tdemidclient,
- TQT_SLOT(slotForward()), actionCollection(), "song_forward");
+ TQ_SLOT(slotForward()), actionCollection(), "song_forward");
- (void)new TDEAction(i18n("&Organize..."), 0, this, TQT_SLOT(collect_organize()),
+ (void)new TDEAction(i18n("&Organize..."), 0, this, TQ_SLOT(collect_organize()),
actionCollection(), "collect_organize");
TQStringList playmodes;
playmodes.append(i18n("In Order"));
playmodes.append(i18n("Shuffle"));
- TDESelectAction *act=new TDESelectAction(i18n("Play Order"), 0, /*this, TQT_SLOT(collect_PlayOrder(int)),*/
+ TDESelectAction *act=new TDESelectAction(i18n("Play Order"), 0, /*this, TQ_SLOT(collect_PlayOrder(int)),*/
actionCollection(), "play_order");
- connect(act,TQT_SIGNAL(activated(int)),this, TQT_SLOT(collect_PlayOrder(int)));
+ connect(act,TQ_SIGNAL(activated(int)),this, TQ_SLOT(collect_PlayOrder(int)));
act->setItems(playmodes);
(void)new TDEToggleAction(i18n("Auto-Add to Collection"), 0, this,
- TQT_SLOT(collect_AutoAdd()), actionCollection(), "collect_autoadd");
+ TQ_SLOT(collect_AutoAdd()), actionCollection(), "collect_autoadd");
playmodes.clear();
playmodes.append(i18n("&General MIDI"));
playmodes.append(i18n("&MT-32"));
- act=new TDESelectAction(i18n("File Type"), 0,/* this, TQT_SLOT(options_FileType(int)),*/
+ act=new TDESelectAction(i18n("File Type"), 0,/* this, TQ_SLOT(options_FileType(int)),*/
actionCollection(), "file_type");
- connect(act,TQT_SIGNAL(activated(int)),this, TQT_SLOT(options_FileType(int)));
+ connect(act,TQ_SIGNAL(activated(int)),this, TQ_SLOT(options_FileType(int)));
act->setItems(playmodes);
playmodes.clear();
@@ -142,35 +142,35 @@ tdemidFrame::tdemidFrame(const char *name)
playmodes.append(i18n("&Lyric Events"));
act=new TDESelectAction(i18n("Display Events"), Key_T, /*this,
- TQT_SLOT(options_DisplayEvents(int)),*/ actionCollection(),
+ TQ_SLOT(options_DisplayEvents(int)),*/ actionCollection(),
"display_events");
- connect(act,TQT_SIGNAL(activated(int)),this, TQT_SLOT(options_DisplayEvents(int)));
+ connect(act,TQ_SIGNAL(activated(int)),this, TQ_SLOT(options_DisplayEvents(int)));
act->setItems(playmodes);
(void)new TDEToggleAction(i18n("Automatic Text Chooser"), 0, this,
- TQT_SLOT(options_AutomaticText()), actionCollection(),
+ TQ_SLOT(options_AutomaticText()), actionCollection(),
"option_automatictext");
TDEToggleAction* togact = new TDEToggleAction(i18n("Show &Volume Bar"), "volume",
- 0, this, TQT_SLOT(options_ShowVolumeBar()), actionCollection(),
+ 0, this, TQ_SLOT(options_ShowVolumeBar()), actionCollection(),
"toggle_volumebar");
togact->setCheckedState(i18n("Hide &Volume Bar"));
togact = new TDEToggleAction(i18n("Show &Channel View"), "piano",
- 0, this, TQT_SLOT(options_ShowChannelView()), actionCollection(),
+ 0, this, TQ_SLOT(options_ShowChannelView()), actionCollection(),
"toggle_channelview");
togact->setCheckedState(i18n("Hide &Channel View"));
(void)new TDEAction(i18n("Channel View &Options..."), 0, this,
- TQT_SLOT(options_ChannelViewOptions()), actionCollection(),
+ TQ_SLOT(options_ChannelViewOptions()), actionCollection(),
"channelview_options");
(void)new TDEAction(i18n("&Font Change..."), 0, this,
- TQT_SLOT(options_FontChange()), actionCollection(),
+ TQ_SLOT(options_FontChange()), actionCollection(),
"change_font");
(void)new TDEAction(i18n("MIDI &Setup..."), 0, this,
- TQT_SLOT(options_MidiSetup()), actionCollection(), "midi_setup");
+ TQ_SLOT(options_MidiSetup()), actionCollection(), "midi_setup");
setupGUI((ToolBar | Keys | StatusBar | Save | Create ), "tdemidui.rc" );
@@ -212,14 +212,14 @@ tdemidFrame::tdemidFrame(const char *name)
setAcceptDrops(true);
- connect( tdemidclient, TQT_SIGNAL( mustRechooseTextEvent() ),
- this, TQT_SLOT( rechooseTextEvent() ) );
+ connect( tdemidclient, TQ_SIGNAL( mustRechooseTextEvent() ),
+ this, TQ_SLOT( rechooseTextEvent() ) );
- connect( tdemidclient, TQT_SIGNAL( stopPause() ),
- this, TQT_SLOT( song_stopPause() ) );
+ connect( tdemidclient, TQ_SIGNAL( stopPause() ),
+ this, TQ_SLOT( song_stopPause() ) );
-// connect( tdemidclient, TQT_SIGNAL( channelView_Destroyed() ),
-// this, TQT_SLOT( channelViewDestroyed() ) );
+// connect( tdemidclient, TQ_SIGNAL( channelView_Destroyed() ),
+// this, TQ_SLOT( channelViewDestroyed() ) );
TDECmdLineArgs * args = TDECmdLineArgs::parsedArgs();
@@ -258,7 +258,7 @@ tdemidFrame::tdemidFrame(const char *name)
/*
kKeys->addKey("Play/Pause",Key_Space);
kKeys->registerWidget("KMidFrame",this);
- kKeys->connectFunction("KMidFrame","Play/Pause",this,TQT_SLOT(spacePressed()));
+ kKeys->connectFunction("KMidFrame","Play/Pause",this,TQ_SLOT(spacePressed()));
*/
// kKeysAccel->writeSettings(cfg);
@@ -599,7 +599,7 @@ void tdemidFrame::options_ShowChannelView()
} else
{
tdemidclient->visibleChannelView(1);
- connect (tdemidclient->getChannelView(),TQT_SIGNAL(destroyMe()),this,TQT_SLOT(channelViewDestroyed()));
+ connect (tdemidclient->getChannelView(),TQ_SIGNAL(destroyMe()),this,TQ_SLOT(channelViewDestroyed()));
}
}