summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/mapslistview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /kimagemapeditor/mapslistview.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kimagemapeditor/mapslistview.h')
-rw-r--r--kimagemapeditor/mapslistview.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kimagemapeditor/mapslistview.h b/kimagemapeditor/mapslistview.h
index 559725a2..467279ae 100644
--- a/kimagemapeditor/mapslistview.h
+++ b/kimagemapeditor/mapslistview.h
@@ -18,7 +18,7 @@
#ifndef _MAPSLISTVIEW_H_
#define _MAPSLISTVIEW_H_
-#include <qvbox.h>
+#include <tqvbox.h>
#include "kimagemapeditor.h"
class KListView;
@@ -32,44 +32,44 @@ class MapsListView : public QVBox
{
Q_OBJECT
public:
- MapsListView(QWidget *parent, const char *name);
+ MapsListView(TQWidget *parent, const char *name);
~MapsListView();
/**
* Adds the given map to the ListView
*/
- void addMap(const QString &);
+ void addMap(const TQString &);
/**
* Adds all maps of the given QList to the ListView
*/
- void addMaps(QPtrList<MapTag> *);
+ void addMaps(TQPtrList<MapTag> *);
/**
* Removes the given map from the ListView
*/
- void removeMap(const QString &);
+ void removeMap(const TQString &);
/**
* Set the the given map selected in the ListView.
* it does not emit mapSelected afterwards.
*/
- void selectMap(const QString &);
+ void selectMap(const TQString &);
/**
* Selects the given ListViewItem and deselects the current selected item
*/
- void selectMap(QListViewItem* item);
+ void selectMap(TQListViewItem* item);
/**
* Changes the name of the map with the @p oldName to @p newName
*/
- void changeMapName(const QString & oldName, const QString & newName);
+ void changeMapName(const TQString & oldName, const TQString & newName);
/**
* Returns the current selected map
*/
- QString selectedMap();
+ TQString selectedMap();
/**
@@ -81,17 +81,17 @@ public:
* Returns a name for a map which is not used yet.
* Returns for example Unnamed1
*/
- QString getUnusedMapName();
+ TQString getUnusedMapName();
/**
* Wether or not the given map name already exists
*/
- bool nameAlreadyExists(const QString &);
+ bool nameAlreadyExists(const TQString &);
/**
- * Returns a QStringList of all maps
+ * Returns a TQStringList of all maps
*/
- QStringList getMaps();
+ TQStringList getMaps();
/**
* Returns the number of maps
@@ -103,8 +103,8 @@ protected:
KListView* _listView;
protected slots:
- void slotSelectionChanged(QListViewItem*);
- void slotItemRenamed(QListViewItem*);
+ void slotSelectionChanged(TQListViewItem*);
+ void slotItemRenamed(TQListViewItem*);
signals:
@@ -112,13 +112,13 @@ signals:
* Gets emitted when the user selects a map in
* the ListView
*/
- void mapSelected(const QString &);
+ void mapSelected(const TQString &);
/**
* Emitted when the user has renamed a map in the ListView
*/
- void mapRenamed(const QString & newName);
+ void mapRenamed(const TQString & newName);
};