[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim-runtime] resources/google: use KLineEdit, KComboBox and KTextEdit in place of their Qt count
From:       Allen Winter <allen.winter () kdab ! com>
Date:       2012-04-30 23:28:39
Message-ID: 20120430232839.C8B1CA60C8 () git ! kde ! org
[Download RAW message or body]

Git commit 9960b13eed09e6be5cb7955d9c4d8d924d6c0a78 by Allen Winter.
Committed on 01/05/2012 at 00:38.
Pushed by winterz into branch 'master'.

use KLineEdit, KComboBox and KTextEdit in place of their Qt counterparts

M  +21   -4    resources/google/calendar/ui/calendar_editor.ui
M  +8    -1    resources/google/calendar/ui/tasklist_editor.ui
M  +8    -1    resources/google/contacts/ui/groupeditor.ui

http://commits.kde.org/kdepim-runtime/9960b13eed09e6be5cb7955d9c4d8d924d6c0a78

diff --git a/resources/google/calendar/ui/calendar_editor.ui \
b/resources/google/calendar/ui/calendar_editor.ui index b0fc6a2..6347366 100644
--- a/resources/google/calendar/ui/calendar_editor.ui
+++ b/resources/google/calendar/ui/calendar_editor.ui
@@ -53,19 +53,36 @@
     </widget>
    </item>
    <item row="1" column="1" colspan="2">
-    <widget class="QLineEdit" name="nameEdit"/>
+    <widget class="KLineEdit" name="nameEdit"/>
    </item>
    <item row="2" column="1" colspan="2">
-    <widget class="QTextEdit" name="descriptionEdit"/>
+    <widget class="KTextEdit" name="descriptionEdit"/>
    </item>
    <item row="3" column="1" colspan="2">
-    <widget class="QLineEdit" name="locationEdit"/>
+    <widget class="KLineEdit" name="locationEdit"/>
    </item>
    <item row="4" column="1" colspan="2">
-    <widget class="QComboBox" name="timezoneCombo"/>
+    <widget class="KComboBox" name="timezoneCombo"/>
    </item>
   </layout>
  </widget>
+ <customwidgets>
+  <customwidget>
+   <class>KLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header>klineedit.h</header>
+  </customwidget>
+  <customwidget>
+   <class>KComboBox</class>
+   <extends>QComboBox</extends>
+   <header>kcombobox.h</header>
+  </customwidget>
+  <customwidget>
+   <class>KTextEdit</class>
+   <extends>QTextEdit</extends>
+   <header>ktextedit.h</header>
+  </customwidget>
+ </customwidgets>
  <tabstops>
   <tabstop>nameEdit</tabstop>
   <tabstop>descriptionEdit</tabstop>
diff --git a/resources/google/calendar/ui/tasklist_editor.ui \
b/resources/google/calendar/ui/tasklist_editor.ui index 26ada29..637eeee 100644
--- a/resources/google/calendar/ui/tasklist_editor.ui
+++ b/resources/google/calendar/ui/tasklist_editor.ui
@@ -15,7 +15,7 @@
   </property>
   <layout class="QGridLayout" name="gridLayout">
    <item row="1" column="1" colspan="2">
-    <widget class="QLineEdit" name="nameEdit"/>
+    <widget class="KLineEdit" name="nameEdit"/>
    </item>
    <item row="1" column="0">
     <widget class="QLabel" name="label">
@@ -36,6 +36,13 @@
    </item>
   </layout>
  </widget>
+ <customwidgets>
+  <customwidget>
+   <class>KLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header>klineedit.h</header>
+  </customwidget>
+ </customwidgets>
  <tabstops>
   <tabstop>nameEdit</tabstop>
   <tabstop>buttons</tabstop>
diff --git a/resources/google/contacts/ui/groupeditor.ui \
b/resources/google/contacts/ui/groupeditor.ui index 91aa6d1..e79b781 100644
--- a/resources/google/contacts/ui/groupeditor.ui
+++ b/resources/google/contacts/ui/groupeditor.ui
@@ -22,10 +22,17 @@
     </widget>
    </item>
    <item row="0" column="1">
-    <widget class="QLineEdit" name="groupNameEdit"/>
+    <widget class="KLineEdit" name="groupNameEdit"/>
    </item>
   </layout>
  </widget>
+ <customwidgets>
+  <customwidget>
+   <class>KLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header>klineedit.h</header>
+  </customwidget>
+ </customwidgets>
  <resources/>
  <connections/>
 </ui>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic