[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9
Maximiliano Curia
maxy at moszumanska.debian.org
Mon May 9 09:05:29 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=43028c5
The following commit has been merged in the master branch:
commit 43028c5073311f0fd67472c23d32e6576292e4c2
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date: Fri Aug 31 08:37:16 2012 +0200
Add method to return the number of appended parts
---
KTp/message.cpp | 5 +++++
KTp/message.h | 3 +++
2 files changed, 8 insertions(+)
diff --git a/KTp/message.cpp b/KTp/message.cpp
index 6db648e..74db8e1 100644
--- a/KTp/message.cpp
+++ b/KTp/message.cpp
@@ -90,3 +90,8 @@ Tp::ChannelTextMessageType Message::type() const
{
return m_messageType;
}
+
+int Message::partsSize() const
+{
+ return m_parts.size();
+}
diff --git a/KTp/message.h b/KTp/message.h
index 65276be..2f6afa4 100644
--- a/KTp/message.h
+++ b/KTp/message.h
@@ -111,6 +111,9 @@ public:
/*!
eturn the type of the message*/
Tp::ChannelTextMessageType type() const;
+ /*
eturn the number of appended parts */
+ int partsSize() const;
+
private:
QDateTime m_sentTime;
QString m_token;
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list