summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/delicious
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-11 10:35:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 20:23:16 +0900
commite234565531cd8c11949cc6aecf16179e75312458 (patch)
tree90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /konq-plugins/sidebar/delicious
parentbe3456c5d953fb877340a51b2ef699be6b3c7c02 (diff)
downloadtdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz
tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'konq-plugins/sidebar/delicious')
-rw-r--r--konq-plugins/sidebar/delicious/mainWidget.cpp50
-rw-r--r--konq-plugins/sidebar/delicious/plugin.cpp8
2 files changed, 29 insertions, 29 deletions
diff --git a/konq-plugins/sidebar/delicious/mainWidget.cpp b/konq-plugins/sidebar/delicious/mainWidget.cpp
index 775d371..28a929f 100644
--- a/konq-plugins/sidebar/delicious/mainWidget.cpp
+++ b/konq-plugins/sidebar/delicious/mainWidget.cpp
@@ -52,28 +52,28 @@ MainWidget::MainWidget( TDEConfig * config, TQWidget * parent )
btnRefreshBookmarks->setIconSet( il->loadIconSet( "reload", TDEIcon::Small ) );
btnNew->setIconSet( il->loadIconSet( "bookmark_add", TDEIcon::Small ) );
- connect( ( TQWidget * ) btnRefreshTags, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotGetTags() ) );
+ connect( ( TQWidget * ) btnRefreshTags, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotGetTags() ) );
- connect( ( TQWidget * ) btnRefreshBookmarks, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotGetBookmarks() ) );
+ connect( ( TQWidget * ) btnRefreshBookmarks, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotGetBookmarks() ) );
- connect( ( TQWidget * ) btnNew, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotNewBookmark() ) );
+ connect( ( TQWidget * ) btnNew, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotNewBookmark() ) );
- connect( lvBookmarks, TQT_SIGNAL( executed( TQListViewItem * ) ),
- this, TQT_SLOT( slotBookmarkExecuted( TQListViewItem * ) ) );
- connect( lvBookmarks, TQT_SIGNAL( mouseButtonClicked ( int, TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( slotBookmarkClicked( int, TQListViewItem *, const TQPoint &, int ) ) );
+ connect( lvBookmarks, TQ_SIGNAL( executed( TQListViewItem * ) ),
+ this, TQ_SLOT( slotBookmarkExecuted( TQListViewItem * ) ) );
+ connect( lvBookmarks, TQ_SIGNAL( mouseButtonClicked ( int, TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( slotBookmarkClicked( int, TQListViewItem *, const TQPoint &, int ) ) );
- connect( lvTags, TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( slotTagsContextMenu( TQListViewItem *, const TQPoint &, int ) ) );
+ connect( lvTags, TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( slotTagsContextMenu( TQListViewItem *, const TQPoint &, int ) ) );
- connect( lvBookmarks, TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( slotBookmarksContextMenu( TQListViewItem *, const TQPoint &, int ) ) );
+ connect( lvBookmarks, TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( slotBookmarksContextMenu( TQListViewItem *, const TQPoint &, int ) ) );
m_updateTimer = new TQTimer( this );
- connect( m_updateTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotGetBookmarks() ) );
+ connect( m_updateTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotGetBookmarks() ) );
slotGetTags();
}
@@ -93,8 +93,8 @@ void MainWidget::slotGetTags()
kdDebug() << k_funcinfo << endl;
TDEIO::StoredTransferJob * job = TDEIO::storedGet( "http://del.icio.us/api/tags/get" );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- this, TQT_SLOT( slotFillTags( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ this, TQ_SLOT( slotFillTags( TDEIO::Job * ) ) );
}
void MainWidget::slotFillTags( TDEIO::Job * job )
@@ -121,7 +121,7 @@ void MainWidget::slotFillTags( TDEIO::Job * job )
{
TagListItem *item = new TagListItem( lvTags, tag.attribute( "tag" ), tag.attribute( "count" ).toInt() );
m_tags.append( tag.attribute( "tag" ) );
- connect( item, TQT_SIGNAL( signalItemChecked( TagListItem * ) ), TQT_SLOT( itemToggled() ) );
+ connect( item, TQ_SIGNAL( signalItemChecked( TagListItem * ) ), TQ_SLOT( itemToggled() ) );
}
}
}
@@ -134,8 +134,8 @@ void MainWidget::slotGetBookmarks()
kdDebug() << k_funcinfo << url.url() << endl;
TDEIO::StoredTransferJob * job = TDEIO::storedGet( url );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- this, TQT_SLOT( slotFillBookmarks( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ this, TQ_SLOT( slotFillBookmarks( TDEIO::Job * ) ) );
}
void MainWidget::slotFillBookmarks( TDEIO::Job * job )
@@ -229,12 +229,12 @@ void MainWidget::slotTagsContextMenu( TQListViewItem *, const TQPoint & pos, int
TQPopupMenu * tagMenu = new TQPopupMenu( this );
TQ_CHECK_PTR( tagMenu );
- tagMenu->insertItem( i18n( "Check All" ), this, TQT_SLOT( slotCheckAllTags() ) );
- tagMenu->insertItem( i18n( "Uncheck All" ), this, TQT_SLOT( slotUncheckAllTags() ) );
- tagMenu->insertItem( i18n( "Toggle All" ), this, TQT_SLOT( slotToggleTags() ) );
+ tagMenu->insertItem( i18n( "Check All" ), this, TQ_SLOT( slotCheckAllTags() ) );
+ tagMenu->insertItem( i18n( "Uncheck All" ), this, TQ_SLOT( slotUncheckAllTags() ) );
+ tagMenu->insertItem( i18n( "Toggle All" ), this, TQ_SLOT( slotToggleTags() ) );
tagMenu->insertSeparator();
tagMenu->insertItem( TDEGlobal::iconLoader()->loadIconSet( "edit", TDEIcon::Small ),
- i18n( "Rename Tag..." ), this, TQT_SLOT( slotRenameTag() ) );
+ i18n( "Rename Tag..." ), this, TQ_SLOT( slotRenameTag() ) );
tagMenu->exec( pos );
}
@@ -323,7 +323,7 @@ void MainWidget::slotBookmarksContextMenu( TQListViewItem *, const TQPoint & pos
TQ_CHECK_PTR( menu );
menu->insertItem( TDEGlobal::iconLoader()->loadIconSet( "edit-delete", TDEIcon::Small ),
- i18n( "Delete Bookmark" ), this, TQT_SLOT( slotDeleteBookmark() ) );
+ i18n( "Delete Bookmark" ), this, TQ_SLOT( slotDeleteBookmark() ) );
menu->exec( pos );
}
diff --git a/konq-plugins/sidebar/delicious/plugin.cpp b/konq-plugins/sidebar/delicious/plugin.cpp
index f0783f2..5ab5263 100644
--- a/konq-plugins/sidebar/delicious/plugin.cpp
+++ b/konq-plugins/sidebar/delicious/plugin.cpp
@@ -35,10 +35,10 @@ KonqSidebarDelicious::KonqSidebarDelicious( TDEInstance *instance, TQObject *par
{
m_widget = new MainWidget( instance->config(), widgetParent );
- 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 & ) ) );
+ connect( m_widget, TQ_SIGNAL( signalURLClicked( const KURL &, const KParts::URLArgs & ) ),
+ this, TQ_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ) );
+ connect( m_widget, TQ_SIGNAL( signalURLMidClicked( const KURL &, const KParts::URLArgs & ) ),
+ this, TQ_SIGNAL( createNewWindow( const KURL &, const KParts::URLArgs & ) ) );
}
KonqSidebarDelicious::~KonqSidebarDelicious()