Factory::Factory()
: Plugins::iPluginFactory()
- , mPlugin(0)
+ , mPlugin(nullptr)
{
setObjectName(QString("%1-Factory").arg(VER_MODULE_NAME_STR));
{
Q_UNUSED(name);
- if (mPlugin == 0)
+ if (mPlugin == nullptr)
mPlugin = new Internal::Module;
return mPlugin;
}
QString where;
};
- Model(QObject * parent = 0);
+ Model(QObject * parent = nullptr);
Message const & messageAt(int idx) const { return mData.at(idx); }
- virtual int rowCount(QModelIndex const & parent = QModelIndex()) const { return mData.size(); }
+ virtual int rowCount(QModelIndex const & = QModelIndex()) const { return mData.size(); }
virtual QVariant data(QModelIndex const & index, int role = Qt::DisplayRole) const;
public:
- Widget(QString const & source, QWidget * parent = 0);
+ Widget(QString const & source, QWidget * parent = nullptr);
QString const & source() const { return mSource; }
public:
- Window(QString const & args, QWidget * parent = 0, Qt::WindowFlags flags = 0);
+ Window(QString const & args, QWidget * parent = nullptr, Qt::WindowFlags flags = 0);
virtual ~Window();
virtual void done();
- virtual bool isReady() const { return wWindow != 0; }
+ virtual bool isReady() const { return wWindow != nullptr; }
private: // Members