summaryrefslogtreecommitdiff
path: root/core/settings/launcher/launchersettings.cpp
Unidiff
Diffstat (limited to 'core/settings/launcher/launchersettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/launcher/launchersettings.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/settings/launcher/launchersettings.cpp b/core/settings/launcher/launchersettings.cpp
index 22bf1d1..c32d998 100644
--- a/core/settings/launcher/launchersettings.cpp
+++ b/core/settings/launcher/launchersettings.cpp
@@ -23,19 +23,20 @@
23 59 Temple Place - Suite 330, 23 59 Temple Place - Suite 330,
24 Boston, MA 02111-1307, USA. 24 Boston, MA 02111-1307, USA.
25 25
26*/ 26*/
27 27
28#include <qlayout.h> 28#include <qlayout.h>
29#include <qapplication.h>
29 30
30#include <opie/otabwidget.h> 31#include <opie/otabwidget.h>
31 32
32#include "launchersettings.h" 33#include "launchersettings.h"
33#include "tabssettings.h" 34#include "tabssettings.h"
35#include "menusettings.h"
34#include "taskbarsettings.h" 36#include "taskbarsettings.h"
35#include "guisettings.h"
36 37
37 38
38LauncherSettings::LauncherSettings ( ) : QDialog ( 0, "LauncherSettings", false ) 39LauncherSettings::LauncherSettings ( ) : QDialog ( 0, "LauncherSettings", false )
39{ 40{
40 setCaption ( tr( "Launcher Settings" )); 41 setCaption ( tr( "Launcher Settings" ));
41 42
@@ -43,26 +44,26 @@ LauncherSettings::LauncherSettings ( ) : QDialog ( 0, "LauncherSettings", false
43 44
44 OTabWidget *tw = new OTabWidget ( this, "otab" ); 45 OTabWidget *tw = new OTabWidget ( this, "otab" );
45 lay-> addWidget ( tw ); 46 lay-> addWidget ( tw );
46 47
47 m_tabs = new TabsSettings ( tw ); 48 m_tabs = new TabsSettings ( tw );
48 m_taskbar = new TaskbarSettings ( tw ); 49 m_taskbar = new TaskbarSettings ( tw );
49 m_gui = new GuiSettings ( tw ); 50 m_menu = new MenuSettings ( tw );
50 51
51 tw-> addTab ( m_taskbar, "launchersettings/taskbartab.png", tr( "Taskbar" )); 52 tw-> addTab ( m_taskbar, "launchersettings/taskbartab.png", tr( "Taskbar" ));
53 tw-> addTab ( m_menu, "launchersettings/menutab.png", tr( "O-Menu" ));
52 tw-> addTab ( m_tabs, "launchersettings/tabstab.png", tr( "Tabs" )); 54 tw-> addTab ( m_tabs, "launchersettings/tabstab.png", tr( "Tabs" ));
53 tw-> addTab ( m_gui, "launchersettings/guitab.png", tr( "GUI" ));
54 55
55 tw-> setCurrentTab ( m_taskbar ); 56 tw-> setCurrentTab ( m_taskbar );
56} 57}
57 58
58void LauncherSettings::accept ( ) 59void LauncherSettings::accept ( )
59{ 60{
60 m_taskbar-> accept ( ); 61 m_taskbar-> accept ( );
62 m_menu-> accept ( );
61 m_tabs-> accept ( ); 63 m_tabs-> accept ( );
62 m_gui-> accept ( );
63 64
64 QDialog::accept ( ); 65 QDialog::accept ( );
65} 66}
66 67
67void LauncherSettings::done ( int r ) 68void LauncherSettings::done ( int r )
68{ 69{