[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:00:46 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=986934f
The following commit has been merged in the master branch:
commit 986934fd636177051c9f7ac1e9f7d51cbc691f9a
Author: Dario Freddi <dario.freddi at collabora.com>
Date: Thu Dec 15 16:54:29 2011 +0100
fix-krazy: Move to K Classes
---
src/KCMTelepathyAccounts/parameter-edit-delegate.cpp | 6 +++---
src/KCMTelepathyAccounts/unsigned-integer-edit.h | 5 +++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/KCMTelepathyAccounts/parameter-edit-delegate.cpp b/src/KCMTelepathyAccounts/parameter-edit-delegate.cpp
index 772f01d..e7cfd74 100644
--- a/src/KCMTelepathyAccounts/parameter-edit-delegate.cpp
+++ b/src/KCMTelepathyAccounts/parameter-edit-delegate.cpp
@@ -23,11 +23,11 @@
#include "parameter-edit-model.h"
#include <KDebug>
+#include <KLineEdit>
#include <QtGui/QApplication>
#include <QtGui/QCheckBox>
#include <QtGui/QLabel>
-#include <QtGui/QLineEdit>
#include <QtGui/QSpinBox>
#include <QtGui/QPainter>
@@ -49,7 +49,7 @@ QList<QWidget*> ParameterEditDelegate::createItemWidgets() const
// Create all the possible widgets for displaying the parameter.
QLabel *nameLabel = new QLabel();
- QLineEdit *lineEdit = new QLineEdit();
+ KLineEdit *lineEdit = new KLineEdit();
QCheckBox *checkBox = new QCheckBox();
QSpinBox *spinBox = new QSpinBox();
@@ -82,7 +82,7 @@ void ParameterEditDelegate::updateItemWidgets(const QList<QWidget*> widgets,
nameLabel->resize(QSize(((right - (4 * margin)) / 2), option.rect.height()));
// Get all the optional input widgets.
- QLineEdit *lineEdit = qobject_cast<QLineEdit*>(widgets.at(1));
+ KLineEdit *lineEdit = qobject_cast<KLineEdit*>(widgets.at(1));
QCheckBox *checkBox = qobject_cast<QCheckBox*>(widgets.at(2));
QSpinBox *spinBox = qobject_cast<QSpinBox*>(widgets.at(3));
diff --git a/src/KCMTelepathyAccounts/unsigned-integer-edit.h b/src/KCMTelepathyAccounts/unsigned-integer-edit.h
index 9475184..b117d8b 100644
--- a/src/KCMTelepathyAccounts/unsigned-integer-edit.h
+++ b/src/KCMTelepathyAccounts/unsigned-integer-edit.h
@@ -24,10 +24,11 @@
#include "kcm_telepathy_accounts_export.h"
#include <QtCore/QPair>
-#include <QtGui/QLineEdit>
#include <QtGui/QValidator>
-class KCM_TELEPATHY_ACCOUNTS_EXPORT UnsignedIntegerEdit : public QLineEdit
+#include <KLineEdit>
+
+class KCM_TELEPATHY_ACCOUNTS_EXPORT UnsignedIntegerEdit : public KLineEdit
{
Q_OBJECT
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list