mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
24 lines
486 B
C
24 lines
486 B
C
|
// fake qwidget.h
|
||
|
#ifndef __FAKE__QWIDGET_H
|
||
|
#define __FAKE__QWIDGET_H
|
||
|
|
||
|
class QString;
|
||
|
|
||
|
class QWidget
|
||
|
{
|
||
|
public:
|
||
|
bool isMinimized() { return false; }
|
||
|
void close(bool) {}
|
||
|
void showMinimized() {}
|
||
|
void showNormal() {}
|
||
|
void setCaption(const QString &) {}
|
||
|
void setIcon(void *) {}
|
||
|
int x() { return 0; }
|
||
|
int y() { return 0; }
|
||
|
int width() { return 0; }
|
||
|
int height() { return 0; }
|
||
|
void setGeometry(int, int, int, int) {}
|
||
|
};
|
||
|
|
||
|
#endif // __FAKE__QWIDGET_H
|