diff options
Diffstat (limited to 'umbrello/umbrello/widgetbase.h')
-rw-r--r-- | umbrello/umbrello/widgetbase.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/umbrello/umbrello/widgetbase.h b/umbrello/umbrello/widgetbase.h index 5051418e..d9487964 100644 --- a/umbrello/umbrello/widgetbase.h +++ b/umbrello/umbrello/widgetbase.h @@ -12,9 +12,9 @@ #ifndef WIDGETBASE_H #define WIDGETBASE_H -#include <qobject.h> -#include <qcolor.h> -#include <qdom.h> +#include <tqobject.h> +#include <tqcolor.h> +#include <tqdom.h> #include "umlnamespace.h" @@ -27,7 +27,7 @@ class UMLObject; * @author Oliver Kellogg <okellogg@users.sourceforge.net> * Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org */ -class WidgetBase : public QObject { +class WidgetBase : public TQObject { Q_OBJECT public: /** @@ -77,7 +77,7 @@ public: * * @return The documentation from the UMLObject (if m_pObject is set.) */ - virtual QString getDoc() const; + virtual TQString getDoc() const; /** * Used by some child classes to set documentation. @@ -85,14 +85,14 @@ public: * @param doc The documentation to be set in the UMLObject * (if m_pObject is set.) */ - virtual void setDoc( const QString &doc ); + virtual void setDoc( const TQString &doc ); /** * Sets the line colour * * @param colour the new line colour */ - virtual void setLineColor(const QColor &colour); + virtual void setLineColor(const TQColor &colour); /** * Sets the line width @@ -104,7 +104,7 @@ public: /** * Read property of m_LineColour. */ - QColor getLineColor() const { + TQColor getLineColor() const { return m_LineColour; } @@ -153,9 +153,9 @@ public: */ Uml::IDType getID() const; - virtual void saveToXMI( QDomDocument & qDoc, QDomElement & qElement ); + virtual void saveToXMI( TQDomDocument & qDoc, TQDomElement & qElement ); - virtual bool loadFromXMI( QDomElement & qElement ); + virtual bool loadFromXMI( TQDomElement & qElement ); protected: /** @@ -170,7 +170,7 @@ protected: UMLView *m_pView; UMLObject *m_pObject; - QString m_Doc; ///< Only used if m_pObject is not set. + TQString m_Doc; ///< Only used if m_pObject is not set. /** * This ID is only used when the widget does not have a @@ -182,7 +182,7 @@ protected: /** * Color of the lines of the widget. Is saved to XMI. */ - QColor m_LineColour; + TQColor m_LineColour; /** * Width of the lines of the widget. Is saved to XMI. |