diff options
| author | Kevin Smith <git@kismith.co.uk> | 2009-08-24 19:42:19 (GMT) | 
|---|---|---|
| committer | Kevin Smith <git@kismith.co.uk> | 2009-08-24 19:42:19 (GMT) | 
| commit | 0a6875c0f26e9f487e8e245bba569a262246e78d (patch) | |
| tree | 1a34ec40f922de1835f437067692936f7309e089 /Swiften/Roster/TreeWidgetItem.h | |
| parent | 1f7d4ab55ffeaf14c66dcf4f3fb41961916a1192 (diff) | |
| download | swift-0a6875c0f26e9f487e8e245bba569a262246e78d.zip swift-0a6875c0f26e9f487e8e245bba569a262246e78d.tar.bz2  | |
Status icons in the roster show correct status.
Diffstat (limited to 'Swiften/Roster/TreeWidgetItem.h')
| -rw-r--r-- | Swiften/Roster/TreeWidgetItem.h | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/Roster/TreeWidgetItem.h b/Swiften/Roster/TreeWidgetItem.h index 4e20050..4124546 100644 --- a/Swiften/Roster/TreeWidgetItem.h +++ b/Swiften/Roster/TreeWidgetItem.h @@ -3,6 +3,7 @@  #include "Swiften/Base/String.h"  #include "Swiften/Roster/UserRosterAction.h" +#include "Swiften/Elements/StatusShow.h"  #include <boost/signal.hpp>  #include <boost/shared_ptr.hpp> @@ -16,8 +17,9 @@ class TreeWidgetItem {  		virtual void setStatusText(const String& text) = 0;  		virtual void setAvatarPath(const String& path) = 0;  		virtual void setExpanded(bool b) = 0; -		virtual void setTextColor(unsigned long color) = 0; -		virtual void setBackgroundColor(unsigned long color) = 0; +		//virtual void setTextColor(unsigned long color) = 0; +		virtual void setStatusShow(StatusShow::Type show) = 0; +		//virtual void setBackgroundColor(unsigned long color) = 0;  		boost::signal<void (boost::shared_ptr<UserRosterAction>)> onUserAction;  		virtual void show() = 0;  		virtual void hide() = 0;  | 
 Swift