* @param name A unique identifier for this renderer
* @param winid The parent widget identifier (required for SDL display). Set to 0 for OpenGL rendering
* @param profile The MLT profile used for the renderer (default one will be used if empty). */
- AbstractRender(Kdenlive::MONITORID name, QWidget *parent = 0):QObject(parent), sendFrameForAnalysis(false), m_name(name) {};
+ explicit AbstractRender(Kdenlive::MONITORID name, QWidget *parent = 0):QObject(parent), sendFrameForAnalysis(false), m_name(name) {};
/** @brief Destroy the MLT Renderer. */
virtual ~AbstractRender() {};
{
Q_OBJECT
public:
- VideoContainer(AbstractMonitor *monitor, QWidget *parent = 0);
+ explicit VideoContainer(AbstractMonitor *monitor, QWidget *parent = 0);
void switchFullScreen();
protected:
public:
ArchiveWidget(QString projectName, QDomDocument doc, QList <DocClipBase*> list, QStringList luma_list, QWidget * parent = 0);
// Constructor for extracting widget
- ArchiveWidget(const KUrl &url, QWidget * parent = 0);
+ explicit ArchiveWidget(const KUrl &url, QWidget * parent = 0);
~ArchiveWidget();
QString extractedProjectFile();
public:
/** @brief Sets up the UI and sets the spline to @param spline. */
- BezierSplineWidget(const QString &spline, QWidget* parent = 0);
+ explicit BezierSplineWidget(const QString &spline, QWidget* parent = 0);
/** @brief Returns the current spline. */
QString spline();
* @param text (optional) What the color will be used for
* @param color (optional) initial color
* @param alphaEnabled (optional) Should transparent colors be enabled */
- ChooseColorWidget(QString text = QString(), QString color = "0xffffffff", bool alphaEnabled = false, QWidget* parent = 0);
+ explicit ChooseColorWidget(QString text = QString(), QString color = "0xffffffff", bool alphaEnabled = false, QWidget* parent = 0);
/** @brief Gets the choosen color. */
QString getColor();
{
Q_OBJECT
public:
- CustomLabel(const QString &label, bool showSlider = true, int range = 1000, QWidget *parent = 0);
+ explicit CustomLabel(const QString &label, bool showSlider = true, int range = 1000, QWidget *parent = 0);
void setProgressValue(double value);
void setStep(double step);
Q_OBJECT
public:
- DvdWizardVob(const QString &profile, QWidget * parent = 0);
+ explicit DvdWizardVob(const QString &profile, QWidget * parent = 0);
virtual ~DvdWizardVob();
virtual bool isComplete() const;
QStringList selectedUrls() const;
Q_OBJECT
public:
- EffectStackView2(Monitor *monitor, QWidget *parent = 0);
+ explicit EffectStackView2(Monitor *monitor, QWidget *parent = 0);
virtual ~EffectStackView2();
/** @brief Raises @param dock if a clip is loaded. */
{
Q_OBJECT
public:
- EffectStackEdit(Monitor *monitor, QWidget *parent = 0);
+ explicit EffectStackEdit(Monitor *monitor, QWidget *parent = 0);
~EffectStackEdit();
void updateProjectFormat(MltVideoProfile profile, Timecode t);
static QMap<QString, QImage> iconCache;
Q_OBJECT
public:
- EncodingProfilesDialog(int profileType, QWidget * parent = 0);
+ explicit EncodingProfilesDialog(int profileType, QWidget * parent = 0);
~EncodingProfilesDialog();
protected:
* Create a new curve widget with a default curve, that is a straight
* line from bottom-left to top-right.
*/
- KisCurveWidget(QWidget *parent = 0, Qt::WFlags f = 0);
+ explicit KisCurveWidget(QWidget *parent = 0, Qt::WFlags f = 0);
virtual ~KisCurveWidget();
class AudioEnvelope
{
public:
- AudioEnvelope(Mlt::Producer *producer, int offset = 0, int length = 0);
+ explicit AudioEnvelope(Mlt::Producer *producer, int offset = 0, int length = 0);
~AudioEnvelope();
/// Returns the envelope, calculates it if necessary.
Q_OBJECT
public:
- MonitorEditWidget(Render *renderer, QWidget* parent = 0);
+ explicit MonitorEditWidget(Render *renderer, QWidget* parent = 0);
virtual ~MonitorEditWidget();
/** @brief Updates the necessary settings on a profile change. */
{
Q_OBJECT
public:
- MonitorScene(Render *renderer, QObject* parent = 0);
+ explicit MonitorScene(Render *renderer, QObject* parent = 0);
/** @brief Sets m_view to this scenes view. */
void setUp();
class BPointItem : public QAbstractGraphicsShapeItem
{
public:
- BPointItem(BPoint point, QGraphicsItem* parent = 0);
+ explicit BPointItem(BPoint point, QGraphicsItem* parent = 0);
BPoint getPoint();
void setPoint(BPoint point);
Q_OBJECT
public:
- SplineItem(const QList <BPoint> &points, QGraphicsItem* parent = 0, QGraphicsScene *scene = 0);
+ explicit SplineItem(const QList <BPoint> &points, QGraphicsItem* parent = 0, QGraphicsScene *scene = 0);
enum { Type = UserType + 10 };
public:
ProfilesDialog(QWidget * parent = 0);
/** @brief Using this constructor, the dialog only allows editing one profile. */
- ProfilesDialog(QString profilePath, QWidget * parent = 0);
+ explicit ProfilesDialog(QString profilePath, QWidget * parent = 0);
void fillList(const QString selectedProfile = QString());
static QMap< QString, QString > getSettingsForProfile(const QString profileName);
if mouse tracking is enabled.
\see signalMousePositionChanged(): Emitted when mouse tracking is enabled
*/
- AbstractScopeWidget(bool trackMouse = false, QWidget *parent = 0);
+ explicit AbstractScopeWidget(bool trackMouse = false, QWidget *parent = 0);
virtual ~AbstractScopeWidget(); // Must be virtual because of inheritance, to avoid memory leaks
{
Q_OBJECT
public:
- AbstractAudioScopeWidget(bool trackMouse = false, QWidget *parent = 0);
+ explicit AbstractAudioScopeWidget(bool trackMouse = false, QWidget *parent = 0);
virtual ~AbstractAudioScopeWidget();
public slots:
Q_OBJECT
public:
- AbstractGfxScopeWidget(bool trackMouse = false, QWidget *parent = 0);
+ explicit AbstractGfxScopeWidget(bool trackMouse = false, QWidget *parent = 0);
virtual ~AbstractGfxScopeWidget(); // Must be virtual because of inheritance, to avoid memory leaks
protected:
Q_OBJECT
public:
- SlideshowClip(Timecode tc, QWidget * parent = 0);
+ explicit SlideshowClip(Timecode tc, QWidget * parent = 0);
virtual ~ SlideshowClip();
/** return selected path for slideshow in MLT format */
QString selectedPath();
Q_OBJECT
public:
- SmallRuler(MonitorManager *manager, QWidget *parent = 0);
+ explicit SmallRuler(MonitorManager *manager, QWidget *parent = 0);
virtual void mousePressEvent(QMouseEvent * event);
virtual void mouseMoveEvent(QMouseEvent * event);
virtual void leaveEvent( QEvent * event );
{
Q_OBJECT
public:
- CaptureHandler(QVBoxLayout *lay, QWidget *parent = 0);
+ explicit CaptureHandler(QVBoxLayout *lay, QWidget *parent = 0);
~CaptureHandler();
virtual void startPreview(int deviceId, int captureMode, bool audio = true) = 0;
virtual void stopPreview() = 0;
/** @brief Constructor for the widget, sets value to 0.
* @param t Timecode object used to setup correct input (frames or HH:MM:SS:FF)
* @param parent parent Widget */
- TimecodeDisplay(Timecode t, QWidget *parent = 0);
+ explicit TimecodeDisplay(Timecode t, QWidget *parent = 0);
/** @brief Returns the minimum value, which can be entered.
* default is 0 */
Q_OBJECT
public:
- TrackDialog(KdenliveDoc *doc, QWidget * parent = 0);
+ explicit TrackDialog(KdenliveDoc *doc, QWidget * parent = 0);
};
* @param doc the kdenlive document whose tracks to use
* @param selected the track which should be selected by default
* @param parent the parent widget */
- TracksConfigDialog(KdenliveDoc * doc, int selected = -1, QWidget * parent = 0);
+ explicit TracksConfigDialog(KdenliveDoc * doc, int selected = -1, QWidget * parent = 0);
/** @brief Returns the new list of tracks created from the table. */
const QList <TrackInfo> tracksList();
Q_OBJECT
public:
- TransitionSettings(Monitor *monitor, QWidget* parent = 0);
+ explicit TransitionSettings(Monitor *monitor, QWidget* parent = 0);
void raiseWindow(QWidget*);
void updateProjectFormat(MltVideoProfile profile, Timecode t, const QList <TrackInfo> info);
void updateTimecodeFormat();
Q_OBJECT
public:
- AbstractService(QListWidget *listWidget, QObject * parent = 0);
+ explicit AbstractService(QListWidget *listWidget, QObject * parent = 0);
~AbstractService();
/** @brief Get file extension for currently selected item. */
virtual QString getExtension(QListWidgetItem *item);
Q_OBJECT
public:
- ArchiveOrg(QListWidget *listWidget, QObject * parent = 0);
+ explicit ArchiveOrg(QListWidget *listWidget, QObject * parent = 0);
~ArchiveOrg();
virtual QString getExtension(QListWidgetItem *item);
virtual QString getDefaultDownloadName(QListWidgetItem *item);
Q_OBJECT
public:
- FreeSound(QListWidget *listWidget, QObject * parent = 0);
+ explicit FreeSound(QListWidget *listWidget, QObject * parent = 0);
~FreeSound();
virtual QString getExtension(QListWidgetItem *item);
virtual QString getDefaultDownloadName(QListWidgetItem *item);
Q_OBJECT
public:
- OpenClipArt(QListWidget *listWidget, QObject * parent = 0);
+ explicit OpenClipArt(QListWidget *listWidget, QObject * parent = 0);
~OpenClipArt();
virtual QString getExtension(QListWidgetItem *item);
virtual QString getDefaultDownloadName(QListWidgetItem *item);
Q_OBJECT
public:
- ResourceWidget(const QString & folder, QWidget * parent = 0);
+ explicit ResourceWidget(const QString & folder, QWidget * parent = 0);
~ResourceWidget();
{
Q_OBJECT
public:
- Wizard(bool upgrade, QWidget * parent = 0);
+ explicit Wizard(bool upgrade, QWidget * parent = 0);
void installExtraMimes(QString baseName, QStringList globs);
void runUpdateMimeDatabase();
void adjustSettings();