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.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/konq-plugins/sidebar/delicious/mainWidget.cpp b/konq-plugins/sidebar/delicious/mainWidget.cpp
index 20aaa26..8a591b4 100644
--- a/konq-plugins/sidebar/delicious/mainWidget.cpp
+++ b/konq-plugins/sidebar/delicious/mainWidget.cpp
@@ -42,7 +42,7 @@
#include <kconfig.h>
#include <kinputdialog.h>
-MainWidget::MainWidget( KConfig * config, TQWidget * parent )
+MainWidget::MainWidget( TDEConfig * config, TQWidget * parent )
: MainWidget_base( parent ), m_config( config )
{
loadTags();
@@ -93,12 +93,12 @@ void MainWidget::slotGetTags()
{
kdDebug() << k_funcinfo << endl;
- KIO::StoredTransferJob * job = KIO::storedGet( "http://del.icio.us/api/tags/get" );
- connect( job, TQT_SIGNAL( result( KIO::Job * ) ),
- this, TQT_SLOT( slotFillTags( KIO::Job * ) ) );
+ 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 * ) ) );
}
-void MainWidget::slotFillTags( KIO::Job * job )
+void MainWidget::slotFillTags( TDEIO::Job * job )
{
kdDebug() << k_funcinfo << endl;
@@ -113,7 +113,7 @@ void MainWidget::slotFillTags( KIO::Job * job )
// fill lvTags with job->data()
TQDomDocument doc;
- doc.setContent( static_cast<KIO::StoredTransferJob *>( job )->data() );
+ doc.setContent( static_cast<TDEIO::StoredTransferJob *>( job )->data() );
TQDomNodeList tags = doc.elementsByTagName( "tag" );
for ( uint i = 0; i < tags.length(); ++i )
{
@@ -134,12 +134,12 @@ void MainWidget::slotGetBookmarks()
kdDebug() << k_funcinfo << url.url() << endl;
- KIO::StoredTransferJob * job = KIO::storedGet( url );
- connect( job, TQT_SIGNAL( result( KIO::Job * ) ),
- this, TQT_SLOT( slotFillBookmarks( KIO::Job * ) ) );
+ TDEIO::StoredTransferJob * job = TDEIO::storedGet( url );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
+ this, TQT_SLOT( slotFillBookmarks( TDEIO::Job * ) ) );
}
-void MainWidget::slotFillBookmarks( KIO::Job * job )
+void MainWidget::slotFillBookmarks( TDEIO::Job * job )
{
kdDebug() << k_funcinfo << endl;
@@ -153,7 +153,7 @@ void MainWidget::slotFillBookmarks( KIO::Job * job )
// fill lvBookmarks with job->data()
TQDomDocument doc;
- doc.setContent( static_cast<KIO::StoredTransferJob *>( job )->data() );
+ doc.setContent( static_cast<TDEIO::StoredTransferJob *>( job )->data() );
TQDomNodeList posts = doc.elementsByTagName( "post" );
for ( uint i = 0; i < posts.length(); ++i )
@@ -308,7 +308,7 @@ void MainWidget::slotRenameTag()
KURL url( "http://del.icio.us/api/tags/rename" );
url.addQueryItem( "old", oldName );
url.addQueryItem( "new", newName );
- KIO::get( url ); // rename the tag
+ TDEIO::get( url ); // rename the tag
tag->setName( newName );
}
@@ -342,7 +342,7 @@ void MainWidget::slotDeleteBookmark()
KURL url( "http://del.icio.us/api/posts/delete" );
url.addQueryItem( "url", bookmark->url().url() );
kdDebug() << k_funcinfo << url << endl;
- KIO::get( url );
+ TDEIO::get( url );
delete bookmark;