diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /koshell/iconsidepane.cpp | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f.tar.gz koffice-c8c5e11f.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'koshell/iconsidepane.cpp')
-rw-r--r-- | koshell/iconsidepane.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/koshell/iconsidepane.cpp b/koshell/iconsidepane.cpp index 211a04e3f..c92fa97a1 100644 --- a/koshell/iconsidepane.cpp +++ b/koshell/iconsidepane.cpp @@ -247,7 +247,7 @@ bool Navigator::showIcons() void Navigator::mouseReleaseEvent(TQMouseEvent *e) { TDEListBox::mouseReleaseEvent(e); - if ( e->button() != Qt::LeftButton || !mLeftMouseButtonPressed ) + if ( e->button() != TQt::LeftButton || !mLeftMouseButtonPressed ) return; if ( itemAt( e->pos() ) && executedItem == selectedItem() ) emit itemSelected( currentItem() ); @@ -257,10 +257,10 @@ void Navigator::mouseReleaseEvent(TQMouseEvent *e) void Navigator::mousePressEvent(TQMouseEvent *e) { - if ( e->button() != Qt::LeftButton || itemAt( e->pos() ) == 0 ) + if ( e->button() != TQt::LeftButton || itemAt( e->pos() ) == 0 ) { mLeftMouseButtonPressed = false; - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) slotShowRMBMenu( 0,mapToGlobal( e->pos() ) ); return; } @@ -405,7 +405,7 @@ void Navigator::slotShowRMBMenu( TQListBoxItem *, const TQPoint &pos ) IconSidePane::IconSidePane(TQWidget *parent, const char *name ) : TQVBox( parent, name ) { - m_buttongroup = new TQButtonGroup(1, Qt::Horizontal, this); + m_buttongroup = new TQButtonGroup(1, TQt::Horizontal, this); m_buttongroup->setExclusive(true); m_buttongroup->hide(); mWidgetstack = new TQWidgetStack(this); |