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.
29 lines
435 B
29 lines
435 B
15 years ago
|
#ifndef __FILECREATE_TYPECHOOSERSIG_H__
|
||
|
#define __FILECREATE_TYPECHOOSERSIG_H__
|
||
|
|
||
|
#include <qobject.h>
|
||
|
|
||
|
namespace FileCreate {
|
||
|
|
||
|
class FileType;
|
||
|
|
||
|
class Signaller : public QObject {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
Signaller() : QObject() { }
|
||
|
virtual ~Signaller() { }
|
||
|
|
||
|
virtual void signal(const FileType * filetype ) {
|
||
|
emit filetypeSelected(filetype);
|
||
|
}
|
||
|
|
||
|
|
||
|
signals:
|
||
|
void filetypeSelected(const FileType * filetype);
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|