svn path=/branches/KDE4/; revision=3093
12 files changed:
- CustomTrackScene(KdenliveDoc *doc, QObject *parent = 0);
+ explicit CustomTrackScene(KdenliveDoc *doc, QObject *parent = 0);
virtual ~ CustomTrackScene();
void setSnapList(QList <GenTime> snaps);
GenTime previousSnapPoint(GenTime pos);
virtual ~ CustomTrackScene();
void setSnapList(QList <GenTime> snaps);
GenTime previousSnapPoint(GenTime pos);
class DvdWizard : public QWizard {
Q_OBJECT
public:
class DvdWizard : public QWizard {
Q_OBJECT
public:
- DvdWizard(const QString &url = QString(), const QString &profile = "dv_pal", QWidget * parent = 0);
+ explicit DvdWizard(const QString &url = QString(), const QString &profile = "dv_pal", QWidget * parent = 0);
virtual ~DvdWizard();
private:
virtual ~DvdWizard();
private:
- DvdWizardMenu(const QString &profile, QWidget * parent = 0);
+ explicit DvdWizardMenu(const QString &profile, QWidget * parent = 0);
virtual ~DvdWizardMenu();
virtual bool isComplete() const;
bool createMenu() const;
virtual ~DvdWizardMenu();
virtual bool isComplete() const;
bool createMenu() const;
- EffectsListWidget(QMenu *menu, QWidget *parent = 0);
+ explicit EffectsListWidget(QMenu *menu, QWidget *parent = 0);
virtual ~EffectsListWidget();
QDomElement currentEffect();
QString currentInfo();
virtual ~EffectsListWidget();
QDomElement currentEffect();
QString currentInfo();
class Geometryval : public QWidget {
Q_OBJECT
public:
class Geometryval : public QWidget {
Q_OBJECT
public:
- Geometryval(const MltVideoProfile profile, QWidget* parent = 0);
+ explicit Geometryval(const MltVideoProfile profile, QWidget* parent = 0);
QDomElement getParamDesc();
private:
QDomElement getParamDesc();
private:
class JogShuttle: public QObject {
Q_OBJECT public:
class JogShuttle: public QObject {
Q_OBJECT public:
- JogShuttle(QString device, QObject * parent = 0);
+ explicit JogShuttle(QString device, QObject * parent = 0);
~JogShuttle();
void stopDevice();
void initDevice(QString device);
~JogShuttle();
void stopDevice();
void initDevice(QString device);
* The constructor inits the main window. If Url is present, it will be opened.
* If Url is not present, and openLastproject is set, last project will be set
* If no file is open after trying this, a default "newfile" will be created. */
* The constructor inits the main window. If Url is present, it will be opened.
* If Url is not present, and openLastproject is set, last project will be set
* If no file is open after trying this, a default "newfile" will be created. */
- MainWindow(const QString &MltPath = QString(), const KUrl & Url = KUrl(), QWidget *parent = 0);
+ explicit MainWindow(const QString &MltPath = QString(), const KUrl & Url = KUrl(), QWidget *parent = 0);
void parseProfiles(const QString &mltPath = QString());
static EffectsList videoEffects;
void parseProfiles(const QString &mltPath = QString());
static EffectsList videoEffects;
- ManageCapturesDialog(KUrl::List files, QWidget * parent = 0);
+ explicit ManageCapturesDialog(KUrl::List files, QWidget * parent = 0);
~ManageCapturesDialog();
KUrl::List importFiles();
~ManageCapturesDialog();
KUrl::List importFiles();
- RecMonitor(QString name, QWidget *parent = 0);
+ explicit RecMonitor(QString name, QWidget *parent = 0);
virtual ~RecMonitor();
QString name() const;
virtual ~RecMonitor();
QString name() const;
- RenderWidget(const QString &projectfolder, QWidget * parent = 0);
+ explicit RenderWidget(const QString &projectfolder, QWidget * parent = 0);
void setGuides(QDomElement guidesxml, double duration);
void focusFirstVisibleItem();
void setProfile(MltVideoProfile profile);
void setGuides(QDomElement guidesxml, double duration);
void focusFirstVisibleItem();
void setProfile(MltVideoProfile profile);
public:
enum Formats { HH_MM_SS_FF, HH_MM_SS_HH, Frames, Seconds };
public:
enum Formats { HH_MM_SS_FF, HH_MM_SS_HH, Frames, Seconds };
- Timecode(Formats format = HH_MM_SS_FF, int framesPerSecond =
+ explicit Timecode(Formats format = HH_MM_SS_FF, int framesPerSecond =
25, bool dropFrame = false);
/** Set the current timecode format; this is the output format for this timecode. */
25, bool dropFrame = false);
/** Set the current timecode format; this is the output format for this timecode. */
- TrackView(KdenliveDoc *doc, QWidget *parent = 0);
+ explicit TrackView(KdenliveDoc *doc, QWidget *parent = 0);
const double zoomFactor() const;
const int mapLocalToValue(int x) const;
const double zoomFactor() const;
const int mapLocalToValue(int x) const;