[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kdepim-3.5.5+/libkhalkhi/control
From: Friedrich W. H. Kossebau <kossebau () kde ! org>
Date: 2007-02-23 18:31:05
Message-ID: 1172255465.018927.28946.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 636655 by kossebau:
set Configure button on item change (bah, forgot to port)
M +2 -0 branches/work/kdepim-3.5.5+/libkhalkhi/control/kactionlistcontrol.cpp
M +2 -0 branches/work/kdepim-3.5.5+/libkhalkhi/control/kdataactionlistcontrol.cpp
M +1 -0 branches/work/kdepim-3.5.5+/libkhalkhi/control/kpropertyactionlistcontrol.cpp
M +1 -0 branches/work/kdepim-3.5.5+/libkhalkhi/control/kpropertydataactionlistcontrol.cpp
M +2 -0 branches/work/kdepim-3.5.5+/libkhalkhi/control/kpropertystatuslistcontrol.cpp
M +2 -0 branches/work/kdepim-3.5.5+/libkhalkhi/control/kstatuslistcontrol.cpp
--- branches/work/kdepim-3.5.5+/libkhalkhi/control/kactionlistcontrol.cpp #636654:636655
@@ -130,6 +130,8 @@
{
KServiceListItem *Item = static_cast<KServiceListItem *>( ListBox->item(Index) );
+ Action1Button->setEnabled( Item->isConfigurable() );
+
emit selected( serviceId(Item->service()) );
}
--- branches/work/kdepim-3.5.5+/libkhalkhi/control/kdataactionlistcontrol.cpp #636654:636655
@@ -130,6 +130,8 @@
{
KServiceListItem *Item = static_cast<KServiceListItem *>( ListBox->item(Index) );
+ Action1Button->setEnabled( Item->isConfigurable() );
+
emit selected( serviceId(Item->service()) );
}
--- branches/work/kdepim-3.5.5+/libkhalkhi/control/kpropertyactionlistcontrol.cpp #636654:636655
@@ -161,6 +161,7 @@
const bool IsMain = Item->isMain();
Action1Button->setEnabled( !IsMain );
Action2Button->setEnabled( IsMain );
+ Action3Button->setEnabled( Item->isConfigurable() );
emit selected( serviceId(Item->service()) );
}
--- branches/work/kdepim-3.5.5+/libkhalkhi/control/kpropertydataactionlistcontrol.cpp #636654:636655
@@ -203,6 +203,7 @@
Item->setMain( true );
Action1Button->setEnabled( false );
Action2Button->setEnabled( true );
+ Action3Button->setEnabled( Item->isConfigurable() );
return Result;
}
--- branches/work/kdepim-3.5.5+/libkhalkhi/control/kpropertystatuslistcontrol.cpp #636654:636655
@@ -129,6 +129,8 @@
{
KServiceListItem *Item = static_cast<KServiceListItem *>( ListBox->item(Index) );
+ Action1Button->setEnabled( Item->isConfigurable() );
+
emit selected( serviceId(Item->service()) );
}
--- branches/work/kdepim-3.5.5+/libkhalkhi/control/kstatuslistcontrol.cpp #636654:636655
@@ -129,6 +129,8 @@
{
KServiceListItem *Item = static_cast<KServiceListItem *>( ListBox->item(Index) );
+ Action1Button->setEnabled( Item->isConfigurable() );
+
emit selected( serviceId(Item->service()) );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic