summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/filecreate_typechoosersig.h
blob: 7f16208ad72385213dd01887083df5bf32ab9d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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