summaryrefslogtreecommitdiffstats
path: root/akregator/src/akregator_part.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /akregator/src/akregator_part.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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"))