diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/sidebar/delicious/plugin.cpp | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/sidebar/delicious/plugin.cpp')
-rw-r--r-- | konq-plugins/sidebar/delicious/plugin.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/konq-plugins/sidebar/delicious/plugin.cpp b/konq-plugins/sidebar/delicious/plugin.cpp index cc5759f..3ed6c09 100644 --- a/konq-plugins/sidebar/delicious/plugin.cpp +++ b/konq-plugins/sidebar/delicious/plugin.cpp @@ -21,24 +21,24 @@ #include "plugin.h" -#include <qstring.h> +#include <tqstring.h> #include <kapplication.h> #include <klocale.h> #include <kglobal.h> -KonqSidebarDelicious::KonqSidebarDelicious( KInstance *instance, QObject *parent, - QWidget *widgetParent, QString &desktopName_, +KonqSidebarDelicious::KonqSidebarDelicious( KInstance *instance, TQObject *parent, + TQWidget *widgetParent, TQString &desktopName_, const char* name ) : KonqSidebarPlugin( instance, parent, widgetParent, desktopName_, name ), DCOPObject( "sidebar-delicious" ) { m_widget = new MainWidget( instance->config(), widgetParent ); - connect( m_widget, SIGNAL( signalURLClicked( const KURL &, const KParts::URLArgs & ) ), - this, SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ) ); - connect( m_widget, SIGNAL( signalURLMidClicked( const KURL &, const KParts::URLArgs & ) ), - this, SIGNAL( createNewWindow( const KURL &, const KParts::URLArgs & ) ) ); + connect( m_widget, TQT_SIGNAL( signalURLClicked( const KURL &, const KParts::URLArgs & ) ), + this, TQT_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ) ); + connect( m_widget, TQT_SIGNAL( signalURLMidClicked( const KURL &, const KParts::URLArgs & ) ), + this, TQT_SIGNAL( createNewWindow( const KURL &, const KParts::URLArgs & ) ) ); } KonqSidebarDelicious::~KonqSidebarDelicious() @@ -46,12 +46,12 @@ KonqSidebarDelicious::~KonqSidebarDelicious() } -void * KonqSidebarDelicious::provides( const QString & ) +void * KonqSidebarDelicious::provides( const TQString & ) { return 0; } -QWidget * KonqSidebarDelicious::getWidget() +TQWidget * KonqSidebarDelicious::getWidget() { return m_widget; } @@ -68,8 +68,8 @@ bool KonqSidebarDelicious::universalMode() extern "C" { - KDE_EXPORT void* create_konqsidebar_delicious( KInstance *instance, QObject *par, QWidget *widp, - QString &desktopname, const char *name ) + KDE_EXPORT void* create_konqsidebar_delicious( KInstance *instance, TQObject *par, TQWidget *widp, + TQString &desktopname, const char *name ) { KGlobal::locale()->insertCatalogue( "konqsidebar_delicious" ); return new KonqSidebarDelicious( instance, par, widp, desktopname, name ); @@ -78,7 +78,7 @@ extern "C" extern "C" { - KDE_EXPORT bool add_konqsidebar_delicious( QString* fn, QString* /*param*/, QMap<QString,QString> *map ) + KDE_EXPORT bool add_konqsidebar_delicious( TQString* fn, TQString* /*param*/, TQMap<TQString,TQString> *map ) { map->insert("Type", "Link"); map->insert("Icon", "konqsidebar_delicious"); @@ -90,12 +90,12 @@ extern "C" } } -QStringList KonqSidebarDelicious::tags() const +TQStringList KonqSidebarDelicious::tags() const { return m_widget->tags(); } -QStringList KonqSidebarDelicious::bookmarks() const +TQStringList KonqSidebarDelicious::bookmarks() const { return m_widget->bookmarks(); } |