No need to register QgsStringRelay with Qt Meta Type

This commit is contained in:
Matthias Kuhn 2012-11-08 11:12:30 +01:00
parent d218d0a69f
commit 6abedba087

View File

@ -85,15 +85,10 @@ class QgsStringRelay : public QObject
Q_OBJECT
public:
QgsStringRelay()
: QObject( NULL ) {}
QgsStringRelay( QObject* parent )
QgsStringRelay( QObject* parent = NULL )
: QObject( parent ) {}
QgsStringRelay( const QgsStringRelay& sr )
: QObject( sr.parent() ) {}
public slots:
void changeText( QString str )
{
@ -104,6 +99,4 @@ signals:
void textChanged( QString );
};
Q_DECLARE_METATYPE( QgsStringRelay )
#endif