summaryrefslogtreecommitdiffstats
path: root/quanta/src/quanta_init.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
commitf9ced3b3f13f3136ef63c33ef163042010d6e80b (patch)
tree293ce93dfb0dcfd79f83674116d7b3bc56f29af2 /quanta/src/quanta_init.cpp
parent29df04c24350cc76a41e2410d1c92445f9338b98 (diff)
downloadtdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.tar.gz
tdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'quanta/src/quanta_init.cpp')
-rw-r--r--quanta/src/quanta_init.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp
index 73d6c858..974dbc92 100644
--- a/quanta/src/quanta_init.cpp
+++ b/quanta/src/quanta_init.cpp
@@ -691,7 +691,7 @@ void QuantaInit::loadInitialProject(const TQString& url)
if(runningQuantas() == 1)
{
// Get config
- KConfig *config = m_quanta->config();
+ TDEConfig *config = m_quanta->config();
config->setGroup("General Options");
// Reload last project if setting is enabled
@@ -1143,16 +1143,16 @@ void QuantaInit::recoverCrashed(TQStringList& recoveredFileNameList)
if (!isPrj || originalVersion.isLocalFile())
{
//find some information about local files
- KIO::UDSEntry entry;
- KIO::NetAccess::stat(originalVersion, entry, m_quanta);
+ TDEIO::UDSEntry entry;
+ TDEIO::NetAccess::stat(originalVersion, entry, m_quanta);
KFileItem* item= new KFileItem(entry, originalVersion, false, true);
TQString origTime = item->timeString();
- KIO::filesize_t origSize = item->size();
+ TDEIO::filesize_t origSize = item->size();
delete item;
- KIO::NetAccess::stat(autosavedVersion, entry, m_quanta);
+ TDEIO::NetAccess::stat(autosavedVersion, entry, m_quanta);
item= new KFileItem(entry, autosavedVersion, false, true);
TQString backupTime = item->timeString();
- KIO::filesize_t backupSize = item->size();
+ TDEIO::filesize_t backupSize = item->size();
delete item;
if (TQFileInfo(autosavedPath).exists()) //if the backup file exists
@@ -1169,8 +1169,8 @@ void QuantaInit::recoverCrashed(TQStringList& recoveredFileNameList)
"Backup created on: <b>%5</b><br><br>"
"</qt>")
.arg(originalVersion.prettyURL(0, KURL::StripFileProtocol ))
- .arg(KIO::convertSize(origSize)).arg(origTime)
- .arg(KIO::convertSize(backupSize)).arg(backupTime));
+ .arg(TDEIO::convertSize(origSize)).arg(origTime)
+ .arg(TDEIO::convertSize(backupSize)).arg(backupTime));
w->buttonLoad->setText(i18n("&Restore the file from backup"));
w->buttonIgnore->setText(i18n("Do &not restore the file from backup"));
delete w->warningLabel;