summaryrefslogtreecommitdiffstats
path: root/kompare/komparepart/kompareconnectwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/komparepart/kompareconnectwidget.h')
-rw-r--r--kompare/komparepart/kompareconnectwidget.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kompare/komparepart/kompareconnectwidget.h b/kompare/komparepart/kompareconnectwidget.h
index 96160c97..5287552f 100644
--- a/kompare/komparepart/kompareconnectwidget.h
+++ b/kompare/komparepart/kompareconnectwidget.h
@@ -23,7 +23,7 @@
#define KOMPARECONNECTWIDGET_H
#include "kompare_qsplitter.h"
-#include <qwidget.h>
+#include <tqwidget.h>
namespace Diff2 {
class DiffModel;
@@ -38,7 +38,7 @@ class KompareConnectWidget : public QWidget
public:
KompareConnectWidget( KompareListView* left, KompareListView* right,
- ViewSettings* settings, QWidget* parent, const char* name = 0 );
+ ViewSettings* settings, TQWidget* parent, const char* name = 0 );
~KompareConnectWidget();
public slots:
@@ -51,10 +51,10 @@ signals:
void selectionChanged(const Diff2::Difference* diff);
protected:
- void paintEvent( QPaintEvent* e );
- QPointArray makeTopBezier( int tl, int tr );
- QPointArray makeBottomBezier( int bl, int br );
- QPointArray makeConnectPoly( const QPointArray& topBezier, const QPointArray& bottomBezier );
+ void paintEvent( TQPaintEvent* e );
+ TQPointArray makeTopBezier( int tl, int tr );
+ TQPointArray makeBottomBezier( int bl, int br );
+ TQPointArray makeConnectPoly( const TQPointArray& topBezier, const TQPointArray& bottomBezier );
private:
ViewSettings* m_settings;
@@ -74,22 +74,22 @@ public:
ViewSettings* settings, KompareSplitter* parent, const char* name = 0 );
~KompareConnectWidgetFrame();
- QSize sizeHint() const;
+ TQSize sizeHint() const;
KompareConnectWidget* wid() { return &m_wid; }
protected:
// stop the parent QSplitterHandle painting
- void paintEvent( QPaintEvent* /* e */ ) { }
+ void paintEvent( TQPaintEvent* /* e */ ) { }
- void mouseMoveEvent( QMouseEvent * );
- void mousePressEvent( QMouseEvent * );
- void mouseReleaseEvent( QMouseEvent * );
+ void mouseMoveEvent( TQMouseEvent * );
+ void mousePressEvent( TQMouseEvent * );
+ void mouseReleaseEvent( TQMouseEvent * );
private:
KompareConnectWidget m_wid;
- QLabel m_label;
- QVBoxLayout m_layout;
+ TQLabel m_label;
+ TQVBoxLayout m_layout;
};
#endif