summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/delicious/mainWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/sidebar/delicious/mainWidget.cpp')
-rw-r--r--konq-plugins/sidebar/delicious/mainWidget.cpp50
1 files changed, 25 insertions, 25 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 );
}