From a382b3ab3160bc265983c538cb235eb51b87a4c5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 14 Sep 2011 20:11:45 +0000 Subject: Add new "Unified" splash screen git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253671 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksplashml/wndmain.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ksplashml/wndmain.cpp') 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 ) -- cgit v1.2.1