[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:17:55 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=ed7d117

The following commit has been merged in the master branch:
commit ed7d11732997c6ad55b3500844365feb4cd7f72a
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Wed Sep 22 19:52:24 2010 +0000

    Added AdiumThemeStatusInfo which passes information about status
    messages from the client application to the ChatView.
    
    svn path=/trunk/playground/network/telepathy-chat-handler/; revision=1178350
---
 lib/CMakeLists.txt            |  1 +
 lib/adiumthemecontentinfo.cpp |  1 -
 lib/adiumthemestatusinfo.cpp  | 24 ++++++++++++++++++++++++
 lib/adiumthemestatusinfo.h    | 20 ++++++++++++++++++++
 4 files changed, 45 insertions(+), 1 deletion(-)

diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 01ba759..a757149 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -7,6 +7,7 @@ set(telepathy_chat_handler_lib_SRCS
         telepathychatmessageinfo.cpp
         adiumthemeheaderinfo.cpp
         adiumthemecontentinfo.cpp
+        adiumthemestatusinfo.cpp
         channelcontactlist.cpp
         chatstyleplistfilereader.cpp
 )
diff --git a/lib/adiumthemecontentinfo.cpp b/lib/adiumthemecontentinfo.cpp
index d6c78bb..03b9e5a 100644
--- a/lib/adiumthemecontentinfo.cpp
+++ b/lib/adiumthemecontentinfo.cpp
@@ -28,7 +28,6 @@ void AdiumThemeContentInfo::setUserIconPath(const QString &userIconPath)
     d->userIconPath = userIconPath;
 }
 
-
 QString AdiumThemeContentInfo::senderScreenName() const
 {
     return d->senderScreenName;
diff --git a/lib/adiumthemestatusinfo.cpp b/lib/adiumthemestatusinfo.cpp
new file mode 100644
index 0000000..f58cc55
--- /dev/null
+++ b/lib/adiumthemestatusinfo.cpp
@@ -0,0 +1,24 @@
+#include "adiumthemestatusinfo.h"
+#include <QString>
+
+class AdiumThemeStatusInfoPrivate
+{
+public:
+    QString status;
+};
+
+AdiumThemeStatusInfo::AdiumThemeStatusInfo():
+        d(new AdiumThemeStatusInfoPrivate)
+{
+}
+
+QString AdiumThemeStatusInfo::status() const
+{
+    return d->status;
+}
+
+void AdiumThemeStatusInfo::setStatus(const QString& status)
+{
+    d->status = status;
+}
+
diff --git a/lib/adiumthemestatusinfo.h b/lib/adiumthemestatusinfo.h
new file mode 100644
index 0000000..5e451bd
--- /dev/null
+++ b/lib/adiumthemestatusinfo.h
@@ -0,0 +1,20 @@
+#ifndef ADIUMTHEMESTATUSINFO_H
+#define ADIUMTHEMESTATUSINFO_H
+
+class QString;
+class AdiumThemeStatusInfoPrivate;
+
+class AdiumThemeStatusInfo
+{
+public:
+    AdiumThemeStatusInfo();
+
+    /** A description of the status event. This is neither in the user's local language nor expected to be displayed*/
+    QString status() const;
+    void setStatus(const QString& status);
+
+private:
+    AdiumThemeStatusInfoPrivate* d;
+};
+
+#endif // ADIUMTHEMESTATUSINFO_H

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list