summaryrefslogtreecommitdiffstats
path: root/kdecore/ksycoca.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/ksycoca.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/ksycoca.h')
-rw-r--r--kdecore/ksycoca.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdecore/ksycoca.h b/kdecore/ksycoca.h
index 00c72431f..408c48234 100644
--- a/kdecore/ksycoca.h
+++ b/kdecore/ksycoca.h
@@ -20,8 +20,8 @@
#define __ksycoca_h__
#include <dcopobject.h>
-#include <qobject.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
#include "ksycocatype.h"
#include <kdelibs_export.h>
@@ -41,7 +41,7 @@ class KSycocaFactoryList;
* @internal
* Read-only SYstem COnfiguration CAche
*/
-class KDECORE_EXPORT KSycoca : public QObject, public DCOPObject
+class KDECORE_EXPORT KSycoca : public TQObject, public DCOPObject
{
Q_OBJECT
K_DCOP
@@ -73,19 +73,19 @@ public:
* @internal - called by factories in read-only mode
* This is how factories get a stream to an entry
*/
- QDataStream *findEntry(int offset, KSycocaType &type);
+ TQDataStream *findEntry(int offset, KSycocaType &type);
/**
* @internal - called by factories in read-only mode
*/
- QDataStream *findFactory( KSycocaFactoryId id);
+ TQDataStream *findFactory( KSycocaFactoryId id);
/**
* @internal - returns kfsstnd stored inside database
*/
- QString kfsstnd_prefixes();
+ TQString kfsstnd_prefixes();
/**
* @internal - returns language stored inside database
*/
- QString language();
+ TQString language();
/**
* @internal - returns timestamp of database
@@ -110,7 +110,7 @@ public:
* @internal - returns all directories with information
* stored inside sycoca.
*/
- QStringList allResourceDirs();
+ TQStringList allResourceDirs();
/**
* @internal - add a factory
@@ -131,7 +131,7 @@ public:
/**
* Determine relative path for a .desktop file from a full path and a resource name
*/
- static QString determineRelativePath( const QString & _fullpath, const char *_resource );
+ static TQString determineRelativePath( const TQString & _fullpath, const char *_resource );
/**
* When you receive a "databaseChanged" signal, you can query here if
@@ -154,7 +154,7 @@ k_dcop:
/**
* internal function for receiving kded/kbuildsycoca's signal, when the sycoca file changes
*/
- void notifyDatabaseChanged(const QStringList &);
+ void notifyDatabaseChanged(const TQStringList &);
signals:
/**
@@ -168,7 +168,7 @@ protected:
bool openDatabase(bool openDummyIfNotFound=true);
void closeDatabase();
KSycocaFactoryList *m_lstFactories;
- QDataStream *m_str;
+ TQDataStream *m_str;
bool bNoDatabase;
size_t m_sycoca_size;
const char *m_sycoca_mmap;