--- a/videocollection/tsrc/stubs/src/hbinputdialog.cpp Thu May 27 12:53:14 2010 +0300
+++ b/videocollection/tsrc/stubs/src/hbinputdialog.cpp Fri Jun 11 13:39:54 2010 +0300
@@ -24,6 +24,7 @@
QString HbInputDialog::mLastText = "";
QVariant HbInputDialog::mValueReturnValue = QVariant();
int HbInputDialog::mValueCallCount = 0;
+int HbInputDialog::mOpenCallCount = 0;
HbInputDialog::HbInputDialog(QGraphicsItem *parent) : HbWidget(parent)
{
@@ -43,6 +44,14 @@
}
}
+void HbInputDialog::open( QObject* receiver, const char* member )
+{
+ Q_UNUSED(receiver);
+ Q_UNUSED(member);
+
+ mOpenCallCount++;
+}
+
void HbInputDialog::getText(const QString &heading
,QObject *receiver
,const char *member
@@ -74,3 +83,21 @@
HbInputDialog::mAttribute = attribute;
}
+void HbInputDialog::setPromptText(const QString &text, int row)
+{
+ while(mSetPromptTexts.count() < row+1)
+ {
+ mSetPromptTexts.append("");
+ }
+ mSetPromptTexts[row] = text;
+}
+
+void HbInputDialog::setValue(const QVariant &value, int row)
+{
+ while(mSetValues.count() < row+1)
+ {
+ mSetValues.append("");
+ }
+ mSetValues[row] = value;
+}
+