diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 1905a36716979889e47bb0fdd7bf33c6204c5a6d (patch) | |
tree | 0daef2425269e8053435f4f7e734091d72e27be0 /src/gui/kdeext/klearlook.cpp | |
parent | 05768569bc9c8b3eb75c837d305058fc280db63c (diff) | |
download | rosegarden-1905a36716979889e47bb0fdd7bf33c6204c5a6d.tar.gz rosegarden-1905a36716979889e47bb0fdd7bf33c6204c5a6d.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/kdeext/klearlook.cpp')
-rw-r--r-- | src/gui/kdeext/klearlook.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/kdeext/klearlook.cpp b/src/gui/kdeext/klearlook.cpp index 698620f..cdf8904 100644 --- a/src/gui/kdeext/klearlook.cpp +++ b/src/gui/kdeext/klearlook.cpp @@ -170,17 +170,17 @@ inline TQColor midColor( const TQColor &a, const TQColor &b, double factor = 1.0 static bool isFormWidget( const TQWidget *widget ) { //Form widgets are in the KHTMLView, but that has 2 further inner levels //of widgets - TQClipperWidget, and outside of that, TQViewportWidget - TQWidget * potentialClipPort = widget->tqparentWidget(); + TQWidget * potentialClipPort = widget->parentWidget(); if ( !potentialClipPort || potentialClipPort->isTopLevel() ) return false; - TQWidget *potentialViewPort = potentialClipPort->tqparentWidget(); + TQWidget *potentialViewPort = potentialClipPort->parentWidget(); if ( !potentialViewPort || potentialViewPort->isTopLevel() || qstrcmp( potentialViewPort->name(), "qt_viewport" ) ) return false; - TQWidget *potentialKHTML = potentialViewPort->tqparentWidget(); + TQWidget *potentialKHTML = potentialViewPort->parentWidget(); if ( !potentialKHTML || potentialKHTML->isTopLevel() || qstrcmp( potentialKHTML->className(), "KHTMLView" ) ) return false; @@ -3088,14 +3088,14 @@ void KlearlookStyle::tqdrawComplexControl( } bool onControlButtons = false, - onToolbar = widget->tqparentWidget() && ::tqqt_cast<TQToolBar *>( widget->tqparentWidget() ), + onToolbar = widget->parentWidget() && ::tqqt_cast<TQToolBar *>( widget->parentWidget() ), onExtender = !onToolbar && - widget->tqparentWidget() && - widget->tqparentWidget() ->inherits( "TQToolBarExtensionWidget" ) && - ::tqqt_cast<TQToolBar *>( widget->tqparentWidget() ->tqparentWidget() ); + widget->parentWidget() && + widget->parentWidget() ->inherits( "TQToolBarExtensionWidget" ) && + ::tqqt_cast<TQToolBar *>( widget->parentWidget() ->parentWidget() ); - if ( !onToolbar && !onExtender && widget->tqparentWidget() && - !qstrcmp( widget->tqparentWidget() ->name(), "qt_maxcontrols" ) ) + if ( !onToolbar && !onExtender && widget->parentWidget() && + !qstrcmp( widget->parentWidget() ->name(), "qt_maxcontrols" ) ) onControlButtons = true; if ( active & SC_ToolButton ) @@ -3122,11 +3122,11 @@ void KlearlookStyle::tqdrawComplexControl( } // Check whether to draw a background pixmap - else if ( toolbutton->tqparentWidget() && - toolbutton->tqparentWidget() ->backgroundPixmap() && - !toolbutton->tqparentWidget() ->backgroundPixmap() ->isNull() ) { + else if ( toolbutton->parentWidget() && + toolbutton->parentWidget() ->backgroundPixmap() && + !toolbutton->parentWidget() ->backgroundPixmap() ->isNull() ) { p->drawTiledPixmap( r, - *( toolbutton->tqparentWidget() ->backgroundPixmap() ), toolbutton->pos() ); + *( toolbutton->parentWidget() ->backgroundPixmap() ), toolbutton->pos() ); } else if ( widget->tqparent() ) { if ( ::tqqt_cast<const TQToolBar *>( widget->tqparent() ) ) { TQToolBar * tqparent = ( TQToolBar* ) widget->tqparent(); |