summaryrefslogtreecommitdiffstats
path: root/kompare/komparepart/kompareconnectwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:13:41 +0900
commit1a7a57976491e8df569198d8e903bf9e57e233f0 (patch)
treea45ca34d705aeeacfcb9fb2abf9c254d4ebf8269 /kompare/komparepart/kompareconnectwidget.cpp
parentff5a38ceb1f92082da2f5f65913bf590c20ccbc3 (diff)
downloadtdesdk-1a7a57976491e8df569198d8e903bf9e57e233f0.tar.gz
tdesdk-1a7a57976491e8df569198d8e903bf9e57e233f0.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kompare/komparepart/kompareconnectwidget.cpp')
-rw-r--r--kompare/komparepart/kompareconnectwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kompare/komparepart/kompareconnectwidget.cpp b/kompare/komparepart/kompareconnectwidget.cpp
index 2cd74f54..35b40f2e 100644
--- a/kompare/komparepart/kompareconnectwidget.cpp
+++ b/kompare/komparepart/kompareconnectwidget.cpp
@@ -41,7 +41,7 @@ KompareConnectWidgetFrame::KompareConnectWidgetFrame( KompareListView* left,
ViewSettings* settings,
KompareSplitter* parent,
const char* name ) :
- TQSplitterHandle(Qt::Horizontal, (TQSplitter *)parent, name),
+ TQSplitterHandle(TQt::Horizontal, (TQSplitter *)parent, name),
m_wid ( left, right, settings, this, name ),
m_label ( "", this ),
m_layout ( this )
@@ -75,7 +75,7 @@ static int kMouseOffset;
void KompareConnectWidgetFrame::mouseMoveEvent( TQMouseEvent *e )
{
- if ( !(e->state()&Qt::LeftButton) )
+ if ( !(e->state()&TQt::LeftButton) )
return;
TQCOORD pos = s->pick( parentWidget()->mapFromGlobal(e->globalPos()) )
@@ -86,14 +86,14 @@ void KompareConnectWidgetFrame::mouseMoveEvent( TQMouseEvent *e )
void KompareConnectWidgetFrame::mousePressEvent( TQMouseEvent *e )
{
- if ( e->button() == Qt::LeftButton )
+ if ( e->button() == TQt::LeftButton )
kMouseOffset = s->pick( e->pos() );
TQSplitterHandle::mousePressEvent(e);
}
void KompareConnectWidgetFrame::mouseReleaseEvent( TQMouseEvent *e )
{
- if ( !opaque() && e->button() == Qt::LeftButton ) {
+ if ( !opaque() && e->button() == TQt::LeftButton ) {
TQCOORD pos = s->pick( parentWidget()->mapFromGlobal(e->globalPos()) )
- kMouseOffset;
((KompareSplitter*)s)->moveSplitter( pos, id() );