summaryrefslogtreecommitdiffstats
path: root/konq-plugins/searchbar
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 21:19:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 21:24:56 +0900
commit3f05f93dac700cf12dade9ae450eff6158650d23 (patch)
tree0c153c6919c98967aeab38ab376b18635a01e1b3 /konq-plugins/searchbar
parent462e806771b84412c051d43bad117c3dde7ce5e5 (diff)
downloadtdeaddons-3f05f93dac700cf12dade9ae450eff6158650d23.tar.gz
tdeaddons-3f05f93dac700cf12dade9ae450eff6158650d23.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konq-plugins/searchbar')
-rw-r--r--konq-plugins/searchbar/searchbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/konq-plugins/searchbar/searchbar.cpp b/konq-plugins/searchbar/searchbar.cpp
index 397215f..65eba0b 100644
--- a/konq-plugins/searchbar/searchbar.cpp
+++ b/konq-plugins/searchbar/searchbar.cpp
@@ -94,7 +94,7 @@ SearchBarPlugin::SearchBarPlugin(TQObject *parent, const char *name,
configurationChanged();
- KParts::MainWindow *mainWin = static_cast<KParts::MainWindow*>(TQT_TQWIDGET(parent));
+ KParts::MainWindow *mainWin = static_cast<KParts::MainWindow*>(parent);
//Grab the part manager. Don't know of any other way, and neither does Tronical, so..
KParts::PartManager *partMan = static_cast<KParts::PartManager*>(mainWin->child(0, "KParts::PartManager"));
@@ -413,7 +413,7 @@ void SearchBarPlugin::showSelectionMenu()
}
m_popupMenu->insertSeparator();
- m_googleMenu = new TDESelectAction(i18n("Use Google Suggest"), SmallIconSet("ktip"), 0, TQT_TQOBJECT(this), TQT_SLOT(selectGoogleSuggestMode()), TQT_TQOBJECT(m_popupMenu));
+ m_googleMenu = new TDESelectAction(i18n("Use Google Suggest"), SmallIconSet("ktip"), 0, this, TQT_SLOT(selectGoogleSuggestMode()), m_popupMenu);
TQStringList google_modes;
google_modes << i18n("For Google Only") << i18n("For All Searches") << i18n("Never");
m_googleMenu->setItems(google_modes);