summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:28:24 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:28:24 -0600
commit20de04ce44f63fb911103d7870d39d2782d14cda (patch)
treebddd13cef2fae98892caf538dc64b5357732c517 /konq-plugins/sidebar
parent4c097708c4cc24f3b8e4c21f14644f5715767d47 (diff)
downloadtdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.tar.gz
tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'konq-plugins/sidebar')
-rw-r--r--konq-plugins/sidebar/delicious/mainWidget.cpp26
-rw-r--r--konq-plugins/sidebar/delicious/mainWidget.h10
-rw-r--r--konq-plugins/sidebar/metabar/src/configdialog.cpp4
-rw-r--r--konq-plugins/sidebar/metabar/src/configdialog.h4
-rw-r--r--konq-plugins/sidebar/metabar/src/defaultplugin.cpp22
-rw-r--r--konq-plugins/sidebar/metabar/src/defaultplugin.h4
-rw-r--r--konq-plugins/sidebar/metabar/src/metabarfunctions.cpp4
-rw-r--r--konq-plugins/sidebar/metabar/src/metabarwidget.cpp2
-rw-r--r--konq-plugins/sidebar/metabar/src/metabarwidget.h2
-rw-r--r--konq-plugins/sidebar/metabar/src/protocolplugin.cpp4
-rw-r--r--konq-plugins/sidebar/metabar/src/serviceloader.cpp2
-rw-r--r--konq-plugins/sidebar/metabar/src/settingsplugin.cpp30
-rw-r--r--konq-plugins/sidebar/metabar/src/settingsplugin.h6
-rw-r--r--konq-plugins/sidebar/newsticker/norsswidget.cpp6
-rw-r--r--konq-plugins/sidebar/newsticker/norsswidget.h4
-rw-r--r--konq-plugins/sidebar/newsticker/nspanel.h2
-rw-r--r--konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp6
-rw-r--r--konq-plugins/sidebar/newsticker/nsstacktabwidget.h4
18 files changed, 71 insertions, 71 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;
diff --git a/konq-plugins/sidebar/delicious/mainWidget.h b/konq-plugins/sidebar/delicious/mainWidget.h
index 62d77bf..2621671 100644
--- a/konq-plugins/sidebar/delicious/mainWidget.h
+++ b/konq-plugins/sidebar/delicious/mainWidget.h
@@ -30,7 +30,7 @@
class TQStringList;
class KURL;
-class KConfig;
+class TDEConfig;
/**
* Main widget of the del.icio.us bookmarks panel
@@ -40,7 +40,7 @@ class MainWidget: public MainWidget_base
Q_OBJECT
public:
- MainWidget( KConfig * config, TQWidget * parent );
+ MainWidget( TDEConfig * config, TQWidget * parent );
~MainWidget();
/**
@@ -76,7 +76,7 @@ private slots:
* Fill the Tags listview with job->data()
* (parses the XML returned by the server)
*/
- void slotFillTags( KIO::Job * job );
+ void slotFillTags( TDEIO::Job * job );
/**
* Start the job to get the list of bookmarks
@@ -88,7 +88,7 @@ private slots:
* Fill the Bookmarks listview with job->data()
* (parses the XML returned by the server)
*/
- void slotFillBookmarks( KIO::Job * job );
+ void slotFillBookmarks( TDEIO::Job * job );
/**
* Handle clicking on a bookmark (KDE mode)
@@ -170,7 +170,7 @@ private:
TQTimer *m_updateTimer;
KURL m_currentURL;
TQStringList m_tags;
- KConfig * m_config;
+ TDEConfig * m_config;
};
#endif
diff --git a/konq-plugins/sidebar/metabar/src/configdialog.cpp b/konq-plugins/sidebar/metabar/src/configdialog.cpp
index d2cd8c0..a6993ae 100644
--- a/konq-plugins/sidebar/metabar/src/configdialog.cpp
+++ b/konq-plugins/sidebar/metabar/src/configdialog.cpp
@@ -59,8 +59,8 @@ ActionListItem::ActionListItem(TQListBox *listbox, const TQString &action, const
ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent, name)
{
topWidgetName = parent->topLevelWidget()->name();
- config = new KConfig("metabarrc");
- iconConfig = new KConfig(locate("data", "metabar/iconsrc"));
+ config = new TDEConfig("metabarrc");
+ iconConfig = new TDEConfig(locate("data", "metabar/iconsrc"));
setCaption(i18n("Configuration - Metabar"));
setIcon(SmallIcon("metabar"));
diff --git a/konq-plugins/sidebar/metabar/src/configdialog.h b/konq-plugins/sidebar/metabar/src/configdialog.h
index 02f3600..3e10757 100644
--- a/konq-plugins/sidebar/metabar/src/configdialog.h
+++ b/konq-plugins/sidebar/metabar/src/configdialog.h
@@ -80,8 +80,8 @@ class ConfigDialog : public TQDialog
TQPtrDict<LinkEntry> linkList;
- KConfig *config;
- KConfig *iconConfig;
+ TDEConfig *config;
+ TDEConfig *iconConfig;
protected slots:
void accept();
diff --git a/konq-plugins/sidebar/metabar/src/defaultplugin.cpp b/konq-plugins/sidebar/metabar/src/defaultplugin.cpp
index b199b58..3bcf924 100644
--- a/konq-plugins/sidebar/metabar/src/defaultplugin.cpp
+++ b/konq-plugins/sidebar/metabar/src/defaultplugin.cpp
@@ -84,10 +84,10 @@ void DefaultPlugin::loadActions(DOM::HTMLElement node)
KFileItem *item = m_items.getFirst();
KURL url = item->url();
- KConfig config("metabarrc", true, false);
+ TDEConfig config("metabarrc", true, false);
config.setGroup("General");
- KConfig iconConfig(locate("data", "metabar/iconsrc"));
+ TDEConfig iconConfig(locate("data", "metabar/iconsrc"));
iconConfig.setGroup("Icons");
DOM::DOMString innerHTML;
@@ -170,7 +170,7 @@ void DefaultPlugin::loadApplications(DOM::HTMLElement node)
offers = KTrader::self()->query(item->mimetype(), "Type == 'Application'");
if(!offers.isEmpty()){
- KConfig config("metabarrc", true, false);
+ TDEConfig config("metabarrc", true, false);
config.setGroup("General");
int id = 0;
@@ -219,7 +219,7 @@ void DefaultPlugin::loadInformation(DOM::HTMLElement node)
innerHTML += "<ul class=\"info\"><b>" + i18n("Type") + ": </b>";
innerHTML += that->determineMimeType()->comment();
innerHTML += "</ul><ul class=\"info\"><b>" + i18n("Size") + ": </b>";
- innerHTML += KIO::convertSize(item->size());
+ innerHTML += TDEIO::convertSize(item->size());
innerHTML += "</ul><ul class=\"info\"><b>" + i18n("User") + ": </b>";
innerHTML += item->user();
innerHTML += "</ul><ul class=\"info\"><b>" + i18n("Group") + ": </b>";
@@ -227,9 +227,9 @@ void DefaultPlugin::loadInformation(DOM::HTMLElement node)
innerHTML += "</ul><ul class=\"info\"><b>" + i18n("Permissions") + ": </b>";
innerHTML += (item->permissionsString());
innerHTML += "</ul><ul class=\"info\"><b>" + i18n("Modified") + ": </b>";
- innerHTML += item->timeString(KIO::UDS_MODIFICATION_TIME);
+ innerHTML += item->timeString(TDEIO::UDS_MODIFICATION_TIME);
innerHTML += "</ul><ul class=\"info\"><b>" + i18n("Accessed") + ": </b>";
- innerHTML += item->timeString(KIO::UDS_ACCESS_TIME);
+ innerHTML += item->timeString(TDEIO::UDS_ACCESS_TIME);
innerHTML += "</ul>";
if(item->isLink()){
@@ -275,7 +275,7 @@ void DefaultPlugin::loadInformation(DOM::HTMLElement node)
node.setInnerHTML(innerHTML);
}
else{
- KIO::filesize_t size = 0;
+ TDEIO::filesize_t size = 0;
int files = 0;
int dirs = 0;
@@ -292,7 +292,7 @@ void DefaultPlugin::loadInformation(DOM::HTMLElement node)
DOM::DOMString innerHTML;
innerHTML += "<ul class=\"info\"><b>" + i18n("Size") + ": </b>";
- innerHTML += KIO::convertSize(size);
+ innerHTML += TDEIO::convertSize(size);
innerHTML += "</ul><ul class=\"info\"><b>" + i18n("Files") + ": </b>";
innerHTML += TQString(TQString().setNum(files));
innerHTML += "</ul><ul class=\"info\"><b>" + i18n("Folders") + ": </b>";
@@ -334,11 +334,11 @@ void DefaultPlugin::loadPreview(DOM::HTMLElement node)
//m_functions->show("preview");
- preview_job = KIO::filePreview(KURL::List(url), m_html->view()->width() - 30);
+ preview_job = TDEIO::filePreview(KURL::List(url), m_html->view()->width() - 30);
connect(preview_job, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), this, TQT_SLOT(slotSetPreview(const KFileItem*, const TQPixmap&)));
connect(preview_job, TQT_SIGNAL(failed(const KFileItem *)), this, TQT_SLOT(slotPreviewFailed(const KFileItem *)));
- connect(preview_job, TQT_SIGNAL(result(KIO::Job *)), this, TQT_SLOT(slotJobFinished(KIO::Job *)));
+ connect(preview_job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotJobFinished(TDEIO::Job *)));
}
m_functions->show("preview");
@@ -404,7 +404,7 @@ void DefaultPlugin::slotPreviewFailed(const KFileItem *item)
m_functions->hide("preview");
}
-void DefaultPlugin::slotJobFinished(KIO::Job *job)
+void DefaultPlugin::slotJobFinished(TDEIO::Job *job)
{
if(preview_job && job == preview_job){
preview_job = 0;
diff --git a/konq-plugins/sidebar/metabar/src/defaultplugin.h b/konq-plugins/sidebar/metabar/src/defaultplugin.h
index 4df0ae0..b86b12e 100644
--- a/konq-plugins/sidebar/metabar/src/defaultplugin.h
+++ b/konq-plugins/sidebar/metabar/src/defaultplugin.h
@@ -52,14 +52,14 @@ class DefaultPlugin : public ProtocolPlugin
private:
TQMap<int,KService::Ptr> runMap;
- KIO::PreviewJob *preview_job;
+ TDEIO::PreviewJob *preview_job;
ServiceLoader *services;
private slots:
void slotSetPreview(const KFileItem*, const TQPixmap&);
void slotPreviewFailed(const KFileItem *item);
- void slotJobFinished(KIO::Job *item);
+ void slotJobFinished(TDEIO::Job *item);
};
#endif
diff --git a/konq-plugins/sidebar/metabar/src/metabarfunctions.cpp b/konq-plugins/sidebar/metabar/src/metabarfunctions.cpp
index 1aaf9e8..adf316c 100644
--- a/konq-plugins/sidebar/metabar/src/metabarfunctions.cpp
+++ b/konq-plugins/sidebar/metabar/src/metabarfunctions.cpp
@@ -95,7 +95,7 @@ void MetabarFunctions::toggle(DOM::DOMString item)
DOM::DOMString att = isExpanded ? "false" : "true";
node.setAttribute("expanded", att);
- KConfig config("metabarrc");
+ TDEConfig config("metabarrc");
config.setGroup("General");
if(config.readBoolEntry("AnimateResize", false)){
@@ -126,7 +126,7 @@ void MetabarFunctions::adjustSize(DOM::DOMString item)
if(isExpanded){
int height = getHeight(node);
- KConfig config("metabarrc");
+ TDEConfig config("metabarrc");
config.setGroup("General");
if(config.readBoolEntry("AnimateResize", false)){
diff --git a/konq-plugins/sidebar/metabar/src/metabarwidget.cpp b/konq-plugins/sidebar/metabar/src/metabarwidget.cpp
index 9fe8c86..50749eb 100644
--- a/konq-plugins/sidebar/metabar/src/metabarwidget.cpp
+++ b/konq-plugins/sidebar/metabar/src/metabarwidget.cpp
@@ -81,7 +81,7 @@ MetabarWidget::MetabarWidget(TQWidget *parent, const char *name) : TQWidget(pare
currentItems = new KFileItemList;
currentItems->setAutoDelete(true);
- config = new KConfig("metabarrc");
+ config = new TDEConfig("metabarrc");
dir_watch = new KDirWatch();
connect(dir_watch, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(slotUpdateCurrentInfo(const TQString&)));
diff --git a/konq-plugins/sidebar/metabar/src/metabarwidget.h b/konq-plugins/sidebar/metabar/src/metabarwidget.h
index 9874c29..bf9c7ad 100644
--- a/konq-plugins/sidebar/metabar/src/metabarwidget.h
+++ b/konq-plugins/sidebar/metabar/src/metabarwidget.h
@@ -51,7 +51,7 @@ class MetabarWidget : public TQWidget
private:
KFileItemList *currentItems;
- KConfig *config;
+ TDEConfig *config;
KHTMLPart *html;
diff --git a/konq-plugins/sidebar/metabar/src/protocolplugin.cpp b/konq-plugins/sidebar/metabar/src/protocolplugin.cpp
index 8daf5ba..38d0bba 100644
--- a/konq-plugins/sidebar/metabar/src/protocolplugin.cpp
+++ b/konq-plugins/sidebar/metabar/src/protocolplugin.cpp
@@ -112,13 +112,13 @@ void ProtocolPlugin::setFileItems(const KFileItemList &items)
}
if(!size.isNull()){
- KIO::filesize_t s = 0;
+ TDEIO::filesize_t s = 0;
for(KFileItemListIterator it(m_items); it.current(); ++it){
s += (*it)->size();
}
- size.setInnerText(KIO::convertSize(s));
+ size.setInnerText(TDEIO::convertSize(s));
}
if(!actions.isNull()){
diff --git a/konq-plugins/sidebar/metabar/src/serviceloader.cpp b/konq-plugins/sidebar/metabar/src/serviceloader.cpp
index fd8c02b..af04017 100644
--- a/konq-plugins/sidebar/metabar/src/serviceloader.cpp
+++ b/konq-plugins/sidebar/metabar/src/serviceloader.cpp
@@ -58,7 +58,7 @@ void ServiceLoader::loadServices(const KFileItem item, DOM::DOMString &html, int
urlList.append(url);
TQStringList dirs = TDEGlobal::dirs()->findDirs( "data", "konqueror/servicemenus/" );
- KConfig config("metabarrc", true, false);
+ TDEConfig config("metabarrc", true, false);
config.setGroup("General");
int maxActions = config.readNumEntry("MaxActions");
bool matchAll = false; // config.readBoolEntry("MatchAll");
diff --git a/konq-plugins/sidebar/metabar/src/settingsplugin.cpp b/konq-plugins/sidebar/metabar/src/settingsplugin.cpp
index 76853c6..95c5119 100644
--- a/konq-plugins/sidebar/metabar/src/settingsplugin.cpp
+++ b/konq-plugins/sidebar/metabar/src/settingsplugin.cpp
@@ -57,9 +57,9 @@ void SettingsPlugin::loadActions(DOM::HTMLElement node)
KURL url = m_items.getFirst()->url();
if(url.path().endsWith("/")){
- list_job = KIO::listDir(url, true, false);
- connect(list_job, TQT_SIGNAL(entries(KIO::Job *, const KIO::UDSEntryList &)), this, TQT_SLOT(slotGotEntries(KIO::Job *, const KIO::UDSEntryList &)));
- connect(list_job, TQT_SIGNAL(result(KIO::Job *)), this, TQT_SLOT(slotJobFinished(KIO::Job *)));
+ list_job = TDEIO::listDir(url, true, false);
+ connect(list_job, TQT_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList &)), this, TQT_SLOT(slotGotEntries(TDEIO::Job *, const TDEIO::UDSEntryList &)));
+ connect(list_job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotJobFinished(TDEIO::Job *)));
m_functions->show("actions");
}
@@ -69,7 +69,7 @@ void SettingsPlugin::loadActions(DOM::HTMLElement node)
KService::Ptr service = KService::serviceByStorageId(name);
if(service && service->isValid()){
- KCModuleInfo kcminfo(service);
+ TDECModuleInfo kcminfo(service);
DOM::DOMString innerHTML;
MetabarWidget::addEntry(innerHTML, i18n("Run"), "kcmshell:/" + name, kcminfo.icon());
@@ -95,7 +95,7 @@ void SettingsPlugin::loadInformation(DOM::HTMLElement node)
KService::Ptr service = KService::serviceByStorageId(name);
if(service && service->isValid()){
- KCModuleInfo kcminfo(service);
+ TDECModuleInfo kcminfo(service);
bool needsRoot = kcminfo.needsRootPrivileges();
@@ -141,7 +141,7 @@ bool SettingsPlugin::handleRequest(const KURL &)
return false;
}
-void SettingsPlugin::slotGotEntries(KIO::Job *job, const KIO::UDSEntryList &list)
+void SettingsPlugin::slotGotEntries(TDEIO::Job *job, const TDEIO::UDSEntryList &list)
{
if(!job){
return;
@@ -151,28 +151,28 @@ void SettingsPlugin::slotGotEntries(KIO::Job *job, const KIO::UDSEntryList &list
DOM::HTMLElement node = doc.getElementById("actions");
DOM::DOMString innerHTML;
- KIO::UDSEntryList::ConstIterator it = list.begin();
- KIO::UDSEntryList::ConstIterator it_end = list.end();
+ TDEIO::UDSEntryList::ConstIterator it = list.begin();
+ TDEIO::UDSEntryList::ConstIterator it_end = list.end();
for(; it != it_end; ++it){
TQString name;
TQString icon;
TQString url;
long type;
- KIO::UDSEntry::ConstIterator atomit = (*it).begin();
- KIO::UDSEntry::ConstIterator atomit_end = (*it).end();
+ TDEIO::UDSEntry::ConstIterator atomit = (*it).begin();
+ TDEIO::UDSEntry::ConstIterator atomit_end = (*it).end();
for(; atomit != atomit_end; ++atomit){
- if((*atomit).m_uds == KIO::UDS_NAME){
+ if((*atomit).m_uds == TDEIO::UDS_NAME){
name = (*atomit).m_str;
}
- else if((*atomit).m_uds == KIO::UDS_ICON_NAME){
+ else if((*atomit).m_uds == TDEIO::UDS_ICON_NAME){
icon = (*atomit).m_str;
}
- else if((*atomit).m_uds == KIO::UDS_URL){
+ else if((*atomit).m_uds == TDEIO::UDS_URL){
url = (*atomit).m_str;
}
- else if((*atomit).m_uds == KIO::UDS_FILE_TYPE){
+ else if((*atomit).m_uds == TDEIO::UDS_FILE_TYPE){
type = (*atomit).m_long;
}
}
@@ -189,7 +189,7 @@ void SettingsPlugin::slotGotEntries(KIO::Job *job, const KIO::UDSEntryList &list
node.setInnerHTML(innerHTML);
}
-void SettingsPlugin::slotJobFinished(KIO::Job *job)
+void SettingsPlugin::slotJobFinished(TDEIO::Job *job)
{
if(list_job && job == list_job){
list_job = 0;
diff --git a/konq-plugins/sidebar/metabar/src/settingsplugin.h b/konq-plugins/sidebar/metabar/src/settingsplugin.h
index 609be74..c8580de 100644
--- a/konq-plugins/sidebar/metabar/src/settingsplugin.h
+++ b/konq-plugins/sidebar/metabar/src/settingsplugin.h
@@ -47,11 +47,11 @@ class SettingsPlugin : public ProtocolPlugin
void loadBookmarks(DOM::HTMLElement node);
private:
- KIO::ListJob *list_job;
+ TDEIO::ListJob *list_job;
private slots:
- void slotGotEntries(KIO::Job *job, const KIO::UDSEntryList &list);
- void slotJobFinished(KIO::Job *job);
+ void slotGotEntries(TDEIO::Job *job, const TDEIO::UDSEntryList &list);
+ void slotJobFinished(TDEIO::Job *job);
};
#endif
diff --git a/konq-plugins/sidebar/newsticker/norsswidget.cpp b/konq-plugins/sidebar/newsticker/norsswidget.cpp
index 9af7e65..8419dff 100644
--- a/konq-plugins/sidebar/newsticker/norsswidget.cpp
+++ b/konq-plugins/sidebar/newsticker/norsswidget.cpp
@@ -57,11 +57,11 @@ namespace KSB_News {
// An instance of your dialog could be already created and could be
// cached, in which case you want to display the cached dialog
// instead of creating another one
- if (KConfigDialog::showDialog("settings"))
+ if (TDEConfigDialog::showDialog("settings"))
return;
- // KConfigDialog didn't find an instance of this dialog, so lets create it
- m_confdlg = new KConfigDialog(this, "settings", SidebarSettings::self(),
+ // TDEConfigDialog didn't find an instance of this dialog, so lets create it
+ m_confdlg = new TDEConfigDialog(this, "settings", SidebarSettings::self(),
KDialogBase::Plain,
KDialogBase::Ok|KDialogBase::Cancel|KDialogBase::Default,
KDialogBase::Ok,
diff --git a/konq-plugins/sidebar/newsticker/norsswidget.h b/konq-plugins/sidebar/newsticker/norsswidget.h
index 62dd437..1bea54c 100644
--- a/konq-plugins/sidebar/newsticker/norsswidget.h
+++ b/konq-plugins/sidebar/newsticker/norsswidget.h
@@ -26,7 +26,7 @@
#define _NORSSWIDGET_H_
-class KConfigDialog;
+class TDEConfigDialog;
namespace KSB_News {
@@ -43,7 +43,7 @@ namespace KSB_News {
void slotConfigure_okClicked();
private:
- KConfigDialog *m_confdlg;
+ TDEConfigDialog *m_confdlg;
};
diff --git a/konq-plugins/sidebar/newsticker/nspanel.h b/konq-plugins/sidebar/newsticker/nspanel.h
index 2f054bd..6a3ee73 100644
--- a/konq-plugins/sidebar/newsticker/nspanel.h
+++ b/konq-plugins/sidebar/newsticker/nspanel.h
@@ -67,7 +67,7 @@ namespace KSB_News {
void setListbox(TTListBox *lb);
void setPixmap(const TQPixmap &pm);
void setPixmapBuffer(TQBuffer *buf);
- void setJob(KIO::Job *kio_job);
+ void setJob(TDEIO::Job *kio_job);
TTListBox *listbox() const;
TQPixmap pixmap();
diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
index 30aedb4..ecbad6c 100644
--- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
+++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
@@ -244,11 +244,11 @@ namespace KSB_News {
// An instance of your dialog could be already created and could be
// cached, in which case you want to display the cached dialog
// instead of creating another one
- if (KConfigDialog::showDialog("settings"))
+ if (TDEConfigDialog::showDialog("settings"))
return;
- // KConfigDialog didn't find an instance of this dialog, so lets create it
- m_confdlg = new KConfigDialog(this, "settings", SidebarSettings::self(),
+ // TDEConfigDialog didn't find an instance of this dialog, so lets create it
+ m_confdlg = new TDEConfigDialog(this, "settings", SidebarSettings::self(),
KDialogBase::Plain,
KDialogBase::Ok|KDialogBase::Cancel| \
KDialogBase::Default| \
diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.h b/konq-plugins/sidebar/newsticker/nsstacktabwidget.h
index 53934f4..2be171f 100644
--- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.h
+++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.h
@@ -39,7 +39,7 @@ class KPopupMenu;
class TDEAboutData;
class KAboutApplication;
class KBugReport;
-class KConfigDialog;
+class TDEConfigDialog;
namespace KSB_News {
@@ -81,7 +81,7 @@ namespace KSB_News {
KAboutApplication *m_about;
KBugReport *m_bugreport;
TQPushButton *m_last_button_rightclicked;
- KConfigDialog *m_confdlg;
+ TDEConfigDialog *m_confdlg;
TQStringList m_our_rsssources;
};