[SCM] ktp-contact-applet packaging branch, master, updated. debian/15.12.1-1-966-gde83ac5

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:12:41 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-desktop-applets.git;a=commitdiff;h=f077a0d

The following commit has been merged in the master branch:
commit f077a0db1cad7cede8fda332eeb1b18df9632276
Author: Lasath Fernando <kde at lasath.org>
Date:   Sat Nov 26 16:01:53 2011 +1100

    Added a LineEdit to the plasmoid and a sendNewMessage slot to ConversationModel.
    Also made the ListView auto-scroll
---
 chat/org.kde.ktp-chat/contents/ui/TextDelegate.qml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/chat/org.kde.ktp-chat/contents/ui/TextDelegate.qml b/chat/org.kde.ktp-chat/contents/ui/TextDelegate.qml
new file mode 100644
index 0000000..845eb59
--- /dev/null
+++ b/chat/org.kde.ktp-chat/contents/ui/TextDelegate.qml
@@ -0,0 +1,22 @@
+import Qt 4.7
+
+Item {
+    Text {
+        id: header
+        width: view.width
+        wrapMode: Text.Wrap
+
+        text: "[" + Qt.formatTime(model.time) + "] " + model.user + " :"
+    }
+    Text {
+        id: body
+
+        anchors.top: header.bottom
+        width: view.width
+
+        wrapMode: Text.Wrap
+        text: model.text
+    }
+
+    height: header.height + body.height
+}
\ No newline at end of file

-- 
ktp-contact-applet packaging



More information about the pkg-kde-commits mailing list