OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [native/] [jni/] [qt-peer/] [buttonevent.h] - Rev 774

Compare with Previous | Blame | View Log

#ifndef BUTTONEVENT_H
#define BUTTONEVENT_H
 
#include <QAbstractButton>
#include "mainthreadinterface.h"
 
class AWTLabelEvent : public AWTEvent {
 
 private:
  QAbstractButton *widget;
  QString *string;
 
 public:
  AWTLabelEvent(QAbstractButton *w, QString *s) : AWTEvent()
  {
    widget = w;
    string = s;
  }
 
  void runEvent()
  {
    widget->setText( *string );
    delete string;
  }
};
 
#endif
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.