summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/dragaccepter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-08 11:05:40 +0900
committerMichele Calgaro <[email protected]>2023-11-08 18:03:11 +0900
commitb3f501d4920d589d126f1fe53cd7deb54cd8ef67 (patch)
tree2ce455340d62bb00f7775524d9acd4aa1f8d2d38 /kregexpeditor/dragaccepter.cpp
parentc28e0608a97f46e79194eed488c3430b4e6efb57 (diff)
downloadtdeutils-b3f501d4920d589d126f1fe53cd7deb54cd8ef67.tar.gz
tdeutils-b3f501d4920d589d126f1fe53cd7deb54cd8ef67.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 007026cdc4d51e217ce6317b87c0ff2b2d120c83)
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 );