summaryrefslogtreecommitdiffstats
path: root/src/options.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 21:30:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 21:30:26 +0000
commit94ddde53d91cbdb554bbe78b108ccbd6a7d7c13a (patch)
tree961f7eb9997011a96d54a249dcb663025f686102 /src/options.h
parentdad5420e97a9a56cce014e9380026063ee9d279c (diff)
downloadpotracegui-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.h8
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