mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 07:31:19 +02:00
Fix QFlags initialization warning - use constructor
This commit is contained in:
@@ -32,7 +32,7 @@ class RDBusyBar : public QFrame
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RDBusyBar(QWidget *parent=0,Qt::WindowFlags f=0);
|
||||
RDBusyBar(QWidget *parent=0,Qt::WindowFlags f=Qt::WindowFlags());
|
||||
|
||||
public slots:
|
||||
void activate(bool state);
|
||||
|
@@ -28,7 +28,7 @@ class RDBusyDialog : public RDDialog
|
||||
{
|
||||
Q_OBJECT;
|
||||
public:
|
||||
RDBusyDialog(QWidget *parent=0,Qt::WindowFlags f=0);
|
||||
RDBusyDialog(QWidget *parent=0,Qt::WindowFlags f=Qt::WindowFlags());
|
||||
~RDBusyDialog();
|
||||
QSize sizeHint() const;
|
||||
void show(const QString &caption,const QString &label);
|
||||
|
@@ -34,8 +34,8 @@ class RDMainWindow : public RDWidget
|
||||
{
|
||||
Q_OBJECT;
|
||||
public:
|
||||
RDMainWindow(const QString &cmdname,Qt::WindowFlags f=0);
|
||||
RDMainWindow(const QString &cmdname,RDConfig *c,Qt::WindowFlags f=0);
|
||||
RDMainWindow(const QString &cmdname,Qt::WindowFlags f=Qt::WindowFlags());
|
||||
RDMainWindow(const QString &cmdname,RDConfig *c,Qt::WindowFlags f=Qt::WindowFlags());
|
||||
~RDMainWindow();
|
||||
bool loadSettings(bool apply_geometry);
|
||||
bool saveSettings() const;
|
||||
|
@@ -29,8 +29,8 @@ class RDWidget : public QWidget, public RDFontEngine
|
||||
{
|
||||
Q_OBJECT;
|
||||
public:
|
||||
RDWidget(QWidget *parent=0,Qt::WindowFlags f=0);
|
||||
RDWidget(RDConfig *config,QWidget *parent=0,Qt::WindowFlags f=0);
|
||||
RDWidget(QWidget *parent=0,Qt::WindowFlags f=Qt::WindowFlags());
|
||||
RDWidget(RDConfig *config,QWidget *parent=0,Qt::WindowFlags f=Qt::WindowFlags());
|
||||
QPixmap backgroundPixmap() const;
|
||||
void setBackgroundPixmap(const QPixmap &pix);
|
||||
|
||||
|
Reference in New Issue
Block a user