[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:22:32 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=9d32bee
The following commit has been merged in the master branch:
commit 9d32bee123509f8f224cbfbb96fa0fa699f71323
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date: Thu Aug 30 11:14:12 2012 +0200
Add method AdiumThemeMessageInfo::setType
This allows to construct valid derived objects (i.e. AdiumThemeContentInfo)
using the default constructor and setting the type (RemoteToLocal or
LocalToRemote) later.
---
lib/adium-theme-message-info.cpp | 5 +++++
lib/adium-theme-message-info.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/lib/adium-theme-message-info.cpp b/lib/adium-theme-message-info.cpp
index e32910f..b986d6c 100644
--- a/lib/adium-theme-message-info.cpp
+++ b/lib/adium-theme-message-info.cpp
@@ -68,6 +68,11 @@ AdiumThemeMessageInfo::MessageType AdiumThemeMessageInfo::type() const
return d->type;
}
+void AdiumThemeMessageInfo::setType(AdiumThemeMessageInfo::MessageType type)
+{
+ d->type = type;
+}
+
QString AdiumThemeMessageInfo::message() const
{
return d->message;
diff --git a/lib/adium-theme-message-info.h b/lib/adium-theme-message-info.h
index 7b7587e..b29199d 100644
--- a/lib/adium-theme-message-info.h
+++ b/lib/adium-theme-message-info.h
@@ -46,6 +46,7 @@ public:
AdiumThemeMessageInfo &operator=(const AdiumThemeMessageInfo &other);
MessageType type() const;
+ void setType(MessageType type);
/** The message itself of the message/status. */
QString message() const;
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list