--- a/src/hbwidgets/popups/hbinputdialog_p.cpp Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbwidgets/popups/hbinputdialog_p.cpp Wed Aug 18 10:05:37 2010 +0300
@@ -48,7 +48,7 @@
mEdit2(0),
mAdditionalRowVisible(false)
{
- mLabel1 = style()->createPrimitive(HbStyle::P_InputDialog_text,this);
+ mLabel1 = HbStylePrivate::createPrimitive(HbStylePrivate::P_InputDialog_text,this);
mEdit1 = new HbLineEdit(this);
HbStyle::setItemName(mEdit1, "text-1");
@@ -65,7 +65,7 @@
mAdditionalRowVisible = visible;
if(!mLabel2 && visible) {
- mLabel2 = style()->createPrimitive(HbStyle::P_InputDialog_additionaltext,this);
+ mLabel2 = HbStylePrivate::createPrimitive(HbStylePrivate::P_InputDialog_additionaltext,this);
}
if(!mEdit2 && visible) {
@@ -259,12 +259,12 @@
if(row == 0) {
mPromptText = text;
q->initStyleOption(&option);
- q->style()->updatePrimitive(mContentWidget->mLabel1,HbStyle::P_InputDialog_text,&option);
+ HbStylePrivate::updatePrimitive(mContentWidget->mLabel1,HbStylePrivate::P_InputDialog_text,&option);
} else {
mPromptAdditionalText = text;
q->initStyleOption(&option);
if(mContentWidget->mAdditionalRowVisible) {
- q->style()->updatePrimitive(mContentWidget->mLabel2,HbStyle::P_InputDialog_additionaltext,&option);
+ HbStylePrivate::updatePrimitive(mContentWidget->mLabel2,HbStylePrivate::P_InputDialog_additionaltext,&option);
}
}
}