Commit 8939095b authored by luyikei's avatar luyikei
Browse files

Remove useless semicolons

parent c6fceb7c
...@@ -42,7 +42,7 @@ conv( std::string str, SettingValue::Type type ) ...@@ -42,7 +42,7 @@ conv( std::string str, SettingValue::Type type )
return QVariant( std::stoi( str ) ); return QVariant( std::stoi( str ) );
else else
return QVariant( QString::fromStdString( str ) ); return QVariant( QString::fromStdString( str ) );
}; }
EffectHelper::EffectHelper( const char* id, qint64 begin, qint64 end, EffectHelper::EffectHelper( const char* id, qint64 begin, qint64 end,
const QString &uuid ) : const QString &uuid ) :
......
...@@ -32,7 +32,7 @@ class QTranslator; ...@@ -32,7 +32,7 @@ class QTranslator;
class LanguageHelper : public QObject, public Singleton<LanguageHelper> class LanguageHelper : public QObject, public Singleton<LanguageHelper>
{ {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY( LanguageHelper ); Q_DISABLE_COPY( LanguageHelper )
public slots: public slots:
void languageChanged( const QVariant &lang ); void languageChanged( const QVariant &lang );
......
...@@ -31,7 +31,7 @@ class RendererEventWatcher; ...@@ -31,7 +31,7 @@ class RendererEventWatcher;
class WorkflowFileRendererDialog : public QDialog class WorkflowFileRendererDialog : public QDialog
{ {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY( WorkflowFileRendererDialog ); Q_DISABLE_COPY( WorkflowFileRendererDialog )
public: public:
WorkflowFileRendererDialog( quint32 width, quint32 height, qint64 totalFrames, RendererEventWatcher* eventWatcher ); WorkflowFileRendererDialog( quint32 width, quint32 height, qint64 totalFrames, RendererEventWatcher* eventWatcher );
void setOutputFileName( const QString& filename ); void setOutputFileName( const QString& filename );
......
...@@ -34,7 +34,7 @@ class ViewController; ...@@ -34,7 +34,7 @@ class ViewController;
class MediaLibrary : public QWidget class MediaLibrary : public QWidget
{ {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY( MediaLibrary ); Q_DISABLE_COPY( MediaLibrary )
public: public:
typedef bool (*Filter)( const Clip*, const QString& filter ); typedef bool (*Filter)( const Clip*, const QString& filter );
......
...@@ -33,7 +33,7 @@ class Media; ...@@ -33,7 +33,7 @@ class Media;
class ClipMetadataDisplayer : public QWidget class ClipMetadataDisplayer : public QWidget
{ {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(ClipMetadataDisplayer); Q_DISABLE_COPY(ClipMetadataDisplayer)
public: public:
explicit ClipMetadataDisplayer( QWidget *parent = 0 ); explicit ClipMetadataDisplayer( QWidget *parent = 0 );
......
...@@ -46,7 +46,7 @@ class Settings; ...@@ -46,7 +46,7 @@ class Settings;
class Library : public MediaContainer class Library : public MediaContainer
{ {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY( Library ); Q_DISABLE_COPY( Library )
public: public:
Library( Settings* projectSettings ); Library( Settings* projectSettings );
......
...@@ -45,7 +45,7 @@ class Project : public QObject ...@@ -45,7 +45,7 @@ class Project : public QObject
static const QString backupSuffix; static const QString backupSuffix;
public: public:
Q_DISABLE_COPY( Project ); Q_DISABLE_COPY( Project )
Project( Settings* settings ); Project( Settings* settings );
virtual ~Project(); virtual ~Project();
......
...@@ -55,6 +55,6 @@ namespace Workflow ...@@ -55,6 +55,6 @@ namespace Workflow
}; };
} }
Q_DECLARE_METATYPE( Workflow::Helper* ); Q_DECLARE_METATYPE( Workflow::Helper* )
#endif // IHELPER_H #endif // IHELPER_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment