You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
722 B
24 lines
722 B
14 years ago
|
#ifndef SIZEAWARE_H
|
||
|
#define SIZEAWARE_H
|
||
|
#include <qdialog.h>
|
||
|
|
||
|
class SizeAware : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
Q_PROPERTY( QString company READ company WRITE setCompany )
|
||
|
Q_PROPERTY( QString settingsFile READ settingsFile WRITE setSettingsFile )
|
||
|
public:
|
||
|
SizeAware( QDialog *parent = 0, const char *name = 0, bool modal = FALSE );
|
||
|
~SizeAware();
|
||
|
void setCompany( QString company ) { m_company = company; }
|
||
|
QString company() const { return m_company; }
|
||
|
void setSettingsFile( QString settingsFile ) { m_settingsFile = settingsFile; }
|
||
|
QString settingsFile() const { return m_settingsFile; }
|
||
|
public slots:
|
||
|
void destroy();
|
||
|
private:
|
||
|
QString m_company;
|
||
|
QString m_settingsFile;
|
||
|
};
|
||
|
#endif
|