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

List:       kde-commits
Subject:    kdeedu/keduca/keduca
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2004-06-09 13:40:05
Message-ID: 20040609134005.3205B98E9 () office ! kde ! org
[Download RAW message or body]

CVS commit by annma: 

fixes but the Configure Toolbars shows no items...


  M +1 -12     keduca.cpp   1.25
  M +0 -2      keduca.h   1.15


--- kdeedu/keduca/keduca/keduca.cpp  #1.24:1.25
@@ -69,9 +69,6 @@ void Keduca::initMenuBar()
         KStdAction::quit(kapp, SLOT( quit() ), actionCollection());
         
-        setStandardToolBarMenuEnabled(true);
-        KStdAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), actionCollection());
-        KStdAction::configureToolbars(this, SLOT( slotConfigureToolbar() ), actionCollection());
         KStdAction::preferences(this, SLOT( slotConfigure()), actionCollection());
-        createGUI( "keducaui.rc" );
+        setupGUI( );
 }
 
@@ -121,12 +118,4 @@ void Keduca::configWrite()
 }
 
-void Keduca::slotConfigureToolbar()
-{
-        this->saveMainWindowSettings( KGlobal::config(), "keduca" );
-        KEditToolbar edit( actionCollection(), "keducaui.rc", this );
-        connect(&edit,SIGNAL(newToolbarConfig()),this,SLOT(slotNewToolbarConfig()));
-        edit.exec();
-}
-
 void Keduca::slotNewToolbarConfig()
 {

--- kdeedu/keduca/keduca/keduca.h  #1.14:1.15
@@ -74,6 +74,4 @@ private slots:
     /** Close actual document */
     void slotFileClose();
-    /** Configure toolbar */
-    void slotConfigureToolbar();
     /** Configure keduca */
     void slotConfigure();


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

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