summaryrefslogtreecommitdiffstats
path: root/kbfxlib/data/kbfxdatastack.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbfxlib/data/kbfxdatastack.h')
-rw-r--r--kbfxlib/data/kbfxdatastack.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kbfxlib/data/kbfxdatastack.h b/kbfxlib/data/kbfxdatastack.h
index 6d65810..c91f524 100644
--- a/kbfxlib/data/kbfxdatastack.h
+++ b/kbfxlib/data/kbfxdatastack.h
@@ -22,9 +22,9 @@
#ifndef KBFX_DATA_STACK_H
#define KBFX_DATA_STACK_H
-#include <qmap.h>
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqmap.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include "kbfxdatagrouplist.h"
#include "kbfxplasmacanvasstackdata.h" //TODO:change the name here
@@ -32,29 +32,29 @@ class KbfxDataStack
{
public:
- typedef QMap<QString,KbfxDataGroupList*> StackMap;
- typedef QMap<QString,uint> Dict;
- typedef QMap<int,KbfxPlasmaCanvasStackData> DataDict;
+ typedef TQMap<TQString,KbfxDataGroupList*> StackMap;
+ typedef TQMap<TQString,uint> Dict;
+ typedef TQMap<int,KbfxPlasmaCanvasStackData> DataDict;
KbfxDataStack();
~KbfxDataStack();
- void setName ( QString name ) { m_name=name;}
+ void setName ( TQString name ) { m_name=name;}
void addGroupList ( KbfxDataGroupList * list );
//out
- KbfxDataGroupList * getGroupList ( QString name );
- QStringList getStackIndex();
- KbfxDataGroupList * getStack ( QString name );
+ KbfxDataGroupList * getGroupList ( TQString name );
+ TQStringList getStackIndex();
+ KbfxDataGroupList * getStack ( TQString name );
Dict getDict() {return m_dict;}
DataDict getDataDict() { return m_dataDict;}
- QString name() {return m_name;}
- uint getIndex ( QString name ) { return m_dict[name];}
- QString getSubGroupName ( uint id );
+ TQString name() {return m_name;}
+ uint getIndex ( TQString name ) { return m_dict[name];}
+ TQString getSubGroupName ( uint id );
int count() {return m_count;}
private:
StackMap m_stack;
- QStringList m_nameList;
- QString m_name;
+ TQStringList m_nameList;
+ TQString m_name;
Dict m_dict;
DataDict m_dataDict;
uint m_count;