diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
commit | dc6b8e72fed2586239e3514819238c520636c9d9 (patch) | |
tree | 88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/project/uploadprofiles.h | |
parent | 6927d4436e54551917f600b706a8d6109e49de1c (diff) | |
download | tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/project/uploadprofiles.h')
-rw-r--r-- | quanta/project/uploadprofiles.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/quanta/project/uploadprofiles.h b/quanta/project/uploadprofiles.h index 20d77b80..b04c376d 100644 --- a/quanta/project/uploadprofiles.h +++ b/quanta/project/uploadprofiles.h @@ -14,9 +14,9 @@ #define UPLOADPROFILES_H // QT includes -#include <qmap.h> -#include <qdom.h> -#include <qguardedptr.h> +#include <tqmap.h> +#include <tqdom.h> +#include <tqguardedptr.h> // KDE includes #include <kurl.h> @@ -32,13 +32,13 @@ class QObject; struct UploadProfile { - QString name; ///< name of profile - QDomElement domElement; ///< domtree element of this profile - QGuardedPtr<QWidget> treeview; ///< treeview for this url + TQString name; ///< name of profile + TQDomElement domElement; ///< domtree element of this profile + TQGuardedPtr<TQWidget> treeview; ///< treeview for this url }; /** a map for the upload profiles */ -typedef QMap<QString, UploadProfile> UploadProfileMap; +typedef TQMap<TQString, UploadProfile> UploadProfileMap; class UploadProfiles : public UploadProfileMap @@ -61,7 +61,7 @@ public: @param the dom document to parse */ - void readFromXML(const QDomDocument &dom); + void readFromXML(const TQDomDocument &dom); /** removes a profile from the map and the dom tree @@ -70,7 +70,7 @@ public: @return true if profile was found and removed */ - bool removeFromMapAndXML(const QString &name); + bool removeFromMapAndXML(const TQString &name); /** clears the map and removes all treeviews @@ -91,18 +91,18 @@ private: @return the pointer to the treeview */ - QWidget * createTreeview(const UploadProfile &profile); + TQWidget * createTreeview(const UploadProfile &profile); /** creates a KURL from a QDomElement - @param e a QDomElement where the path is saved + @param e a TQDomElement where the path is saved @return KURL of the location */ - KURL url(const QDomElement &e); + KURL url(const TQDomElement &e); - QDomNode m_profilesNode; ///< under this node the profiles are saved in the dom tree + TQDomNode m_profilesNode; ///< under this node the profiles are saved in the dom tree }; #endif |