summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/dragaccepter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:40 +0900
commit007026cdc4d51e217ce6317b87c0ff2b2d120c83 (patch)
treee44642c9aa2755473430d44da4e3ce6d7a892fc8 /kregexpeditor/dragaccepter.cpp
parenta2da8d06203ef630594a41222c0c3a16bedb86c4 (diff)
downloadtdeutils-007026cdc4d51e217ce6317b87c0ff2b2d120c83.tar.gz
tdeutils-007026cdc4d51e217ce6317b87c0ff2b2d120c83.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kregexpeditor/dragaccepter.cpp')
-rw-r--r--kregexpeditor/dragaccepter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kregexpeditor/dragaccepter.cpp b/kregexpeditor/dragaccepter.cpp
index f336dbd..d361830 100644
--- a/kregexpeditor/dragaccepter.cpp
+++ b/kregexpeditor/dragaccepter.cpp
@@ -46,7 +46,7 @@ void DragAccepter::paintEvent(TQPaintEvent *e)
void DragAccepter::mousePressEvent ( TQMouseEvent* event )
{
- if ( event->button() == Qt::RightButton ) {
+ if ( event->button() == TQt::RightButton ) {
_editorWindow->showRMBMenu( _editorWindow->hasSelection() );
}
else {
@@ -56,7 +56,7 @@ void DragAccepter::mousePressEvent ( TQMouseEvent* event )
void DragAccepter::mouseReleaseEvent( TQMouseEvent* event )
{
- if ( _editorWindow->isPasteing() && event->button() == Qt::LeftButton ) {
+ if ( _editorWindow->isPasteing() && event->button() == TQt::LeftButton ) {
RegExp* regexp = _editorWindow->pasteData();
RegExpWidget *newElm = WidgetFactory::createWidget( regexp, _editorWindow, 0 );
@@ -75,7 +75,7 @@ void DragAccepter::mouseReleaseEvent( TQMouseEvent* event )
_editorWindow->clearSelection( true );
}
}
- else if ( _editorWindow->isInserting() && event->button() == Qt::LeftButton ) {
+ else if ( _editorWindow->isInserting() && event->button() == TQt::LeftButton ) {
if ( WidgetFactory::isContainer( _editorWindow->insertType() ) &&
_editorWindow->pointSelected( mapToGlobal( event->pos() ) ) ) {
RegExpWidget::mouseReleaseEvent( event );