summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/wqlreader.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kwordquiz/src/wqlreader.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwordquiz/src/wqlreader.h')
-rw-r--r--kwordquiz/src/wqlreader.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kwordquiz/src/wqlreader.h b/kwordquiz/src/wqlreader.h
index 37920f5d..79096956 100644
--- a/kwordquiz/src/wqlreader.h
+++ b/kwordquiz/src/wqlreader.h
@@ -20,45 +20,45 @@
@author Peter Hedlund
*/
-#include <qstring.h>
-#include <qvaluelist.h>
-#include <qfont.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
+#include <tqfont.h>
class KWqlDataItem
{
public:
KWqlDataItem();
- KWqlDataItem(const QString &front, const QString &back, int height);
+ KWqlDataItem(const TQString &front, const TQString &back, int height);
virtual ~KWqlDataItem();
- QString frontText() const {return m_front;}
- QString backText() const {return m_back;}
+ TQString frontText() const {return m_front;}
+ TQString backText() const {return m_back;}
int rowHeight() const {return m_height;}
private:
- QString m_front;
- QString m_back;
+ TQString m_front;
+ TQString m_back;
int m_height;
};
-typedef QValueList<KWqlDataItem> KWqlDataItemList;
+typedef TQValueList<KWqlDataItem> KWqlDataItemList;
class WqlReader{
public:
WqlReader();
- KWqlDataItemList parse(const QString &fileName);
+ KWqlDataItemList parse(const TQString &fileName);
int colWidth(int col);
int numRows() {return m_numRows;}
int startCol() {return m_topLeft;}
int startRow() {return m_topRight;}
int endCol() {return m_bottomLeft;}
int endRow() {return m_bottomRight;}
- QString language(int col);
- QFont font() {return m_font;}
- QString specialCharacters() {return m_specialCharacters;}
+ TQString language(int col);
+ TQFont font() {return m_font;}
+ TQString specialCharacters() {return m_specialCharacters;}
private:
- QFont m_font;
+ TQFont m_font;
int m_colWidth1;
int m_colWidth2;
int m_numRows;
@@ -66,9 +66,9 @@ private:
int m_topRight;
int m_bottomLeft;
int m_bottomRight;
- QString m_language1;
- QString m_language2;
- QString m_specialCharacters;
+ TQString m_language1;
+ TQString m_language2;
+ TQString m_specialCharacters;
};