summaryrefslogtreecommitdiffstats
path: root/tdeconf_update/tdeconf_update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeconf_update/tdeconf_update.cpp')
-rw-r--r--tdeconf_update/tdeconf_update.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeconf_update/tdeconf_update.cpp b/tdeconf_update/tdeconf_update.cpp
index a0b32e71a..d074ff0b4 100644
--- a/tdeconf_update/tdeconf_update.cpp
+++ b/tdeconf_update/tdeconf_update.cpp
@@ -29,13 +29,13 @@
#include <tqtextstream.h>
#include <tdeconfig.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdelocale.h>
#include <tdecmdlineargs.h>
#include <tdeglobal.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeaboutdata.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <tdetempfile.h>
static TDECmdLineOptions options[] =
@@ -201,7 +201,7 @@ KonfUpdate::log()
}
}
- (*m_textStream) << TQDateTime::currentDateTime().toString( Qt::ISODate ) << " ";
+ (*m_textStream) << TQDateTime::currentDateTime().toString( TQt::ISODate ) << " ";
return *m_textStream;
}
@@ -280,7 +280,7 @@ void KonfUpdate::checkGotFile(const TQString &_file, const TQString &id)
// tqDebug("File %s, id %s", file.latin1(), id.latin1());
- KSimpleConfig cfg(file);
+ TDESimpleConfig cfg(file);
cfg.setGroup("$Version");
TQStringList ids = cfg.readListEntry("update_info");
if (ids.contains(id))
@@ -791,7 +791,7 @@ void KonfUpdate::gotScript(const TQString &_script)
tmp1.setAutoDelete(false);
log() << "Script input stored in " << tmp1.name() << endl;
}
- KSimpleConfig cfg(tmp1.name());
+ TDESimpleConfig cfg(tmp1.name());
if (oldGroup.isEmpty())
{
@@ -938,7 +938,7 @@ void KonfUpdate::resetOptions()
}
-extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
+extern "C" TDE_EXPORT int kdemain(int argc, char **argv)
{
TDEAboutData aboutData("tdeconf_update", I18N_NOOP("KConf Update"),
"1.0.2",