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

List:       kde-commits
Subject:    kdesdk/kbabel/catalogmanager
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2003-03-17 0:30:12
[Download RAW message or body]

CVS commit by bmeyer: 

KMainWindow can now handle the statusbar and toolbar, removed unnecessary
functionality.


  M +1 -10     catalogmanager.cpp   1.92
  M +0 -1      catalogmanager.h   1.33


--- kdesdk/kbabel/catalogmanager/catalogmanager.cpp  #1.91:1.92
@@ -410,6 +410,5 @@ void CatalogManager::setupActions()
     KStdAction::configureToolbars(this,SLOT(optionsEditToolbars()), actionCollection() );
 
-    KToggleAction* toggle = KStdAction::showStatusbar( this,SLOT( dummySlot() ), actionCollection() );
-    connect( toggle, SIGNAL( toggled(bool) ), this, SLOT( optionsShowStatusbar(bool) ) );
+    createStandardStatusBarAction();
 
     setStandardToolBarMenuEnabled ( true );
@@ -1118,12 +1117,4 @@ void CatalogManager::newToolbarConfig()
     createGUI();
     restoreView();
-}
-
-void CatalogManager::optionsShowStatusbar(bool on)
-{
-    if( on )
-        statusBar()->show();
-    else
-        statusBar()->hide();
 }
 

--- kdesdk/kbabel/catalogmanager/catalogmanager.h  #1.32:1.33
@@ -92,5 +92,4 @@ public slots:
    virtual void optionsKeys();
    virtual void optionsEditToolbars();
-   virtual void optionsShowStatusbar(bool on);
    virtual void dummySlot() {}
    


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

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