summaryrefslogtreecommitdiff
path: root/core/settings/launcher/taskbarsettings.cpp
authorsandman <sandman>2002-10-01 22:43:23 (UTC)
committer sandman <sandman>2002-10-01 22:43:23 (UTC)
commit895280b5ff189fff2e77d6f5f27668e7dad0d88d (patch) (unidiff)
treed097848e85b307d94445fb247e8e1a11204bc58b /core/settings/launcher/taskbarsettings.cpp
parent430b2838137a953a39939a992fc6f08a79954752 (diff)
downloadopie-895280b5ff189fff2e77d6f5f27668e7dad0d88d.zip
opie-895280b5ff189fff2e77d6f5f27668e7dad0d88d.tar.gz
opie-895280b5ff189fff2e77d6f5f27668e7dad0d88d.tar.bz2
- added a config item for the new busyindicator
- added configs for O Menu (launcher part missing at the moment)
Diffstat (limited to 'core/settings/launcher/taskbarsettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/launcher/taskbarsettings.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/core/settings/launcher/taskbarsettings.cpp b/core/settings/launcher/taskbarsettings.cpp
index 6921ee8..b5c03c8 100644
--- a/core/settings/launcher/taskbarsettings.cpp
+++ b/core/settings/launcher/taskbarsettings.cpp
@@ -63,17 +63,5 @@ TaskbarSettings::TaskbarSettings ( QWidget *parent, const char *name )
63 63
64 m_omenu = new QCheckBox ( tr( "Show O-Menu" ), this );
65 lay-> addWidget ( m_omenu );
66
67 m_omenu_tabs = new QCheckBox ( tr( "Show Launcher tabs in O-Menu" ), this );
68 lay-> addWidget ( m_omenu_tabs );
69
70 QWhatsThis::add ( m_list, tr( "Check the applets that you want displayed in the Taskbar." )); 64 QWhatsThis::add ( m_list, tr( "Check the applets that you want displayed in the Taskbar." ));
71 QWhatsThis::add( m_omenu_tabs, tr( "Adds the contents of the Launcher as menus in the O-Menu." ));
72 QWhatsThis::add( m_omenu, tr( "Check if you want the O-Menu in the taskbar." ));
73 65
74 connect ( m_list, SIGNAL( clicked ( QListViewItem * )), this, SLOT( appletChanged ( ))); 66 connect ( m_list, SIGNAL( clicked ( QListViewItem * )), this, SLOT( appletChanged ( )));
75 connect ( m_omenu, SIGNAL( toggled ( bool )), m_omenu_tabs, SLOT( setEnabled ( bool )));
76
77 // This option does not make sense ! (sandman)
78 m_omenu_tabs-> hide ( );
79 67
@@ -130,9 +118,2 @@ void TaskbarSettings::init ( )
130 } 118 }
131
132 cfg. setGroup ( "Menu" );
133
134 m_omenu_tabs-> setChecked ( cfg. readBoolEntry ( "LauncherTabs", true ));
135 m_omenu-> setChecked ( cfg. readBoolEntry ( "ShowMenu", true ));
136
137 m_omenu_tabs-> setEnabled ( m_omenu-> isChecked ( ));
138} 119}
@@ -158,14 +139,2 @@ void TaskbarSettings::accept ( )
158 cfg. writeEntry ( "SafeMode", false ); 139 cfg. writeEntry ( "SafeMode", false );
159
160 cfg. setGroup ( "Menu" );
161
162 if ( m_omenu_tabs-> isChecked ( ) != cfg. readBoolEntry ( "LauncherTabs", true )) {
163 m_applets_changed = true;
164 cfg. writeEntry ( "LauncherTabs", m_omenu_tabs-> isChecked ( ));
165 }
166
167 if ( m_omenu-> isChecked ( ) != cfg. readBoolEntry ( "ShowMenu", true )) {
168 m_applets_changed = true;
169 cfg. writeEntry ( "ShowMenu", m_omenu-> isChecked ( ));
170 }
171 cfg. write ( ); 140 cfg. write ( );