diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-20 21:19:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 09:06:26 +0900 |
commit | c19fc9375edce7ea957af8e336b06a481c4a993f (patch) | |
tree | 72df4cccd3ffe10c9e20cffb0fd76cf914cf157d /noatun-plugins/lyrics/lyrics.cpp | |
parent | 76b9a4adfceeb8a009e392415541935618c83336 (diff) | |
download | tdeaddons-c19fc9375edce7ea957af8e336b06a481c4a993f.tar.gz tdeaddons-c19fc9375edce7ea957af8e336b06a481c4a993f.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3f05f93dac700cf12dade9ae450eff6158650d23)
Diffstat (limited to 'noatun-plugins/lyrics/lyrics.cpp')
-rw-r--r-- | noatun-plugins/lyrics/lyrics.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/noatun-plugins/lyrics/lyrics.cpp b/noatun-plugins/lyrics/lyrics.cpp index ad65194..4a552eb 100644 --- a/noatun-plugins/lyrics/lyrics.cpp +++ b/noatun-plugins/lyrics/lyrics.cpp @@ -27,28 +27,28 @@ Lyrics::Lyrics() : TDEMainWindow(), Plugin(), active(false) { lyrics = this; /* Create default actions */ - (void)KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection()); - ( void )KStdAction::goTo( TQT_TQOBJECT(this), TQT_SLOT( goTo() ), actionCollection(), "go_web_goTo" ); - //(void)KStdAction::print(TQT_TQOBJECT(this), TQT_SLOT(print()), actionCollection()); - //(void)KStdAction::printPreview(TQT_TQOBJECT(this), TQT_SLOT(printPreview()), actionCollection()); - //(void)KStdAction::mail(TQT_TQOBJECT(this), TQT_SLOT(mail()), actionCollection()); - //(void)KStdAction::find(TQT_TQOBJECT(this), TQT_SLOT(find()), actionCollection()); + (void)KStdAction::close(this, TQT_SLOT(close()), actionCollection()); + ( void )KStdAction::goTo( this, TQT_SLOT( goTo() ), actionCollection(), "go_web_goTo" ); + //(void)KStdAction::print(this, TQT_SLOT(print()), actionCollection()); + //(void)KStdAction::printPreview(this, TQT_SLOT(printPreview()), actionCollection()); + //(void)KStdAction::mail(this, TQT_SLOT(mail()), actionCollection()); + //(void)KStdAction::find(this, TQT_SLOT(find()), actionCollection()); follow_act = new TDEToggleAction(i18n("&Follow Noatun Playlist"), "goto", 0, actionCollection(), "follow"); - KStdAction::redisplay(TQT_TQOBJECT(this), TQT_SLOT(viewLyrics()), actionCollection()); + KStdAction::redisplay(this, TQT_SLOT(viewLyrics()), actionCollection()); attach_act = new TDEToggleAction(i18n("&Link URL to File"), "attach", TDEShortcut("CTRL+ALT+A"), actionCollection(), "attach_url"); connect(attach_act, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(attach(bool))); - back_act = KStdAction::back(TQT_TQOBJECT(this), TQT_SLOT(back()), actionCollection()); + back_act = KStdAction::back(this, TQT_SLOT(back()), actionCollection()); back_act->setEnabled(false); - forward_act = KStdAction::forward(TQT_TQOBJECT(this), TQT_SLOT(forward()), actionCollection()); + forward_act = KStdAction::forward(this, TQT_SLOT(forward()), actionCollection()); forward_act->setEnabled(false); new KWidgetAction( new TQLabel(i18n("Search provider:"), this, "tde toolbar widget"), i18n("Search Provider"), 0, 0, 0, actionCollection(), "search_label"); - site_act = new TDESelectAction(i18n("&Search Provider"), 0, TQT_TQOBJECT(this), TQT_SLOT(viewLyrics()), actionCollection(), "search_provider"); + site_act = new TDESelectAction(i18n("&Search Provider"), 0, this, TQT_SLOT(viewLyrics()), actionCollection(), "search_provider"); /* Add entry to menu */ - menuID = napp->pluginMenuAdd(i18n("&View Lyrics"), TQT_TQOBJECT(this), TQT_SLOT(viewLyrics())); + menuID = napp->pluginMenuAdd(i18n("&View Lyrics"), this, TQT_SLOT(viewLyrics())); /* Create history manager and htmlpart */ - history = new HistoryManager(TQT_TQOBJECT(this)); + history = new HistoryManager(this); htmlpart = new TDEHTMLPart(this); //htmlpart->view()->setMinimumSize(350, 420); @@ -73,7 +73,7 @@ Lyrics::Lyrics() : TDEMainWindow(), Plugin(), active(false) config->setGroup("Lyrics"); follow_act->setChecked(config->readBoolEntry("follow", true)); /* Create config object */ - new LyricsCModule(TQT_TQOBJECT(this)); + new LyricsCModule(this); } |