summaryrefslogtreecommitdiffstats
path: root/akregator/src/akregator_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/akregator_part.cpp')
-rw-r--r--akregator/src/akregator_part.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/akregator/src/akregator_part.cpp b/akregator/src/akregator_part.cpp
index cab78590a..41632adb9 100644
--- a/akregator/src/akregator_part.cpp
+++ b/akregator/src/akregator_part.cpp
@@ -197,7 +197,7 @@ Part::Part( TQWidget *parentWidget, const char * /*widgetName*/,
connect(m_view, TQT_SIGNAL(setStatusBarText(const TQString&)), this, TQT_SIGNAL(setStatusBarText(const TQString&)));
connect(m_view, TQT_SIGNAL(setProgress(int)), m_extension, TQT_SIGNAL(loadingProgress(int)));
connect(m_view, TQT_SIGNAL(signalCanceled(const TQString&)), this, TQT_SIGNAL(canceled(const TQString&)));
- connect(m_view, TQT_SIGNAL(signalStarted(KIO::Job*)), this, TQT_SIGNAL(started(KIO::Job*)));
+ connect(m_view, TQT_SIGNAL(signalStarted(TDEIO::Job*)), this, TQT_SIGNAL(started(TDEIO::Job*)));
connect(m_view, TQT_SIGNAL(signalCompleted()), this, TQT_SIGNAL(completed()));
// notify the part that this is our internal widget
@@ -308,7 +308,7 @@ Part::~Part()
delete m_applyFiltersInterceptor;
}
-void Part::readProperties(KConfig* config)
+void Part::readProperties(TDEConfig* config)
{
m_backedUpList = false;
openStandardFeedList();
@@ -317,7 +317,7 @@ void Part::readProperties(KConfig* config)
m_view->readProperties(config);
}
-void Part::saveProperties(KConfig* config)
+void Part::saveProperties(TDEConfig* config)
{
if (m_view)
{
@@ -619,9 +619,9 @@ void Part::importFile(const KURL& url)
{
isRemote = true;
- if (!KIO::NetAccess::download(url, filename, m_view) )
+ if (!TDEIO::NetAccess::download(url, filename, m_view) )
{
- KMessageBox::error(m_view, KIO::NetAccess::lastErrorString() );
+ KMessageBox::error(m_view, TDEIO::NetAccess::lastErrorString() );
return;
}
}
@@ -640,7 +640,7 @@ void Part::importFile(const KURL& url)
KMessageBox::error(m_view, i18n("The file %1 could not be read, check if it exists or if it is readable for the current user.").arg(filename), i18n("Read Error"));
if (isRemote)
- KIO::NetAccess::removeTempFile(filename);
+ TDEIO::NetAccess::removeTempFile(filename);
}
void Part::exportFile(const KURL& url)
@@ -680,8 +680,8 @@ void Part::exportFile(const KURL& url)
stream << m_view->feedListToOPML().toString() << "\n";
tmpfile.close();
- if (!KIO::NetAccess::upload(tmpfile.name(), url, m_view))
- KMessageBox::error(m_view, KIO::NetAccess::lastErrorString() );
+ if (!TDEIO::NetAccess::upload(tmpfile.name(), url, m_view))
+ KMessageBox::error(m_view, TDEIO::NetAccess::lastErrorString() );
}
}
@@ -780,10 +780,10 @@ void Part::showKNotifyOptions()
void Part::showOptions()
{
- if ( KConfigDialog::showDialog( "settings" ) )
+ if ( TDEConfigDialog::showDialog( "settings" ) )
return;
- KConfigDialog* dialog = new ConfigDialog( m_view, "settings", Settings::self() );
+ TDEConfigDialog* dialog = new ConfigDialog( m_view, "settings", Settings::self() );
connect( dialog, TQT_SIGNAL(settingsChanged()),
this, TQT_SLOT(slotSettingsChanged()) );
@@ -848,10 +848,10 @@ void Part::initFonts()
if (Settings::serifFont().isEmpty())
Settings::setSerifFont(fonts[3]);
- KConfig* conf = Settings::self()->config();
+ TDEConfig* conf = Settings::self()->config();
conf->setGroup("HTML Settings");
- KConfig konq("konquerorrc", true, false);
+ TDEConfig konq("konquerorrc", true, false);
konq.setGroup("HTML Settings");
if (!conf->hasKey("MinimumFontSize"))