[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/office/kmymoney/kmymoney2/widgets
From: Laurent Montel <montel () kde ! org>
Date: 2009-05-27 18:35:24
Message-ID: 1243449324.730400.13913.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 973721 by mlaurent:
Port++
M +3 -4 kmymoneylineedit.cpp
M +1 -1 kmymoneylineedit.h
--- trunk/playground/office/kmymoney/kmymoney2/widgets/kmymoneylineedit.cpp \
#973720:973721 @@ -38,12 +38,11 @@
#include "kmymoneylineedit.h"
-kMyMoneyLineEdit::kMyMoneyLineEdit(QWidget *w, const char* name, bool \
forceMonetaryDecimalSymbol, int alignment) : \
+kMyMoneyLineEdit::kMyMoneyLineEdit(QWidget *w, const char* name, bool \
forceMonetaryDecimalSymbol, Qt::Alignment alignment) : KLineEdit(w),
m_forceMonetaryDecimalSymbol(forceMonetaryDecimalSymbol)
{
-#warning "port to kde4"
- //setAlignment(alignment);
+ setAlignment(alignment);
}
kMyMoneyLineEdit::~kMyMoneyLineEdit()
@@ -128,7 +127,7 @@
void kMyMoneyLineEdit::drawContents( QPainter *p)
{
-#warning "port to kde4"
+#warning "port to kde4"
//KLineEdit::drawContents(p);
if(text().isEmpty() && !m_hint.isEmpty() && !hasFocus()) {
--- trunk/playground/office/kmymoney/kmymoney2/widgets/kmymoneylineedit.h \
#973720:973721 @@ -57,7 +57,7 @@
* @param alignment Controls the alignment of the text. Default is Qt::AlignLeft \
| Qt::AlignVCenter.
* See Qt::AlignmentFlags for other possible values.
*/
- kMyMoneyLineEdit(QWidget *w = 0, const char* name = 0, bool \
forceMonetaryDecimalSymbol = false, int alignment = (Qt::AlignLeft | \
Qt::AlignVCenter)); + kMyMoneyLineEdit(QWidget *w = 0, const char* name = 0, bool \
forceMonetaryDecimalSymbol = false, Qt::Alignment alignment = (Qt::AlignLeft | \
Qt::AlignVCenter)); ~kMyMoneyLineEdit();
/**
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic