videocollection/tsrc/stubs/inc/hbinputdialog.h
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 38 ff53afa8ad05
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
    28 
    28 
    29 public:
    29 public:
    30     HbInputDialog(QGraphicsItem *parent= 0) : HbWidget(parent) {}
    30     HbInputDialog(QGraphicsItem *parent= 0) : HbWidget(parent) {}
    31     ~HbInputDialog() {}
    31     ~HbInputDialog() {}
    32 
    32 
       
    33     /**
       
    34      * Returns string in parameter text if mGetTextReturnValue is null QString.
       
    35      */
    33     static QString getText(const QString &label,const QString &text = QString(),
    36     static QString getText(const QString &label,const QString &text = QString(),
    34             bool *ok = 0, QGraphicsScene *scene = 0, QGraphicsItem *parent = 0);
    37             bool *ok = 0, QGraphicsScene *scene = 0, QGraphicsItem *parent = 0);
    35     
    38     
    36     static bool mGetTextFails;
    39     static bool mGetTextFails;
       
    40     
       
    41     static QString mGetTextReturnValue;
       
    42     
       
    43     static int mGetTextCallCount;
    37 };
    44 };
    38 
    45 
    39 #endif //HBINPUT_DIALOG_H
    46 #endif //HBINPUT_DIALOG_H
    40 
    47