diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-14 20:11:45 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-14 20:11:45 +0000 |
commit | a382b3ab3160bc265983c538cb235eb51b87a4c5 (patch) | |
tree | 9805f2010c017b8376673c4f5f11aed8bcab310a /ksplashml/wndmain.cpp | |
parent | 75ab9920ac2043f45a09dd50763e14f58de9cd65 (diff) | |
download | tdebase-a382b3ab3160bc265983c538cb235eb51b87a4c5.tar.gz tdebase-a382b3ab3160bc265983c538cb235eb51b87a4c5.zip |
Add new "Unified" splash screen
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253671 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksplashml/wndmain.cpp')
-rw-r--r-- | ksplashml/wndmain.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ksplashml/wndmain.cpp b/ksplashml/wndmain.cpp index c037438ab..5287df4cd 100644 --- a/ksplashml/wndmain.cpp +++ b/ksplashml/wndmain.cpp @@ -110,6 +110,7 @@ void KSplash::prepareIconList() mCurrentAction = mActionList.first(); slotSetText( mCurrentAction->ItemText ); + slotSetTextIndex( mActionList.find(mCurrentAction) ); slotSetPixmap( mCurrentAction->ItemPixmap ); emit progressChanged( mStep ); @@ -148,6 +149,7 @@ void KSplash::nextIcon() if( mCurrentAction ) { slotSetText( mCurrentAction->ItemText ); + slotSetTextIndex( mActionList.find(mCurrentAction) ); slotSetPixmap( mCurrentAction->ItemPixmap ); emit progressChanged( ++mStep ); } @@ -396,6 +398,12 @@ void KSplash::slotSetText( const TQString& s ) mThemeEngine->slotSetText( s ); } +void KSplash::slotSetTextIndex( const int i ) +{ + if( mThemeEngine ) + mThemeEngine->slotSetTextIndex( i ); +} + void KSplash::slotSetPixmap( const TQString& px ) { if( mThemeEngine ) |