summaryrefslogtreecommitdiffstats
path: root/kpilot/conduits/memofileconduit/memofiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/conduits/memofileconduit/memofiles.h')
-rw-r--r--kpilot/conduits/memofileconduit/memofiles.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kpilot/conduits/memofileconduit/memofiles.h b/kpilot/conduits/memofileconduit/memofiles.h
index ec0497d5b..72b6ed4a9 100644
--- a/kpilot/conduits/memofileconduit/memofiles.h
+++ b/kpilot/conduits/memofileconduit/memofiles.h
@@ -27,11 +27,11 @@
*/
#include "plugin.h"
-#include <qmap.h>
+#include <tqmap.h>
#include "memofile.h"
-typedef QMap<int, QString> MemoCategoryMap;
+typedef TQMap<int, TQString> MemoCategoryMap;
class Memofile;
@@ -40,29 +40,29 @@ class Memofiles {
public:
Memofiles (MemoCategoryMap & categories, PilotMemoInfo &appInfo,
- QString & baseDirectory, CUDCounter &fCtrHH);
+ TQString & baseDirectory, CUDCounter &fCtrHH);
~Memofiles();
void load(bool loadAll);
void save();
void eraseLocalMemos();
- void setPilotMemos (QPtrList<PilotMemo> & memos);
+ void setPilotMemos (TQPtrList<PilotMemo> & memos);
void addModifiedMemo (PilotMemo * memo);
void deleteMemo (PilotMemo * memo);
bool isFirstSync();
bool isReady() { return _ready; };
- QPtrList<Memofile> getModified();
- QPtrList<Memofile> getAll() { return _memofiles; } ;
- Memofile * find (const QString & category, const QString & filename);
+ TQPtrList<Memofile> getModified();
+ TQPtrList<Memofile> getAll() { return _memofiles; } ;
+ Memofile * find (const TQString & category, const TQString & filename);
Memofile * find (recordid_t id);
MemoCategoryMap readCategoryMetadata();
void setCategories(MemoCategoryMap map) { _categories = map; } ;
- static QString FIELD_SEP;
- static QString sanitizeName(QString name);
+ static TQString FIELD_SEP;
+ static TQString sanitizeName(TQString name);
int count() { return _memofiles.count(); }
@@ -70,23 +70,23 @@ private:
MemoCategoryMap _categories;
PilotMemoInfo &_memoAppInfo;
- QString & _baseDirectory;
+ TQString & _baseDirectory;
CUDCounter &_cudCounter;
- QPtrList<Memofile> _memofiles;
+ TQPtrList<Memofile> _memofiles;
bool loadFromMetadata();
bool ensureDirectoryReady();
- bool checkDirectory(QString & dir);
+ bool checkDirectory(TQString & dir);
bool saveMemoMetadata();
bool saveCategoryMetadata();
bool saveMemos();
- bool folderRemove(const QDir & dir);
+ bool folderRemove(const TQDir & dir);
- QString filename(PilotMemo * memo);
+ TQString filename(PilotMemo * memo);
- QString _categoryMetadataFile;
- QString _memoMetadataFile;
+ TQString _categoryMetadataFile;
+ TQString _memoMetadataFile;
bool _metadataLoaded;
bool _ready;