diff options
Diffstat (limited to 'umbrello/umbrello/statewidget.h')
-rw-r--r-- | umbrello/umbrello/statewidget.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/umbrello/umbrello/statewidget.h b/umbrello/umbrello/statewidget.h index d214980b..e1611c18 100644 --- a/umbrello/umbrello/statewidget.h +++ b/umbrello/umbrello/statewidget.h @@ -11,8 +11,8 @@ #ifndef STATEWIDGET_H #define STATEWIDGET_H -#include <qpainter.h> -#include <qstringlist.h> +#include <tqpainter.h> +#include <tqstringlist.h> #include "umlwidget.h" #include "worktoolbar.h" @@ -64,17 +64,17 @@ public: /** * Overrides the standard paint event. */ - void draw(QPainter & p, int offsetX, int offsetY); + void draw(TQPainter & p, int offsetX, int offsetY); /** * Sets the name of the State. */ - virtual void setName(const QString &strName); + virtual void setName(const TQString &strName); /** * Returns the name of the State. */ - virtual QString getName() const; + virtual TQString getName() const; /** * Returns the type of state. @@ -89,27 +89,27 @@ public: /** * Adds the given activity to the state. */ - bool addActivity( const QString &activity ); + bool addActivity( const TQString &activity ); /** * Removes the given activity from the state. */ - bool removeActivity( const QString &activity ); + bool removeActivity( const TQString &activity ); /** * Renames the given activity. */ - bool renameActivity( const QString &activity, const QString &newName ); + bool renameActivity( const TQString &activity, const TQString &newName ); /** * Sets the states activities to the ones given. */ - void setActivities( QStringList & list ); + void setActivities( TQStringList & list ); /** * Returns the list of activities. */ - QStringList & getActivityList(); + TQStringList & getActivityList(); /** * Show a properties dialog for a StateWidget. @@ -129,18 +129,18 @@ public: /** * Creates the "statewidget" XMI element. */ - void saveToXMI( QDomDocument & qDoc, QDomElement & qElement ); + void saveToXMI( TQDomDocument & qDoc, TQDomElement & qElement ); /** * Loads a "statewidget" XMI element. */ - bool loadFromXMI( QDomElement & qElement ); + bool loadFromXMI( TQDomElement & qElement ); protected: /** * Overrides method from UMLWidget */ - QSize calculateSize(); + TQSize calculateSize(); /** * Type of state. @@ -150,7 +150,7 @@ protected: /** * List of activities for the state. */ - QStringList m_Activities; + TQStringList m_Activities; public slots: |