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:37:57 +0900 |
| commit | ef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch) | |
| tree | 03df826633e4ba084d133ca977c4fc37c74f21ac /chalk/ui/layerlist.cpp | |
| parent | 895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff) | |
| download | koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/ui/layerlist.cpp')
| -rw-r--r-- | chalk/ui/layerlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/layerlist.cpp b/chalk/ui/layerlist.cpp index c15c6d5e1..9bcf12cec 100644 --- a/chalk/ui/layerlist.cpp +++ b/chalk/ui/layerlist.cpp @@ -671,7 +671,7 @@ void LayerList::contentsMousePressEvent( TQMouseEvent *e ) else { super::contentsMousePressEvent( e ); - if( e->button() == Qt::RightButton ) + if( e->button() == TQt::RightButton ) showContextMenu(); } } @@ -1170,7 +1170,7 @@ TQFontMetrics LayerItem::fontMetrics() const bool LayerItem::mousePressEvent( TQMouseEvent *e ) { - if( e->button() == Qt::RightButton ) + if( e->button() == TQt::RightButton ) { if ( !(e->state() & TQt::ControlButton) && !(e->state() & TQt::ShiftButton) ) setActive(); |
