diff options
Diffstat (limited to 'konq-plugins/minitools/minitoolsplugin.cpp')
-rw-r--r-- | konq-plugins/minitools/minitoolsplugin.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/konq-plugins/minitools/minitoolsplugin.cpp b/konq-plugins/minitools/minitoolsplugin.cpp index 9b5610f..e1e439c 100644 --- a/konq-plugins/minitools/minitoolsplugin.cpp +++ b/konq-plugins/minitools/minitoolsplugin.cpp @@ -51,8 +51,8 @@ MinitoolsPlugin::MinitoolsPlugin(TQObject* parent, const char* name, const TQStr m_pMinitoolsMenu->setDelayed(false); m_pMinitoolsMenu->setEnabled(true); - connect(m_pMinitoolsMenu->popupMenu(), TQT_SIGNAL( aboutToShow() ), - this, TQT_SLOT( slotAboutToShow() )); + connect(m_pMinitoolsMenu->popupMenu(), TQ_SIGNAL( aboutToShow() ), + this, TQ_SLOT( slotAboutToShow() )); } MinitoolsPlugin::~MinitoolsPlugin() { @@ -63,10 +63,10 @@ void MinitoolsPlugin::slotAboutToShow() { m_minitoolsList.clear(); KXBELBookmarkImporterImpl importer; - connect(&importer, TQT_SIGNAL( newBookmark( const TQString &, const TQCString &, const TQString &) ), - TQT_SLOT( newBookmarkCallback( const TQString &, const TQCString &, const TQString & ) )); - connect(&importer, TQT_SIGNAL( endFolder() ), - TQT_SLOT( endFolderCallback() )); + connect(&importer, TQ_SIGNAL( newBookmark( const TQString &, const TQCString &, const TQString &) ), + TQ_SLOT( newBookmarkCallback( const TQString &, const TQCString &, const TQString & ) )); + connect(&importer, TQ_SIGNAL( endFolder() ), + TQ_SLOT( endFolderCallback() )); TQString filename = minitoolsFilename(true); if (!filename.isEmpty() && TQFile::exists(filename)) { importer.setFilename(filename); @@ -102,7 +102,7 @@ void MinitoolsPlugin::slotAboutToShow() { } m_pMinitoolsMenu->popupMenu()->insertItem( str, this, - TQT_SLOT(slotItemSelected(int)), + TQ_SLOT(slotItemSelected(int)), 0, ++count ); gotSep = false; } @@ -116,7 +116,7 @@ void MinitoolsPlugin::slotAboutToShow() { m_pMinitoolsMenu->popupMenu() ->insertItem(i18n("&Edit Minitools"), - this, TQT_SLOT(slotEditBookmarks()), + this, TQ_SLOT(slotEditBookmarks()), 0, ++count ); } @@ -147,10 +147,10 @@ void MinitoolsPlugin::slotItemSelected(int id) { return; TQString tmp = m_minitoolsList[id-1].second; TQString script = KURL::decode_string(tmp.right(tmp.length() - 11)); // sizeof("javascript:") - connect(this, TQT_SIGNAL( executeScript(const TQString &) ), - m_part, TQT_SLOT( executeScript(const TQString &) )); + connect(this, TQ_SIGNAL( executeScript(const TQString &) ), + m_part, TQ_SLOT( executeScript(const TQString &) )); emit executeScript(script); - disconnect(this, TQT_SIGNAL( executeScript(const TQString &) ), 0, 0); + disconnect(this, TQ_SIGNAL( executeScript(const TQString &) ), 0, 0); } #include "minitoolsplugin.moc" |