tests/qtp/qtp_wiggly/wigglywidget.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    51     Q_OBJECT
    51     Q_OBJECT
    52 
    52 
    53 public:
    53 public:
    54     WigglyWidget(QWidget *parent = 0);
    54     WigglyWidget(QWidget *parent = 0);
    55 
    55 
       
    56     //  for automated testing
       
    57     QString getText() { return text; };
       
    58 
    56 public slots:
    59 public slots:
    57     void setText(const QString &newText) { text = newText; }
    60     void setText(const QString &newText) { text = newText; }
    58 
    61 
    59 protected:
    62 protected:
    60     void paintEvent(QPaintEvent *event);
    63     void paintEvent(QPaintEvent *event);