Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libjava / classpath / native / jni / qt-peer / buttonevent.h
blobaab11dd039f45a5d609079778d9d6abb32fb1677
1 #ifndef BUTTONEVENT_H
2 #define BUTTONEVENT_H
4 #include <QAbstractButton>
5 #include "mainthreadinterface.h"
7 class AWTLabelEvent : public AWTEvent {
9 private:
10 QAbstractButton *widget;
11 QString *string;
13 public:
14 AWTLabelEvent(QAbstractButton *w, QString *s) : AWTEvent()
16 widget = w;
17 string = s;
20 void runEvent()
22 widget->setText( *string );
23 delete string;
27 #endif