diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/singlecontainerwidget.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/singlecontainerwidget.cpp')
-rw-r--r-- | kregexpeditor/singlecontainerwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kregexpeditor/singlecontainerwidget.cpp b/kregexpeditor/singlecontainerwidget.cpp index 4782dd9..68b5612 100644 --- a/kregexpeditor/singlecontainerwidget.cpp +++ b/kregexpeditor/singlecontainerwidget.cpp @@ -23,7 +23,7 @@ #include "concwidget.h" SingleContainerWidget::SingleContainerWidget(RegExpEditorWindow* editorWindow, - QWidget* parent, const char* name) + TQWidget* parent, const char* name) : RegExpWidget( editorWindow, parent, name ) { } @@ -73,15 +73,15 @@ bool SingleContainerWidget::validateSelection() const return _child->validateSelection(); } -QRect SingleContainerWidget::selectionRect() const +TQRect SingleContainerWidget::selectionRect() const { if ( _isSelected ) - return QRect( mapToGlobal( QPoint(0,0) ), size() ); + return TQRect( mapToGlobal( TQPoint(0,0) ), size() ); else return _child->selectionRect(); } -RegExpWidget* SingleContainerWidget::widgetUnderPoint( QPoint globalPos, bool justVisibleWidgets ) +RegExpWidget* SingleContainerWidget::widgetUnderPoint( TQPoint globalPos, bool justVisibleWidgets ) { RegExpWidget* wid = _child->widgetUnderPoint( globalPos, justVisibleWidgets ); if ( wid ) @@ -93,12 +93,12 @@ RegExpWidget* SingleContainerWidget::widgetUnderPoint( QPoint globalPos, bool ju } } -RegExpWidget* SingleContainerWidget::findWidgetToEdit( QPoint globalPos ) +RegExpWidget* SingleContainerWidget::findWidgetToEdit( TQPoint globalPos ) { RegExpWidget* wid = _child->findWidgetToEdit( globalPos ); if ( wid ) return wid; - else if ( QRect(mapToGlobal(QPoint(0,0)), size()).contains( globalPos ) ) + else if ( TQRect(mapToGlobal(TQPoint(0,0)), size()).contains( globalPos ) ) return this; else return 0; |