summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/mapslistview.h
diff options
context:
space:
mode:
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);
};