[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/cervisia
From: David Faure <faure () kde ! org>
Date: 2002-12-10 13:47:20
[Download RAW message or body]
CVS commit by faure:
standard KEditToolbar and setAutoSaveSettings stuff
M +14 -6 cervisiashell.cpp 1.13
M +3 -2 cervisiashell.h 1.6
--- kdesdk/cervisia/cervisiashell.cpp #1.12:1.13
@@ -66,4 +66,6 @@ CervisiaShell::CervisiaShell( const char
createGUI( part );
+
+ setAutoSaveSettings();
}
@@ -135,7 +137,13 @@ void CervisiaShell::slotConfigureKeys()
void CervisiaShell::slotConfigureToolBars()
{
- KEditToolbar dlg( actionCollection() );
- if ( dlg.exec() )
- createGUI( part );
+ saveMainWindowSettings( KGlobal::config(), autoSaveGroup() );
+ KEditToolbar dlg( factory() );
+ connect(&dlg,SIGNAL(newToolbarConfig()),this,SLOT(slotNewToolbarConfig()));
+ dlg.exec();
+}
+
+void CervisiaShell::slotNewToolbarConfig()
+{
+ applyMainWindowSettings( KGlobal::config(), autoSaveGroup() );
}
--- kdesdk/cervisia/cervisiashell.h #1.5:1.6
@@ -43,4 +43,5 @@ public slots:
protected slots:
+ void slotNewToolbarConfig();
void slotChangeFilterStatus(QString status);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic