diff options
Diffstat (limited to 'kbfxlib')
-rw-r--r-- | kbfxlib/common/kbfxconfig.cpp | 4 | ||||
-rw-r--r-- | kbfxlib/common/kbfxplasmapixmapprovider.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kbfxlib/common/kbfxconfig.cpp b/kbfxlib/common/kbfxconfig.cpp index 99d60d6..c279a41 100644 --- a/kbfxlib/common/kbfxconfig.cpp +++ b/kbfxlib/common/kbfxconfig.cpp @@ -495,8 +495,8 @@ void KbfxConfig::readThemerc ( TQString &themePath, TQString &themeName, bool us } /* load theme's on and off buttons if any */ - KbfxOnImg = TQPixmap::TQPixmap ( KbfxPlasmaPixmapProvider::PixmapPath ( "on", themePath, themeName ) ); - KbfxOffImg = TQPixmap::TQPixmap ( KbfxPlasmaPixmapProvider::PixmapPath ( "off", themePath, themeName ) ); + KbfxOnImg = TQPixmap ( KbfxPlasmaPixmapProvider::PixmapPath ( "on", themePath, themeName ) ); + KbfxOffImg = TQPixmap ( KbfxPlasmaPixmapProvider::PixmapPath ( "off", themePath, themeName ) ); /* use theme's default dude image if any */ KConfigSkeleton *confskel = new KConfigSkeleton ( TQString::tqfromLatin1 ( "kbfxrc" ) ); diff --git a/kbfxlib/common/kbfxplasmapixmapprovider.cpp b/kbfxlib/common/kbfxplasmapixmapprovider.cpp index 9310362..8107583 100644 --- a/kbfxlib/common/kbfxplasmapixmapprovider.cpp +++ b/kbfxlib/common/kbfxplasmapixmapprovider.cpp @@ -41,7 +41,7 @@ KbfxPlasmaPixmapProvider::PixmapPath ( TQString pixmapName ) { TQString lFileName = ConfigInit ().m_SpinxThemeBasePath + ConfigInit ().m_SpinxThemeName + "/" + pixmapName + ".png"; - if ( TQPixmap::TQPixmap ( lFileName ).isNull() ) + if ( TQPixmap ( lFileName ).isNull() ) lFileName = locate ( "data", "kbfx/skins/default/" + pixmapName + ".png" ); return lFileName; @@ -52,7 +52,7 @@ KbfxPlasmaPixmapProvider::PixmapPath ( TQString pixmapName, TQString themePath, { TQString lFileName = themePath + themeName + "/" + pixmapName + ".png"; - if ( TQPixmap::TQPixmap ( lFileName ).isNull() ) + if ( TQPixmap ( lFileName ).isNull() ) lFileName = locate ( "data", "kbfx/skins/default/" + pixmapName + ".png" ); return lFileName; @@ -61,7 +61,7 @@ KbfxPlasmaPixmapProvider::PixmapPath ( TQString pixmapName, TQString themePath, bool KbfxPlasmaPixmapProvider::PixmapPathCheck ( TQString pixmapPath ) { - if ( TQPixmap::TQPixmap ( pixmapPath ).isNull() ) + if ( TQPixmap ( pixmapPath ).isNull() ) return FALSE; return TRUE; |