diff options
Diffstat (limited to 'ksirc/topic.h')
-rw-r--r-- | ksirc/topic.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/ksirc/topic.h b/ksirc/topic.h index 73191128..e435d864 100644 --- a/ksirc/topic.h +++ b/ksirc/topic.h @@ -8,10 +8,10 @@ #define __topic_h__ #include <kactivelabel.h> -#include <qtextedit.h> -#include <qlineedit.h> -#include <qpopupmenu.h> -#include <qguardedptr.h> +#include <tqtextedit.h> +#include <tqlineedit.h> +#include <tqpopupmenu.h> +#include <tqguardedptr.h> class KSircTopicEditor; @@ -19,18 +19,18 @@ class KSircTopic : public KActiveLabel { Q_OBJECT public: - KSircTopic( QWidget *parent, const char *name = 0 ); + KSircTopic( TQWidget *parent, const char *name = 0 ); public slots: - virtual void setText( const QString &); + virtual void setText( const TQString &); signals: - void topicChange( const QString &newTopic ); + void topicChange( const TQString &newTopic ); protected: - virtual void contentsMouseDoubleClickEvent( QMouseEvent * ); - virtual void contentsMouseReleaseEvent( QMouseEvent * ); - virtual void fontChange(QFont &); + virtual void contentsMouseDoubleClickEvent( TQMouseEvent * ); + virtual void contentsMouseReleaseEvent( TQMouseEvent * ); + virtual void fontChange(TQFont &); private slots: void setNewTopic(); @@ -40,17 +40,17 @@ private slots: private: - QGuardedPtr<KSircTopicEditor> m_editor; + TQGuardedPtr<KSircTopicEditor> m_editor; bool m_doEdit; int m_height; - QString m_text; + TQString m_text; }; class KSircTopicEditor : public QTextEdit { Q_OBJECT public: - KSircTopicEditor( QWidget *parent, const char *name = 0 ); + KSircTopicEditor( TQWidget *parent, const char *name = 0 ); signals: void resized(); @@ -59,12 +59,12 @@ public slots: virtual void slotMaybeResize(); protected: - virtual void keyPressEvent( QKeyEvent *ev ); - virtual void focusOutEvent( QFocusEvent * ); - virtual QPopupMenu *createPopupMenu( const QPoint &pos ); + virtual void keyPressEvent( TQKeyEvent *ev ); + virtual void focusOutEvent( TQFocusEvent * ); + virtual TQPopupMenu *createPopupMenu( const TQPoint &pos ); private: - QGuardedPtr<QPopupMenu> m_popup; + TQGuardedPtr<TQPopupMenu> m_popup; }; #endif |