class QMyApplication : public QApplication
{
public:
- QMyApplication(int argc, char **argv)
+ QMyApplication(int &argc, char **argv)
: QApplication(argc, argv) {}
virtual bool x11EventFilter ( XEvent * event );
setFocus(Qt::OtherFocusReason);*/
}
-void MultiKBD::handleKeyPress(int device, const char *string)
+void MultiKBD::handleKeyPress(int device, QString string)
{
qDebug() << "Device" << device << "String" << string;
}
virtual void showEvent (QShowEvent *);
private:
- void handleKeyPress(int device, const char *string);
+ void handleKeyPress(int device, QString string);
private:
Ui::MultiKBD *ui;