summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/umllistviewitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/umllistviewitem.h')
-rw-r--r--umbrello/umbrello/umllistviewitem.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/umbrello/umbrello/umllistviewitem.h b/umbrello/umbrello/umllistviewitem.h
index 99cedf4e..1064befc 100644
--- a/umbrello/umbrello/umllistviewitem.h
+++ b/umbrello/umbrello/umllistviewitem.h
@@ -13,9 +13,9 @@
#ifndef UMLLISTVIEWITEM_H
#define UMLLISTVIEWITEM_H
-#include <qlistview.h>
-#include <qmap.h>
-#include <qdom.h>
+#include <tqlistview.h>
+#include <tqmap.h>
+#include <tqdom.h>
#include "umlnamespace.h"
// forward declarations
@@ -33,7 +33,7 @@ class UMLClassifierListItem;
* Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
*/
-class UMLListViewItem : public QListViewItem {
+class UMLListViewItem : public TQListViewItem {
public:
/**
* Sets up an instance.
@@ -43,7 +43,7 @@ public:
* @param t The type of this instance.
* @param o The object it represents.
*/
- UMLListViewItem(UMLListView * parent, const QString &name, Uml::ListView_Type t, UMLObject*o=0);
+ UMLListViewItem(UMLListView * parent, const TQString &name, Uml::ListView_Type t, UMLObject*o=0);
/**
* Sets up an instance for subsequent loadFromXMI().
@@ -67,7 +67,7 @@ public:
* @param t The type of this instance.
* @param o The object it represents.
*/
- UMLListViewItem(UMLListViewItem * parent, const QString &name, Uml::ListView_Type t, UMLObject*o=0);
+ UMLListViewItem(UMLListViewItem * parent, const TQString &name, Uml::ListView_Type t, UMLObject*o=0);
/**
* Sets up an instance.
@@ -77,7 +77,7 @@ public:
* @param t The type of this instance.
* @param id The id of this instance.
*/
- UMLListViewItem(UMLListViewItem * parent, const QString &name, Uml::ListView_Type t, Uml::IDType id);
+ UMLListViewItem(UMLListViewItem * parent, const TQString &name, Uml::ListView_Type t, Uml::IDType id);
/**
* Standard deconstructor.
@@ -150,12 +150,12 @@ public:
/**
* Changes the current text and updates the tooltip.
*/
- void setText( const QString &text );
+ void setText( const TQString &text );
/**
* Returns the current text.
*/
- QString getText() const;
+ TQString getText() const;
/**
* Sets if the item is in the middle of being created.
@@ -187,7 +187,7 @@ public:
/**
* Overrides the default sorting to sort by item type.
*/
- virtual int compare(QListViewItem *other, int col, bool ascending) const;
+ virtual int compare(TQListViewItem *other, int col, bool ascending) const;
/**
* Returns the number of children of the UMLListViewItem
@@ -232,12 +232,12 @@ public:
/**
* saves the listview item to a "listitem" tag
*/
- void saveToXMI( QDomDocument& qDoc, QDomElement& qElement);
+ void saveToXMI( TQDomDocument& qDoc, TQDomElement& qElement);
/**
* Loads a "listitem" tag, this is only used by the clipboard currently
*/
- bool loadFromXMI(QDomElement& qElement);
+ bool loadFromXMI(TQDomElement& qElement);
protected:
/**
@@ -272,13 +272,13 @@ protected:
* firstChild()/nextSibling() because the latter incur enforceItemVisible()
* and thus expensive sorting.
*/
- typedef QMap<UMLClassifierListItem*, UMLListViewItem*> ChildObjectMap;
+ typedef TQMap<UMLClassifierListItem*, UMLListViewItem*> ChildObjectMap;
Uml::ListView_Type m_Type;
Uml::IDType m_nId;
int m_nChildren;
UMLObject * m_pObject;
- QString m_Label;
+ TQString m_Label;
ChildObjectMap m_comap;
};