diff options
Diffstat (limited to 'konversation/src/konvibookmarkhandler.cpp')
-rw-r--r-- | konversation/src/konvibookmarkhandler.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/konversation/src/konvibookmarkhandler.cpp b/konversation/src/konvibookmarkhandler.cpp index 3258cba..5a76682 100644 --- a/konversation/src/konvibookmarkhandler.cpp +++ b/konversation/src/konvibookmarkhandler.cpp @@ -21,14 +21,14 @@ Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@kde.org> #include "connectionmanager.h" #include "konvibookmarkmenu.h" -#include <qstring.h> +#include <tqstring.h> #include <kpopupmenu.h> #include <kstandarddirs.h> KonviBookmarkHandler::KonviBookmarkHandler(KonversationMainWindow* mainWindow) -: QObject( mainWindow, "KonviBookmarkHandler" ), +: TQObject( mainWindow, "KonviBookmarkHandler" ), KBookmarkOwner(), m_mainWindow(mainWindow) { @@ -50,7 +50,7 @@ m_mainWindow(mainWindow) manager->setUpdate( true ); manager->setShowNSBookmarks( false ); - connect( manager, SIGNAL(changed(const QString &,const QString &)), SLOT(slotBookmarksChanged(const QString &,const QString &))); + connect( manager, TQT_SIGNAL(changed(const TQString &,const TQString &)), TQT_SLOT(slotBookmarksChanged(const TQString &,const TQString &))); m_bookmarkMenu = new KonviBookmarkMenu( manager, this, m_menu, NULL, true ); } @@ -63,32 +63,32 @@ KonviBookmarkHandler::~KonviBookmarkHandler() void KonviBookmarkHandler::slotEditBookmarks() { KProcess proc; - proc << QString::fromLatin1("keditbookmarks"); + proc << TQString::fromLatin1("keditbookmarks"); proc << "--nobrowser"; proc << "--caption" << i18n("Konversation Bookmarks Editor"); proc << m_file; proc.start(KProcess::DontCare); } -void KonviBookmarkHandler::slotBookmarksChanged( const QString &, -const QString &) +void KonviBookmarkHandler::slotBookmarksChanged( const TQString &, +const TQString &) { // This is called when someone changes bookmarks in konversation m_bookmarkMenu->slotBookmarksChanged(""); } -void KonviBookmarkHandler::openBookmarkURL(const QString& url, const QString& /* title */) +void KonviBookmarkHandler::openBookmarkURL(const TQString& url, const TQString& /* title */) { KonversationApplication* konvApp = static_cast<KonversationApplication*>(kapp); konvApp->getConnectionManager()->connectTo(Konversation::SilentlyReuseConnection, url); } -QString KonviBookmarkHandler::currentURL() const +TQString KonviBookmarkHandler::currentURL() const { return m_mainWindow->currentURL(true); } -QString KonviBookmarkHandler::currentTitle() const +TQString KonviBookmarkHandler::currentTitle() const { return m_mainWindow->currentTitle(); } |