summaryrefslogtreecommitdiffstats
path: root/src/modules/term/termwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/term/termwidget.h')
-rw-r--r--src/modules/term/termwidget.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/modules/term/termwidget.h b/src/modules/term/termwidget.h
index 88e9d9a7..75739677 100644
--- a/src/modules/term/termwidget.h
+++ b/src/modules/term/termwidget.h
@@ -26,9 +26,9 @@
#ifdef COMPILE_KDE_SUPPORT
-#include <qframe.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
+#include <tqframe.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
#include "kvi_tal_hbox.h"
#include "kparts/part.h"
@@ -36,30 +36,31 @@
class KviFrame;
-class KviTermWidget : public QFrame
+class KviTermWidget : public TQFrame
{
Q_OBJECT
- Q_PROPERTY( int KviProperty_ChildFocusOwner READ dummy )
+ TQ_OBJECT
+ TQ_PROPERTY( int KviProperty_ChildFocusOwner READ dummy )
public:
- KviTermWidget(QWidget * par,KviFrame * lpFrm,bool bIsStandalone = false);
+ KviTermWidget(TQWidget * par,KviFrame * lpFrm,bool bIsStandalone = false);
~KviTermWidget();
private:
KviTalHBox * m_pHBox;
- QLabel * m_pTitleLabel;
- QPushButton * m_pCloseButton;
+ TQLabel * m_pTitleLabel;
+ TQPushButton * m_pCloseButton;
KParts::Part * m_pKonsolePart;
bool m_bIsStandalone;
- QWidget * m_pKonsoleWidget;
+ TQWidget * m_pKonsoleWidget;
protected:
- virtual void resizeEvent(QResizeEvent *e);
+ virtual void resizeEvent(TQResizeEvent *e);
protected slots:
void closeClicked();
- void changeTitle(int i,const QString& str);
+ void changeTitle(int i,const TQString& str);
void notifySize(int,int);
void changeColumns(int);
public:
- QWidget * konsoleWidget(){ return m_pKonsoleWidget ? m_pKonsoleWidget : this; };
- virtual QSize sizeHint() const;
+ TQWidget * konsoleWidget(){ return m_pKonsoleWidget ? m_pKonsoleWidget : this; };
+ virtual TQSize tqsizeHint() const;
int dummy() const { return 0; };
protected slots:
void konsoleDestroyed();