diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:27 -0600 |
commit | bcc684e28ad6f9ebeeae5d334a4dc297cef3e816 (patch) | |
tree | 07fafab2b93966c9e2128ba52337a43d388d300c /kregexpeditor/dragaccepter.cpp | |
parent | 955e20356d63ed405198c8143617a8a0ca8bfc02 (diff) | |
download | tdeutils-bcc684e28ad6f9ebeeae5d334a4dc297cef3e816.tar.gz tdeutils-bcc684e28ad6f9ebeeae5d334a4dc297cef3e816.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kregexpeditor/dragaccepter.cpp')
-rw-r--r-- | kregexpeditor/dragaccepter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kregexpeditor/dragaccepter.cpp b/kregexpeditor/dragaccepter.cpp index 6bd049e..f336dbd 100644 --- a/kregexpeditor/dragaccepter.cpp +++ b/kregexpeditor/dragaccepter.cpp @@ -28,7 +28,7 @@ DragAccepter::DragAccepter(RegExpEditorWindow* editorWindow, RegExpWidget *paren setAcceptDrops(TRUE); } -TQSize DragAccepter::tqsizeHint() const +TQSize DragAccepter::sizeHint() const { return TQSize(10,10); } @@ -100,7 +100,7 @@ void DragAccepter::mouseReleaseEvent( TQMouseEvent* event ) void DragAccepter::dragEnterEvent(TQDragEnterEvent *event) { - bool selfDrag = ( event->source() && event->source()->tqtopLevelWidget() == tqtopLevelWidget() && _isSelected ); + bool selfDrag = ( event->source() && event->source()->topLevelWidget() == topLevelWidget() && _isSelected ); event->accept(RegExpWidgetDrag::canDecode( event ) && !selfDrag ); } @@ -124,7 +124,7 @@ void DragAccepter::dropEvent(TQDropEvent *event) w->update(); _editorWindow->updateContent( this ); - bool selfDrag = ( event->source() && event->source()->tqtopLevelWidget() == tqtopLevelWidget() ); + bool selfDrag = ( event->source() && event->source()->topLevelWidget() == topLevelWidget() ); if ( ! selfDrag ) _editorWindow->clearSelection( true ); else { |