Diffstat (limited to 'core/settings/launcher/launchersettings.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/launcher/launchersettings.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/settings/launcher/launchersettings.cpp b/core/settings/launcher/launchersettings.cpp index 7a020a0..22bf1d1 100644 --- a/core/settings/launcher/launchersettings.cpp +++ b/core/settings/launcher/launchersettings.cpp | |||
@@ -29,12 +29,13 @@ | |||
29 | 29 | ||
30 | #include <opie/otabwidget.h> | 30 | #include <opie/otabwidget.h> |
31 | 31 | ||
32 | #include "launchersettings.h" | 32 | #include "launchersettings.h" |
33 | #include "tabssettings.h" | 33 | #include "tabssettings.h" |
34 | #include "taskbarsettings.h" | 34 | #include "taskbarsettings.h" |
35 | #include "guisettings.h" | ||
35 | 36 | ||
36 | 37 | ||
37 | LauncherSettings::LauncherSettings ( ) : QDialog ( 0, "LauncherSettings", false ) | 38 | LauncherSettings::LauncherSettings ( ) : QDialog ( 0, "LauncherSettings", false ) |
38 | { | 39 | { |
39 | setCaption ( tr( "Launcher Settings" )); | 40 | setCaption ( tr( "Launcher Settings" )); |
40 | 41 | ||
@@ -42,23 +43,26 @@ LauncherSettings::LauncherSettings ( ) : QDialog ( 0, "LauncherSettings", false | |||
42 | 43 | ||
43 | OTabWidget *tw = new OTabWidget ( this, "otab" ); | 44 | OTabWidget *tw = new OTabWidget ( this, "otab" ); |
44 | lay-> addWidget ( tw ); | 45 | lay-> addWidget ( tw ); |
45 | 46 | ||
46 | m_tabs = new TabsSettings ( tw ); | 47 | m_tabs = new TabsSettings ( tw ); |
47 | m_taskbar = new TaskbarSettings ( tw ); | 48 | m_taskbar = new TaskbarSettings ( tw ); |
49 | m_gui = new GuiSettings ( tw ); | ||
48 | 50 | ||
49 | tw-> addTab ( m_taskbar, "appearance/styletabicon.png", tr( "Taskbar" )); | 51 | tw-> addTab ( m_taskbar, "launchersettings/taskbartab.png", tr( "Taskbar" )); |
50 | tw-> addTab ( m_tabs, "appearance/styletabicon.png", tr( "Tabs" )); | 52 | tw-> addTab ( m_tabs, "launchersettings/tabstab.png", tr( "Tabs" )); |
53 | tw-> addTab ( m_gui, "launchersettings/guitab.png", tr( "GUI" )); | ||
51 | 54 | ||
52 | tw-> setCurrentTab ( m_taskbar ); | 55 | tw-> setCurrentTab ( m_taskbar ); |
53 | } | 56 | } |
54 | 57 | ||
55 | void LauncherSettings::accept ( ) | 58 | void LauncherSettings::accept ( ) |
56 | { | 59 | { |
57 | m_taskbar-> accept ( ); | 60 | m_taskbar-> accept ( ); |
58 | m_tabs-> accept ( ); | 61 | m_tabs-> accept ( ); |
62 | m_gui-> accept ( ); | ||
59 | 63 | ||
60 | QDialog::accept ( ); | 64 | QDialog::accept ( ); |
61 | } | 65 | } |
62 | 66 | ||
63 | void LauncherSettings::done ( int r ) | 67 | void LauncherSettings::done ( int r ) |
64 | { | 68 | { |