summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/lyrics/lyrics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/lyrics/lyrics.cpp')
-rw-r--r--noatun-plugins/lyrics/lyrics.cpp26
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);
}