[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kappfinder
From:       Stephan Binner <binner () kde ! org>
Date:       2004-04-10 16:07:38
Message-ID: 20040410160738.0FFF590F4 () office ! kde ! org
[Download RAW message or body]

CVS commit by binner: 

More icons on buttons, uses new KButtonBox::addButton(const KGuiItem&, ...)


  M +3 -3      toplevel.cpp   1.19


--- kdebase/kappfinder/toplevel.cpp  #1.18:1.19
@@ -78,5 +78,5 @@ TopLevel::TopLevel( const QString &destD
 
   KButtonBox* bbox = new KButtonBox( this );
-  mScanButton = bbox->addButton( i18n( "Scan" ), this, SLOT( slotScan() ) );
+  mScanButton = bbox->addButton( KGuiItem( i18n( "Scan" ), "find"), this, SLOT( slotScan() ) );
   bbox->addStretch( 5 );
   mSelectButton = bbox->addButton( i18n( "Select All" ), this,
@@ -87,7 +87,7 @@ TopLevel::TopLevel( const QString &destD
   mUnSelectButton->setEnabled( false );
   bbox->addStretch( 5 );
-  mApplyButton = bbox->addButton( KStdGuiItem::apply().text(), this, SLOT( slotCreate() ) );
+  mApplyButton = bbox->addButton( KStdGuiItem::apply(), this, SLOT( slotCreate() ) );
   mApplyButton->setEnabled( false );
-  bbox->addButton( KStdGuiItem::close().text(), kapp, SLOT( quit() ) );
+  bbox->addButton( KStdGuiItem::close(), kapp, SLOT( quit() ) );
   bbox->layout();
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic