diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:05:43 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:05:43 -0600 |
commit | fb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca (patch) | |
tree | 5785d2ccbdfbe2f44d02fec75b4a51f5079a4b62 /src/gui/kdeext/klearlook.cpp | |
parent | acf699af8244896500e654cccdc8aae7e5b545db (diff) | |
download | rosegarden-fb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca.tar.gz rosegarden-fb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/gui/kdeext/klearlook.cpp')
-rw-r--r-- | src/gui/kdeext/klearlook.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kdeext/klearlook.cpp b/src/gui/kdeext/klearlook.cpp index ca7f26a..2e4e69b 100644 --- a/src/gui/kdeext/klearlook.cpp +++ b/src/gui/kdeext/klearlook.cpp @@ -609,7 +609,7 @@ void KlearlookStyle::polish( TQStyleControlElementData ceData, ControlElementFla || ::tqqt_cast<TQPopupMenu *>( widget ) ) widget->setBackgroundMode( TQWidget::PaletteBackground ); - else if ( widget->inherits( "KToolBarSeparator" ) ) { + else if ( widget->inherits( "TDEToolBarSeparator" ) ) { widget->setBackgroundMode( TQWidget::NoBackground ); installObjectEventHandler(ceData, elementFlags, ptr, this); @@ -652,7 +652,7 @@ void KlearlookStyle::unPolish( TQStyleControlElementData ceData, ControlElementF ::tqqt_cast<TQPopupMenu *>( widget ) ) widget->setBackgroundMode( TQWidget::PaletteBackground ); - else if ( widget->inherits( "KToolBarSeparator" ) ) { + else if ( widget->inherits( "TDEToolBarSeparator" ) ) { widget->setBackgroundMode( PaletteBackground ); removeObjectEventHandler(ceData, elementFlags, ptr, this); @@ -715,7 +715,7 @@ bool KlearlookStyle::objectEventHandler( TQStyleControlElementData ceData, Contr return false; // Now draw the contents } - } else if ( object->inherits( "KToolBarSeparator" ) && TQEvent::Paint == event->type() ) { + } else if ( object->inherits( "TDEToolBarSeparator" ) && TQEvent::Paint == event->type() ) { TQFrame * frame = dynamic_cast<TQFrame*>( object ); if ( frame && TQFrame::NoFrame != frame->frameShape() ) { @@ -3128,7 +3128,7 @@ void KlearlookStyle::drawComplexControl( #if TDE_VERSION >= 0x30200 if ( bflags & ( Style_Down | Style_On | Style_Raised ) || onControlButtons ) #else - // CPD: Style_MouseOver obove is *needed* for KDE's KToggleActions... + // CPD: Style_MouseOver obove is *needed* for KDE's TDEToggleActions... if ( bflags & ( Style_Down | Style_On | Style_Raised | Style_MouseOver ) || onControlButtons ) #endif |