author | sandman <sandman> | 2002-10-01 22:43:23 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-01 22:43:23 (UTC) |
commit | 895280b5ff189fff2e77d6f5f27668e7dad0d88d (patch) (side-by-side diff) | |
tree | d097848e85b307d94445fb247e8e1a11204bc58b /core/settings/launcher/taskbarsettings.cpp | |
parent | 430b2838137a953a39939a992fc6f08a79954752 (diff) | |
download | opie-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.cpp | 31 |
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 @@ -60,23 +60,11 @@ TaskbarSettings::TaskbarSettings ( QWidget *parent, const char *name ) m_list-> header ( )-> hide ( ); lay-> addWidget ( m_list ); - m_omenu = new QCheckBox ( tr( "Show O-Menu" ), this ); - lay-> addWidget ( m_omenu ); - - m_omenu_tabs = new QCheckBox ( tr( "Show Launcher tabs in O-Menu" ), this ); - lay-> addWidget ( m_omenu_tabs ); - QWhatsThis::add ( m_list, tr( "Check the applets that you want displayed in the Taskbar." )); - QWhatsThis::add( m_omenu_tabs, tr( "Adds the contents of the Launcher as menus in the O-Menu." )); - QWhatsThis::add( m_omenu, tr( "Check if you want the O-Menu in the taskbar." )); connect ( m_list, SIGNAL( clicked ( QListViewItem * )), this, SLOT( appletChanged ( ))); - connect ( m_omenu, SIGNAL( toggled ( bool )), m_omenu_tabs, SLOT( setEnabled ( bool ))); - - // This option does not make sense ! (sandman) - m_omenu_tabs-> hide ( ); init ( ); } @@ -127,15 +115,8 @@ void TaskbarSettings::init ( ) item-> setPixmap ( 0, icon ); item-> setOn ( exclude. find ( *it ) == exclude. end ( )); m_applets [*it] = item; } - - cfg. setGroup ( "Menu" ); - - m_omenu_tabs-> setChecked ( cfg. readBoolEntry ( "LauncherTabs", true )); - m_omenu-> setChecked ( cfg. readBoolEntry ( "ShowMenu", true )); - - m_omenu_tabs-> setEnabled ( m_omenu-> isChecked ( )); } void TaskbarSettings::appletChanged() { @@ -155,20 +136,8 @@ void TaskbarSettings::accept ( ) } cfg. writeEntry ( "ExcludeApplets", exclude, ',' ); } cfg. writeEntry ( "SafeMode", false ); - - cfg. setGroup ( "Menu" ); - - if ( m_omenu_tabs-> isChecked ( ) != cfg. readBoolEntry ( "LauncherTabs", true )) { - m_applets_changed = true; - cfg. writeEntry ( "LauncherTabs", m_omenu_tabs-> isChecked ( )); - } - - if ( m_omenu-> isChecked ( ) != cfg. readBoolEntry ( "ShowMenu", true )) { - m_applets_changed = true; - cfg. writeEntry ( "ShowMenu", m_omenu-> isChecked ( )); - } cfg. write ( ); if ( m_applets_changed ) { QCopEnvelope ( "QPE/TaskBar", "reloadApplets()" ); |