summaryrefslogtreecommitdiffstats
path: root/src/archive.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
commitaa0726b20f398264f0a2abc60215be044b106f9c (patch)
tree070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/archive.h
parentd3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff)
downloadbasket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz
basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip
TQt4 port basket
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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