diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
commit | 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch) | |
tree | daabcb652c07b9a17cad88ca50b63a2d91ead4a3 /ksplashml/themeengine/standard/themestandard.cpp | |
parent | 50001f1757f97510e80cb1990e2f2d5b00144c2a (diff) | |
download | tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksplashml/themeengine/standard/themestandard.cpp')
-rw-r--r-- | ksplashml/themeengine/standard/themestandard.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ksplashml/themeengine/standard/themestandard.cpp b/ksplashml/themeengine/standard/themestandard.cpp index c7e9220e2..0c72b7222 100644 --- a/ksplashml/themeengine/standard/themestandard.cpp +++ b/ksplashml/themeengine/standard/themestandard.cpp @@ -81,7 +81,7 @@ void ThemeStandard::_initUi() move( rect.x() + (rect.width() - size().width())/2, rect.y() + (rect.height() - size().height())/2 ); - mStatus = new WndStatus( TQPalette(), mTheme->xineramaScreen(), mSbAtTop, mSbPbVisible, mSbFont, mSbFg, mSbBg, mSbIcon ); + mtqStatus = new WndtqStatus( TQPalette(), mTheme->xineramaScreen(), mSbAtTop, mSbPbVisible, mSbFont, mSbFg, mSbBg, mSbIcon ); } void ThemeStandard::showEvent( TQShowEvent * ) @@ -91,8 +91,8 @@ void ThemeStandard::showEvent( TQShowEvent * ) if( mSbVisible ) { - mStatus->show(); - mStatusBarHeight = mStatus->height(); + mtqStatus->show(); + mStatusBarHeight = mtqStatus->height(); } else { @@ -143,22 +143,22 @@ void ThemeStandard::_readSettings() // return; cfg->setGroup( TQString("KSplash Theme: %1").arg(mTheme->theme()) ); - TQString sbpos = cfg->readEntry( "Statusbar Position", "Bottom" ).upper(); + TQString sbpos = cfg->readEntry( "tqStatusbar Position", "Bottom" ).upper(); mSbAtTop = ( sbpos == "TOP" ); - mSbVisible = cfg->readBoolEntry( "Statusbar Visible", true); + mSbVisible = cfg->readBoolEntry( "tqStatusbar Visible", true); mSbPbVisible = cfg->readBoolEntry( "Progress Visible", true); - mSbFontName = cfg->readEntry( "Statusbar Font", "Sans Serif" ); - mSbFontSz = cfg->readNumEntry( "Statusbar Font Size", 16 ); - mSbFontBold = cfg->readBoolEntry( "Statusbar Font Bold", true ); - mSbFontItalic = cfg->readBoolEntry( "Statusbar Font Italic", false ); + mSbFontName = cfg->readEntry( "tqStatusbar Font", "Sans Serif" ); + mSbFontSz = cfg->readNumEntry( "tqStatusbar Font Size", 16 ); + mSbFontBold = cfg->readBoolEntry( "tqStatusbar Font Bold", true ); + mSbFontItalic = cfg->readBoolEntry( "tqStatusbar Font Italic", false ); mSbFont = TQFont( mSbFontName, mSbFontSz, ( mSbFontBold? TQFont::Bold : TQFont::Normal ) ); if( mSbFontItalic ) mSbFont.setItalic( true ); - mSbFg = cfg->readColorEntry( "Statusbar Foreground", &Qt::white ); - mSbBg = cfg->readColorEntry( "Statusbar Background", &Qt::black ); - mSbIcon = cfg->readEntry( "Statusbar Icon", "run" ); + mSbFg = cfg->readColorEntry( "tqStatusbar Foreground", &Qt::white ); + mSbBg = cfg->readColorEntry( "tqStatusbar Background", &Qt::black ); + mSbIcon = cfg->readEntry( "tqStatusbar Icon", "run" ); mIconsVisible = cfg->readBoolEntry( "Icons Visible", true); mIconsJumping = cfg->readBoolEntry( "Icons Jumping", true); mIconPos = (WndIcon::Position)cfg->readNumEntry( "Icon Position", 0 ); |