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-21 09:06:26 +0900
commitc19fc9375edce7ea957af8e336b06a481c4a993f (patch)
tree72df4cccd3ffe10c9e20cffb0fd76cf914cf157d /konq-plugins/searchbar
parent76b9a4adfceeb8a009e392415541935618c83336 (diff)
downloadtdeaddons-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 '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);