diff -r ff53afa8ad05 -r f6d44a0cd476 videocollection/tsrc/stubs/inc/hbinputdialog.h --- a/videocollection/tsrc/stubs/inc/hbinputdialog.h Fri May 14 15:14:51 2010 +0300 +++ b/videocollection/tsrc/stubs/inc/hbinputdialog.h Fri May 28 09:45:19 2010 +0300 @@ -33,11 +33,9 @@ ~HbInputDialog(); /** - * Returns string in parameter text if mGetTextReturnValue is null QString. + * Create new HbMessageBox and call emitDialogFinished after this one to finish the sequence. */ - /* - static QString getText(const QString &label,const QString &text = QString(), - bool *ok = 0, QGraphicsScene *scene = 0, QGraphicsItem *parent = 0);*/ + void open( QObject* receiver = 0, const char* member = 0 ); /** * Create new HbInputDialog after call to this and call emitDialogFinished to finish the sequence. @@ -53,6 +51,10 @@ void setAttribute(int attribute); + void setPromptText(const QString &text, int row = 0); + + void setValue(const QVariant &value, int row = 0); + QList actions() const { return mActions; @@ -68,10 +70,14 @@ QList mActions; + QList mSetPromptTexts; + QList mSetValues; + static QString mLastHeading; static QString mLastText; static int mGetTextCallCount; static int mAttribute; + static int mOpenCallCount; static QVariant mValueReturnValue; static int mValueCallCount;