summaryrefslogtreecommitdiffstats
path: root/ksirc/topic.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/topic.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/topic.h')
-rw-r--r--ksirc/topic.h34
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