summaryrefslogtreecommitdiffstats
path: root/src/gui/stringmapdialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/gui/stringmapdialog.h
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
TQt4 port tellico
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/stringmapdialog.h')
-rw-r--r--src/gui/stringmapdialog.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/stringmapdialog.h b/src/gui/stringmapdialog.h
index 311df70..a0dec9f 100644
--- a/src/gui/stringmapdialog.h
+++ b/src/gui/stringmapdialog.h
@@ -16,12 +16,12 @@
class KLineEdit;
class KListView;
-class QListViewItem;
+class TQListViewItem;
#include <kdialogbase.h>
template <typename T1, typename T2>
-class QMap;
+class TQMap;
namespace Tellico {
@@ -38,9 +38,10 @@ namespace Tellico {
*/
class StringMapDialog : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
- StringMapDialog(const QMap<QString, QString>& stringMap, QWidget* parent, const char* name=0, bool modal=false);
+ StringMapDialog(const TQMap<TQString, TQString>& stringMap, TQWidget* tqparent, const char* name=0, bool modal=false);
/**
* Sets the titles for the key and value columns.
@@ -48,18 +49,18 @@ public:
* @param label1 The name of the key string
* @param label2 The name of the value string
*/
- void setLabels(const QString& label1, const QString& label2);
+ void setLabels(const TQString& label1, const TQString& label2);
/**
* Returns the modified string map.
*
* @return The modified string map
*/
- QMap<QString, QString> stringMap();
+ TQMap<TQString, TQString> stringMap();
private slots:
void slotAdd();
void slotDelete();
- void slotUpdate(QListViewItem* item);
+ void slotUpdate(TQListViewItem* item);
protected:
KListView* m_listView;