summaryrefslogtreecommitdiffstats
path: root/src/archive.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/archive.h')
-rw-r--r--src/archive.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/archive.h b/src/archive.h
index 5389015..d2525cb 100644
--- a/src/archive.h
+++ b/src/archive.h
@@ -21,15 +21,15 @@
#ifndef ARCHIVE_H
#define ARCHIVE_H
-#include <qvaluelist.h>
-#include <qmap.h>
+#include <tqvaluelist.h>
+#include <tqmap.h>
class Basket;
class Tag;
-class QString;
-class QStringList;
-class QDomNode;
+class TQString;
+class TQStringList;
+class TQDomNode;
class KTar;
class KProgress;
@@ -39,21 +39,21 @@ class KProgress;
class Archive
{
public:
- static void save(Basket *basket, bool withSubBaskets, const QString &destination);
- static void open(const QString &path);
+ static void save(Basket *basket, bool withSubBaskets, const TQString &destination);
+ static void open(const TQString &path);
private:
// Convenient Methods for Saving:
- static void saveBasketToArchive(Basket *basket, bool recursive, KTar *tar, QStringList &backgrounds, const QString &tempFolder, KProgress *progress);
- static void listUsedTags(Basket *basket, bool recursive, QValueList<Tag*> &list);
+ static void saveBasketToArchive(Basket *basket, bool recursive, KTar *tar, TQStringList &backgrounds, const TQString &tempFolder, KProgress *progress);
+ static void listUsedTags(Basket *basket, bool recursive, TQValueList<Tag*> &list);
// Convenient Methods for Loading:
- static void renameBasketFolders(const QString &extractionFolder, QMap<QString, QString> &mergedStates);
- static void renameBasketFolder(const QString &extractionFolder, QDomNode &basketNode, QMap<QString, QString> &folderMap, QMap<QString, QString> &mergedStates);
- static void renameMergedStatesAndBasketIcon(const QString &fullPath, QMap<QString, QString> &mergedStates, const QString &extractionFolder);
- static void renameMergedStates(QDomNode notes, QMap<QString, QString> &mergedStates);
- static void importBasketIcon(QDomElement properties, const QString &extractionFolder);
- static void loadExtractedBaskets(const QString &extractionFolder, QDomNode &basketNode, QMap<QString, QString> &folderMap, Basket *parent);
- static void importTagEmblems(const QString &extractionFolder);
- static void importArchivedBackgroundImages(const QString &extractionFolder);
+ static void renameBasketFolders(const TQString &extractionFolder, TQMap<TQString, TQString> &mergedStates);
+ static void renameBasketFolder(const TQString &extractionFolder, TQDomNode &basketNode, TQMap<TQString, TQString> &folderMap, TQMap<TQString, TQString> &mergedStates);
+ static void renameMergedStatesAndBasketIcon(const TQString &fullPath, TQMap<TQString, TQString> &mergedStates, const TQString &extractionFolder);
+ static void renameMergedStates(TQDomNode notes, TQMap<TQString, TQString> &mergedStates);
+ static void importBasketIcon(TQDomElement properties, const TQString &extractionFolder);
+ static void loadExtractedBaskets(const TQString &extractionFolder, TQDomNode &basketNode, TQMap<TQString, TQString> &folderMap, Basket *tqparent);
+ static void importTagEmblems(const TQString &extractionFolder);
+ static void importArchivedBackgroundImages(const TQString &extractionFolder);
};
#endif