diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 21:30:26 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 21:30:26 +0000 |
commit | 94ddde53d91cbdb554bbe78b108ccbd6a7d7c13a (patch) | |
tree | 961f7eb9997011a96d54a249dcb663025f686102 /src/options.h | |
parent | dad5420e97a9a56cce014e9380026063ee9d279c (diff) | |
download | potracegui-94ddde53d91cbdb554bbe78b108ccbd6a7d7c13a.tar.gz potracegui-94ddde53d91cbdb554bbe78b108ccbd6a7d7c13a.zip |
TQt4 port potracegui
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/potracegui@1239033 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/options.h')
-rw-r--r-- | src/options.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/options.h b/src/options.h index 3ab53c0..0caa9ef 100644 --- a/src/options.h +++ b/src/options.h @@ -13,7 +13,7 @@ #include <map> using namespace std; -#include <qstring.h> +#include <tqstring.h> //! Class that contains all the options for a document. @@ -38,7 +38,7 @@ public: * * \sa operator[]() */ - void setValue(QString key, QString value); + void setValue(TQString key, TQString value); //! Checks if the object contains no keys /*! * \returns \b true if the object is empty, \b false otherwise @@ -53,14 +53,14 @@ public: * \returns The value associated with the key * \sa setValue() */ - QString operator[](QString key); + TQString operator[](TQString key); //! Sets all the options to their default value. void defaultOptions(); //! Prints the list of options void debug(); private: - map<QString,QString> options; /*!< The map containing the options */ + map<TQString,TQString> options; /*!< The map containing the options */ }; #endif |