summaryrefslogtreecommitdiffstats
path: root/tdecore/tdesycoca.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-03 20:02:30 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-03 21:00:39 +0200
commitc6cb3f27942501d24b0ded69c90ebbf7c43c755e (patch)
tree08aa592dea84d77931478751d69b47cb4d6b50ee /tdecore/tdesycoca.cpp
parentf41d2ce0f1929574f3b65eef2675ac65177608f1 (diff)
downloadtdelibs-c6cb3f27942501d24b0ded69c90ebbf7c43c755e.tar.gz
tdelibs-c6cb3f27942501d24b0ded69c90ebbf7c43c755e.zip
Additional k => tde renaming and fixes
Diffstat (limited to 'tdecore/tdesycoca.cpp')
-rw-r--r--tdecore/tdesycoca.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/tdesycoca.cpp b/tdecore/tdesycoca.cpp
index 8f5ede967..a11175117 100644
--- a/tdecore/tdesycoca.cpp
+++ b/tdecore/tdesycoca.cpp
@@ -82,7 +82,7 @@ public:
int KSycoca::version()
{
- return KSYCOCA_VERSION;
+ return TDESYCOCA_VERSION;
}
// Read-only constructor
@@ -181,7 +181,7 @@ bool KSycoca::openDatabase( bool openDummyIfNotFound )
buffer->setBuffer(TQByteArray());
buffer->open(IO_ReadWrite);
m_str = new TQDataStream( buffer);
- (*m_str) << (TQ_INT32) KSYCOCA_VERSION;
+ (*m_str) << (TQ_INT32) TDESYCOCA_VERSION;
(*m_str) << (TQ_INT32) 0;
}
else
@@ -309,9 +309,9 @@ bool KSycoca::checkVersion(bool abortOnError)
m_str->device()->at(0);
TQ_INT32 aVersion;
(*m_str) >> aVersion;
- if ( aVersion < KSYCOCA_VERSION )
+ if ( aVersion < TDESYCOCA_VERSION )
{
- kdWarning(7011) << "Found version " << aVersion << ", expecting version " << KSYCOCA_VERSION << " or higher." << endl;
+ kdWarning(7011) << "Found version " << aVersion << ", expecting version " << TDESYCOCA_VERSION << " or higher." << endl;
if (!abortOnError) return false;
kdError(7011) << "Outdated database ! Stop kded and restart it !" << endl;
abort();