diff options
Diffstat (limited to 'konq-plugins/minitools/minitoolsplugin.cpp')
-rw-r--r-- | konq-plugins/minitools/minitoolsplugin.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/konq-plugins/minitools/minitoolsplugin.cpp b/konq-plugins/minitools/minitoolsplugin.cpp index a1a5bfc..2346831 100644 --- a/konq-plugins/minitools/minitoolsplugin.cpp +++ b/konq-plugins/minitools/minitoolsplugin.cpp @@ -42,9 +42,9 @@ typedef KGenericFactory<MinitoolsPlugin> MinitoolsPluginFactory; K_EXPORT_COMPONENT_FACTORY( libminitoolsplugin, MinitoolsPluginFactory("minitoolsplugin") ) -MinitoolsPlugin::MinitoolsPlugin(TQObject* parent, const char* name, const TQStringList &) - : KParts::Plugin(parent, name) { - m_part = (parent && parent->inherits( "KHTMLPart" )) ? static_cast<KHTMLPart*>(parent) : 0L; +MinitoolsPlugin::MinitoolsPlugin(TQObject* tqparent, const char* name, const TQStringList &) + : KParts::Plugin(tqparent, name) { + m_part = (tqparent && tqparent->inherits( "KHTMLPart" )) ? static_cast<KHTMLPart*>(tqparent) : 0L; m_pMinitoolsMenu = new KActionMenu(i18n("&Minitools"), "minitools", actionCollection(), "minitools"); @@ -124,17 +124,17 @@ void MinitoolsPlugin::newBookmarkCallback( const TQString & text, const TQCString & url, const TQString & ) { kdDebug(90150) << "MinitoolsPlugin::newBookmarkCallback" << text << url << endl; - m_minitoolsList.prepend(qMakePair(text,url)); + m_minitoolsList.prepend(tqMakePair(text,url)); } void MinitoolsPlugin::endFolderCallback() { kdDebug(90150) << "MinitoolsPlugin::endFolderCallback" << endl; - m_minitoolsList.prepend(qMakePair(TQString("-"),TQCString("-"))); + m_minitoolsList.prepend(tqMakePair(TQString("-"),TQCString("-"))); } TQString MinitoolsPlugin::minitoolsFilename(bool local) { - return local ? locateLocal("data", TQString::fromLatin1("konqueror/minitools.xml")) - : locateLocal("data", TQString::fromLatin1("konqueror/minitools-global.xml")); + return local ? locateLocal("data", TQString::tqfromLatin1("konqueror/minitools.xml")) + : locateLocal("data", TQString::tqfromLatin1("konqueror/minitools-global.xml")); } void MinitoolsPlugin::slotEditBookmarks() { |