Index: kcmtaskbar.cpp
===================================================================
RCS file: /home/kde/kdebase/kcontrol/taskbar/kcmtaskbar.cpp,v
retrieving revision 1.15
diff -u -3 -p -r1.15 kcmtaskbar.cpp
--- kcmtaskbar.cpp 2001/05/07 18:17:36 1.15
+++ kcmtaskbar.cpp 2001/05/16 02:24:57
@@ -52,6 +52,7 @@ TaskbarConfig::TaskbarConfig( QWidget *p
connect(ui->showAllCheck, SIGNAL(clicked()), SLOT(configChanged()));
connect(ui->showListBtnCheck, SIGNAL(clicked()), SLOT(configChanged()));
connect(ui->groupCheck, SIGNAL(clicked()), SLOT(configChanged()));
+ connect(ui->perDesktopCheck, SIGNAL(clicked()), SLOT(configChanged()));
connect(ui->sortCheck, SIGNAL(clicked()), SLOT(configChanged()));
load();
@@ -75,6 +76,7 @@ void TaskbarConfig::load()
ui->showAllCheck->setChecked(c->readBoolEntry("ShowAllWindows", true));
ui->showListBtnCheck->setChecked(c->readBoolEntry("ShowWindowListBtn", true));
ui->groupCheck->setChecked(c->readBoolEntry("GroupTasks", true));
+ ui->perDesktopCheck->setChecked(c->readBoolEntry("TaskPerDesktop", true));
ui->sortCheck->setChecked(c->readBoolEntry("SortByDesktop", true));
}
@@ -91,6 +93,7 @@ void TaskbarConfig::save()
c->writeEntry("ShowAllWindows", ui->showAllCheck->isChecked());
c->writeEntry("ShowWindowListBtn", ui->showListBtnCheck->isChecked());
c->writeEntry("GroupTasks", ui->groupCheck->isChecked());
+ c->writeEntry("TaskPerDesktop", ui->perDesktopCheck->isChecked());
c->writeEntry("SortByDesktop", ui->sortCheck->isChecked());
c->sync();
}
@@ -111,6 +114,7 @@ void TaskbarConfig::defaults()
ui->showAllCheck->setChecked(true);
ui->showListBtnCheck->setChecked(true);
ui->groupCheck->setChecked(true);
+ ui->perDesktopCheck->setChecked(true);
ui->sortCheck->setChecked(true);
emit changed(true);
}
Index: kcmtaskbarui.ui
===================================================================
RCS file: /home/kde/kdebase/kcontrol/taskbar/kcmtaskbarui.ui,v
retrieving revision 1.2
diff -u -3 -p -r1.2 kcmtaskbarui.ui
--- kcmtaskbarui.ui 2001/05/07 18:17:36 1.2
+++ kcmtaskbarui.ui 2001/05/16 02:24:57
@@ -11,7 +11,7 @@
0
0
- 605
+ 597
454
@@ -22,35 +22,50 @@
layoutMargin
-
+
+ QButtonGroup
- margin
- 4
+ name
+ taskbarGroup
- spacing
- 6
+ geometry
+
+ 4
+ 4
+ 593
+ 160
+
+
+ title
+ Taskbar
+
+
+ layoutMargin
+
+
+ layoutSpacing
+
- QButtonGroup
+ QLayoutWidget
name
- taskbarGroup
+ Layout2
- title
- Taskbar
-
-
- layoutMargin
+ geometry
+
+ 11
+ 17
+ 147
+ 126
+
-
- layoutSpacing
-
margin
- 11
+ 0
spacing
@@ -106,7 +121,7 @@
checked
- true
+ false
whatsThis
@@ -117,6 +132,25 @@
QCheckBox
name
+ perDesktopCheck
+
+
+ text
+ Group tasks &per desktop
+
+
+ checked
+ true
+
+
+ whatsThis
+ Check this option if you want the taskbar to group tasks by deskop.
+
+
+
+ QCheckBox
+
+ name
sortCheck
@@ -134,27 +168,27 @@
-
-
- name
- Spacer1
-
-
- orientation
- Vertical
-
-
- sizeType
- Expanding
-
-
- sizeHint
-
- 20
- 20
-
-
-
-
+
+
+
+ name
+ Spacer1
+
+
+ orientation
+ Vertical
+
+
+ sizeType
+ Expanding
+
+
+ sizeHint
+
+ 20
+ 20
+
+
+