{
// determine charset
int pos;
- QTextCodec *c = 0;
-
- c = QTextCodec::codecForUtfText(ba, c);
+ QTextCodec *c = QTextCodec::codecForUtfText(ba, c);
if (!c) {
QByteArray header = ba.left(512).toLower();
- if ((pos = header.indexOf("http-equiv=")) != -1) {
- if ((pos = header.lastIndexOf("meta ", pos)) != -1) {
+ int pos = pos = header.indexOf("http-equiv=");
+ if (pos != -1) {
+ pos = pos = header.lastIndexOf("meta ", pos);
+ if (pos != -1) {
pos = header.indexOf("charset=", pos) + int(strlen("charset="));
if (pos != -1) {
int pos2 = header.indexOf('\"', pos+1);
class QFutureWatcher : public QFutureWatcherBase
{
public:
- QFutureWatcher(QObject *_parent = 0)
+ QFutureWatcher(QObject *_parent = Q_NULLPTR)
: QFutureWatcherBase(_parent)
{ }
~QFutureWatcher()
class QFutureWatcher<void> : public QFutureWatcherBase
{
public:
- QFutureWatcher(QObject *_parent = 0)
+ QFutureWatcher(QObject *_parent = Q_NULLPTR)
: QFutureWatcherBase(_parent)
{ }
~QFutureWatcher()
public:
T *pointer;
inline QGlobalStatic(T *p) : pointer(p) { }
- inline ~QGlobalStatic() { pointer = 0; }
+ inline ~QGlobalStatic() { pointer = Q_NULLPTR; }
};
#define Q_GLOBAL_STATIC(TYPE, NAME) \
static bool removeFile(const QFileSystemEntry &entry, QSystemError &error);
static bool setPermissions(const QFileSystemEntry &entry, QFile::Permissions permissions, QSystemError &error,
- QFileSystemMetaData *data = 0);
+ QFileSystemMetaData *data = Q_NULLPTR);
static bool setCurrentPath(const QFileSystemEntry &entry);
static QFileSystemEntry currentPath();
ConfFileHash *usedHash = usedHashFunc();
ConfFileCache *unusedCache = unusedCacheFunc();
- QConfFile *confFile = 0;
+ QConfFile *confFile = Q_NULLPTR;
QMutexLocker locker(globalMutex());
if (!(confFile = usedHash->value(absPath))) {
template <> inline const char *qobject_interface_iid<IFace *>() \
{ return IId; } \
template <> inline IFace *qobject_cast<IFace *>(QObject *object) \
- { return reinterpret_cast<IFace *>((object ? object->qt_metacast(IId) : 0)); } \
+ { return reinterpret_cast<IFace *>((object ? object->qt_metacast(IId) : Q_NULLPTR)); } \
template <> inline IFace *qobject_cast<IFace *>(const QObject *object) \
- { return reinterpret_cast<IFace *>((object ? const_cast<QObject *>(object)->qt_metacast(IId) : 0)); }
+ { return reinterpret_cast<IFace *>((object ? const_cast<QObject *>(object)->qt_metacast(IId) : Q_NULLPTR)); }
#endif // Q_MOC_RUN
#ifndef QT_NO_DEBUG_STREAM
static inline void unlock() {}
static void relock() {}
- static inline QMutex *mutex() { return 0; }
+ static inline QMutex *mutex() { return Q_NULLPTR; }
private:
Q_DISABLE_COPY(QMutexLocker)
{
*length = 0;
if (ucs4 > UNICODE_LAST_CODEPOINT)
- return 0;
+ return Q_NULLPTR;
if (ucs4 >= Hangul_SBase && ucs4 < Hangul_SBase + Hangul_SCount) {
int SIndex = ucs4 - Hangul_SBase;
buffer[0] = Hangul_LBase + SIndex / Hangul_NCount; // L
const unsigned short index = GET_DECOMPOSITION_INDEX(ucs4);
if (index == 0xffff)
- return 0;
+ return Q_NULLPTR;
const unsigned short *decomposition = uc_decomposition_map+index;
*tag = (*decomposition) & 0xff;
*length = (*decomposition) >> 8;
int dayOfYear() const;
int daysInMonth() const;
int daysInYear() const;
- int weekNumber(int *yearNum = 0) const;
+ int weekNumber(int *yearNum = Q_NULLPTR) const;
#ifndef QT_NO_TEXTDATE
static QString shortMonthName(int month, MonthNameType type = QDate::DateFormat);
typedef const T *pointer;
typedef const T &reference;
- inline const_iterator() : i(0) { }
+ inline const_iterator() : i(Q_NULLPTR) { }
explicit inline const_iterator(void *node)
: i(reinterpret_cast<QHashData::Node *>(node)) { }
#ifdef QT_STRICT_ITERATORS
typedef const T *pointer;
typedef const T &reference;
Node *i;
- inline const_iterator() : i(0) {}
+ inline const_iterator() : i(Q_NULLPTR) {}
inline const_iterator(Node *n) : i(n) {}
inline const_iterator(const const_iterator &o) : i(o.i){}
inline const_iterator(iterator ci) : i(ci.i){}
typedef const T *pointer;
typedef const T &reference;
- inline const_iterator() : i(0) {}
+ inline const_iterator() : i(Q_NULLPTR) {}
inline const_iterator(Node *n) : i(n) {}
inline const_iterator(const const_iterator &o): i(o.i) {}
#ifdef QT_STRICT_ITERATORS
// ### Qt 5: get rid of 'operator Node *'
inline operator QMapData::Node *() const { return i; }
- inline const_iterator() : i(0) { }
+ inline const_iterator() : i(Q_NULLPTR) { }
inline const_iterator(QMapData::Node *node) : i(node) { }
#ifdef QT_STRICT_ITERATORS
explicit inline const_iterator(const iterator &o)
const QRegExpEngine *eng;
- inline QRegExpMatchState() : bigArray(0), captured(0) {}
+ inline QRegExpMatchState() : bigArray(Q_NULLPTR), captured(Q_NULLPTR) {}
inline ~QRegExpMatchState() { free(bigArray); }
- void drain() { free(bigArray); bigArray = 0; captured = 0; } // to save memory
+ void drain() { free(bigArray); bigArray = Q_NULLPTR; captured = Q_NULLPTR; } // to save memory
void prepareForMatch(QRegExpEngine *eng);
void match(const QChar *str, int len, int pos, bool minimal,
bool oneTest, int caretIndex);
#endif
{
in = str0;
- if (in == 0)
+ if (!in)
in = &char_null;
pos = pos0;
caretPos = caretIndex;
#ifndef QT_NO_REGEXP_ESCAPE
if ((prevCh & ~0xff) == 0) {
const char *p = strchr(tab, prevCh);
- if (p != 0)
+ if (p)
return Tok_Char | backTab[p - tab];
}
#endif
#endif
box.cat(middleBox);
box.cat(rightBox);
- yyCharClass.reset(0);
+ yyCharClass.reset(Q_NULLPTR);
#ifndef QT_NO_REGEXP_CAPTURE
for (int i = 0; i < nf; ++i) {
void QRegExpEngine::parseAtom(Box *box)
{
#ifndef QT_NO_REGEXP_LOOKAHEAD
- QRegExpEngine *eng = 0;
+ QRegExpEngine *eng = Q_NULLPTR;
bool neg;
int len;
#endif
QRegExpMatchState matchState;
inline QRegExpPrivate()
- : eng(0), engineKey(QString(), QRegExp::RegExp, Qt::CaseSensitive), minimal(false) { }
+ : eng(Q_NULLPTR), engineKey(QString(), QRegExp::RegExp, Qt::CaseSensitive), minimal(false) { }
inline QRegExpPrivate(const QRegExpEngineKey &key)
- : eng(0), engineKey(key), minimal(false) {}
+ : eng(Q_NULLPTR), engineKey(key), minimal(false) {}
};
#if !defined(QT_NO_REGEXP_OPTIM)
if (!priv->eng && globalEngineCache()) {
QMutexLocker locker(regexpMutex());
priv->eng = globalEngineCache()->take(priv->engineKey);
- if (priv->eng != 0)
+ if (priv->eng)
priv->eng->ref.ref();
}
#endif // QT_NO_REGEXP_OPTIM
static void invalidateEngine(QRegExpPrivate *priv)
{
- if (priv->eng != 0) {
+ if (priv->eng) {
derefEngine(priv->eng, priv->engineKey);
- priv->eng = 0;
+ priv->eng = Q_NULLPTR;
priv->matchState.drain();
}
}
{
if (a == b)
return (ae - be);
- if (a == 0)
+ if (!a)
return 1;
- if (b == 0)
+ if (!b)
return -1;
const ushort *e = ae;
// Case-insensitive comparison between a Unicode string and a QLatin1String
static int ucstricmp(const ushort *a, const ushort *ae, const uchar *b)
{
- if (a == 0) {
- if (b == 0)
+ if (!a) {
+ if (!b)
return 0;
return 1;
}
- if (b == 0)
+ if (!b)
return -1;
while (a < ae && *b) {
*/
bool QString::startsWith(const QString& s, Qt::CaseSensitivity cs) const
{
- return qt_starts_with(isNull() ? 0 : unicode(), size(),
- s.isNull() ? 0 : s.unicode(), s.size(), cs);
+ return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(),
+ s.isNull() ? Q_NULLPTR : s.unicode(), s.size(), cs);
}
/*!
*/
bool QString::startsWith(const QLatin1String& s, Qt::CaseSensitivity cs) const
{
- return qt_starts_with(isNull() ? 0 : unicode(), size(), s, cs);
+ return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(), s, cs);
}
/*!
*/
bool QString::startsWith(const QStringRef &s, Qt::CaseSensitivity cs) const
{
- return qt_starts_with(isNull() ? 0 : unicode(), size(),
- s.isNull() ? 0 : s.unicode(), s.size(), cs);
+ return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(),
+ s.isNull() ? Q_NULLPTR : s.unicode(), s.size(), cs);
}
/*!
*/
bool QString::endsWith(const QString& s, Qt::CaseSensitivity cs) const
{
- return qt_ends_with(isNull() ? 0 : unicode(), size(),
- s.isNull() ? 0 : s.unicode(), s.size(), cs);
+ return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(),
+ s.isNull() ? Q_NULLPTR : s.unicode(), s.size(), cs);
}
/*!
*/
bool QString::endsWith(const QStringRef &s, Qt::CaseSensitivity cs) const
{
- return qt_ends_with(isNull() ? 0 : unicode(), size(),
- s.isNull() ? 0 : s.unicode(), s.size(), cs);
+ return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(),
+ s.isNull() ? Q_NULLPTR : s.unicode(), s.size(), cs);
}
*/
bool QString::endsWith(const QLatin1String& s, Qt::CaseSensitivity cs) const
{
- return qt_ends_with(isNull() ? 0 : unicode(), size(), s, cs);
+ return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(), s, cs);
}
/*!
if (isNull())
return QByteArray();
- return QUtf8::convertFromUnicode(constData(), length(), 0);
+ return QUtf8::convertFromUnicode(constData(), length(), Q_NULLPTR);
}
/*!
if (size < 0)
size = qstrlen(str);
- return QUtf8::convertToUnicode(str, size, 0);
+ return QUtf8::convertToUnicode(str, size, Q_NULLPTR);
}
/*!
while (unicode[size] != 0)
++size;
}
- return QUtf16::convertToUnicode((const char *)unicode, size*2, 0);
+ return QUtf16::convertToUnicode((const char *)unicode, size*2, Q_NULLPTR);
}
while (unicode[size] != 0)
++size;
}
- return QUtf32::convertToUnicode((const char *)unicode, size*4, 0);
+ return QUtf32::convertToUnicode((const char *)unicode, size*4, Q_NULLPTR);
}
/*!
version = UNICODE_DATA_VERSION;
} else if (version != UNICODE_DATA_VERSION) {
const QString &s = *data;
- QChar *d = 0;
for (int i = 0; i < NumNormalizationCorrections; ++i) {
const NormalizationCorrection &n = uc_normalization_corrections[i];
+ QChar *d = Q_NULLPTR;
if (n.version > version) {
int pos = from;
if (QChar::requiresSurrogates(n.ucs4)) {
*/
bool QStringRef::startsWith(const QString &str, Qt::CaseSensitivity cs) const
{
- return qt_starts_with(isNull() ? 0 : unicode(), size(),
- str.isNull() ? 0 : str.unicode(), str.size(), cs);
+ return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(),
+ str.isNull() ? Q_NULLPTR : str.unicode(), str.size(), cs);
}
/*!
*/
bool QStringRef::startsWith(QLatin1String str, Qt::CaseSensitivity cs) const
{
- return qt_starts_with(isNull() ? 0 : unicode(), size(), str, cs);
+ return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(), str, cs);
}
/*!
*/
bool QStringRef::startsWith(const QStringRef &str, Qt::CaseSensitivity cs) const
{
- return qt_starts_with(isNull() ? 0 : unicode(), size(),
- str.isNull() ? 0 : str.unicode(), str.size(), cs);
+ return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(),
+ str.isNull() ? Q_NULLPTR : str.unicode(), str.size(), cs);
}
/*!
*/
bool QStringRef::endsWith(const QString &str, Qt::CaseSensitivity cs) const
{
- return qt_ends_with(isNull() ? 0 : unicode(), size(),
- str.isNull() ? 0 : str.unicode(), str.size(), cs);
+ return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(),
+ str.isNull() ? Q_NULLPTR : str.unicode(), str.size(), cs);
}
/*!
*/
bool QStringRef::endsWith(QLatin1String str, Qt::CaseSensitivity cs) const
{
- return qt_ends_with(isNull() ? 0 : unicode(), size(), str, cs);
+ return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(), str, cs);
}
/*!
*/
bool QStringRef::endsWith(const QStringRef &str, Qt::CaseSensitivity cs) const
{
- return qt_ends_with(isNull() ? 0 : unicode(), size(),
- str.isNull() ? 0 : str.unicode(), str.size(), cs);
+ return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(),
+ str.isNull() ? Q_NULLPTR : str.unicode(), str.size(), cs);
}
if (isNull())
return QByteArray();
- return QUtf8::convertFromUnicode(constData(), length(), 0);
+ return QUtf8::convertFromUnicode(constData(), length(), Q_NULLPTR);
}
/*!
typedef const T *pointer;
typedef const T &reference;
- inline const_iterator() : i(0) {}
+ inline const_iterator() : i(Q_NULLPTR) {}
inline const_iterator(T *n) : i(n) {}
inline const_iterator(const const_iterator &o): i(o.i) {}
inline explicit const_iterator(const iterator &o): i(o.i) {}
typedef QHash<QString, WatchedServiceData> WatchedServicesHash;
// public methods are entry points from other objects
- explicit QDBusConnectionPrivate(QObject *parent = 0);
+ explicit QDBusConnectionPrivate(QObject *parent = Q_NULLPTR);
~QDBusConnectionPrivate();
void deleteYourself();
public:
QDBusInterface(const QString &service, const QString &path, const QString &interface = QString(),
const QDBusConnection &connection = QDBusConnection::sessionBus(),
- QObject *parent = 0);
+ QObject *parent = Q_NULLPTR);
~QDBusInterface();
virtual const QMetaObject *metaObject() const;
{
Q_OBJECT
public:
- QDBusPendingCallWatcher(const QDBusPendingCall &call, QObject *parent = 0);
+ QDBusPendingCallWatcher(const QDBusPendingCall &call, QObject *parent = Q_NULLPTR);
~QDBusPendingCallWatcher();
void waitForFinished(); // non-virtual override
{
Q_OBJECT
public:
- QDBusServer(const QString &address = QLatin1String("unix:tmpdir=/tmp"), QObject *parent = 0);
+ QDBusServer(const QString &address = QLatin1String("unix:tmpdir=/tmp"), QObject *parent = Q_NULLPTR);
virtual ~QDBusServer();
bool isConnected() const;
};
Q_DECLARE_FLAGS(WatchMode, WatchModeFlag)
- explicit QDBusServiceWatcher(QObject *parent = 0);
+ explicit QDBusServiceWatcher(QObject *parent = Q_NULLPTR);
QDBusServiceWatcher(const QString &service, const QDBusConnection &connection,
- WatchMode watchMode = WatchForOwnerChange, QObject *parent = 0);
+ WatchMode watchMode = WatchForOwnerChange, QObject *parent = Q_NULLPTR);
~QDBusServiceWatcher();
QStringList watchedServices() const;
{
Q_OBJECT
public:
- explicit QDBusVirtualObject(QObject *parent = 0);
+ explicit QDBusVirtualObject(QObject *parent = Q_NULLPTR);
virtual ~QDBusVirtualObject();
virtual QString introspect(const QString &path) const = 0;
// ### TODO : QGraphicsWidget don't have a baseline concept yet.
//Q_PROPERTY(QDeclarativeAnchorLine baseline READ baseline CONSTANT FINAL)
public:
- QDeclarativeGraphicsWidget(QObject *parent = 0);
+ QDeclarativeGraphicsWidget(QObject *parent = Q_NULLPTR);
~QDeclarativeGraphicsWidget();
QDeclarativeAnchors *anchors();
QDeclarativeAnchorLine left() const;
Q_PROPERTY(bool childrenInherit READ childrenInherit WRITE setChildrenInherit NOTIFY childrenInheritChanged)
public:
- explicit QDeclarativeLayoutMirroringAttached(QObject *parent = 0);
+ explicit QDeclarativeLayoutMirroringAttached(QObject *parent = Q_NULLPTR);
bool enabled() const;
void setEnabled(bool);
Q_PROPERTY(qreal y READ y WRITE setY NOTIFY yChanged)
public:
- QDeclarativeTranslate(QObject *parent = 0);
+ QDeclarativeTranslate(QObject *parent = Q_NULLPTR);
~QDeclarativeTranslate();
qreal x() const;
void destroyingItem(QDeclarativeItem *item);
protected:
- QDeclarativeVisualModel(QObjectPrivate &dd, QObject *parent = 0)
+ QDeclarativeVisualModel(QObjectPrivate &dd, QObject *parent = Q_NULLPTR)
: QObject(dd, parent) {}
private:
{
Q_OBJECT
public:
- QDeclarativeAbstractBoundSignal(QObject *parent = 0);
+ QDeclarativeAbstractBoundSignal(QObject *parent = Q_NULLPTR);
virtual ~QDeclarativeAbstractBoundSignal() = 0;
virtual void disconnect() = 0;
Q_PROPERTY(QUrl url READ url CONSTANT)
public:
- QDeclarativeComponent(QObject *parent = 0);
+ QDeclarativeComponent(QObject *parent = Q_NULLPTR);
QDeclarativeComponent(QDeclarativeEngine *, QObject *parent=0);
- QDeclarativeComponent(QDeclarativeEngine *, const QString &fileName, QObject *parent = 0);
- QDeclarativeComponent(QDeclarativeEngine *, const QUrl &url, QObject *parent = 0);
+ QDeclarativeComponent(QDeclarativeEngine *, const QString &fileName, QObject *parent = Q_NULLPTR);
+ QDeclarativeComponent(QDeclarativeEngine *, const QUrl &url, QObject *parent = Q_NULLPTR);
virtual ~QDeclarativeComponent();
Q_ENUMS(Status)
{
Q_OBJECT
public:
- QDeclarativeComponentAttached(QObject *parent = 0);
+ QDeclarativeComponentAttached(QObject *parent = Q_NULLPTR);
~QDeclarativeComponentAttached();
void add(QDeclarativeComponentAttached **a) {
Q_OBJECT
Q_INTERFACES(QDeclarativeExtensionInterface)
public:
- explicit QDeclarativeExtensionPlugin(QObject *parent = 0);
+ explicit QDeclarativeExtensionPlugin(QObject *parent = Q_NULLPTR);
~QDeclarativeExtensionPlugin();
virtual void registerTypes(const char *uri) = 0;
Q_INTERFACES(QDeclarativeParserStatus)
public:
- MyObject(QObject *parent = 0);
+ MyObject(QObject *parent = Q_NULLPTR);
...
void classBegin();
void componentComplete();
{
Q_OBJECT
public:
- QDeclarativeValueType(QObject *parent = 0);
+ QDeclarativeValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int) = 0;
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags flags) = 0;
virtual QVariant value() = 0;
Q_PROPERTY(qreal y READ y WRITE setY)
Q_OBJECT
public:
- QDeclarativePointFValueType(QObject *parent = 0);
+ QDeclarativePointFValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_PROPERTY(int y READ y WRITE setY)
Q_OBJECT
public:
- QDeclarativePointValueType(QObject *parent = 0);
+ QDeclarativePointValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_PROPERTY(qreal height READ height WRITE setHeight)
Q_OBJECT
public:
- QDeclarativeSizeFValueType(QObject *parent = 0);
+ QDeclarativeSizeFValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_PROPERTY(int height READ height WRITE setHeight)
Q_OBJECT
public:
- QDeclarativeSizeValueType(QObject *parent = 0);
+ QDeclarativeSizeValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_PROPERTY(qreal height READ height WRITE setHeight)
Q_OBJECT
public:
- QDeclarativeRectFValueType(QObject *parent = 0);
+ QDeclarativeRectFValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_PROPERTY(int height READ height WRITE setHeight)
Q_OBJECT
public:
- QDeclarativeRectValueType(QObject *parent = 0);
+ QDeclarativeRectValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_PROPERTY(qreal y READ y WRITE setY)
Q_OBJECT
public:
- QDeclarativeVector2DValueType(QObject *parent = 0);
+ QDeclarativeVector2DValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_PROPERTY(qreal z READ z WRITE setZ)
Q_OBJECT
public:
- QDeclarativeVector3DValueType(QObject *parent = 0);
+ QDeclarativeVector3DValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_PROPERTY(qreal w READ w WRITE setW)
Q_OBJECT
public:
- QDeclarativeVector4DValueType(QObject *parent = 0);
+ QDeclarativeVector4DValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_PROPERTY(qreal z READ z WRITE setZ)
Q_OBJECT
public:
- QDeclarativeQuaternionValueType(QObject *parent = 0);
+ QDeclarativeQuaternionValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_PROPERTY(qreal m44 READ m44 WRITE setM44)
Q_OBJECT
public:
- QDeclarativeMatrix4x4ValueType(QObject *parent = 0);
+ QDeclarativeMatrix4x4ValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
SineCurve = QEasingCurve::SineCurve, CosineCurve = QEasingCurve::CosineCurve
};
- QDeclarativeEasingValueType(QObject *parent = 0);
+ QDeclarativeEasingValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
SmallCaps = QFont::SmallCaps,
Capitalize = QFont::Capitalize };
- QDeclarativeFontValueType(QObject *parent = 0);
+ QDeclarativeFontValueType(QObject *parent = Q_NULLPTR);
virtual void read(QObject *, int);
virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
Q_INTERFACES(QDeclarativeParserStatus)
public:
- QDeclarativeWorkerScript(QObject *parent = 0);
+ QDeclarativeWorkerScript(QObject *parent = Q_NULLPTR);
virtual ~QDeclarativeWorkerScript();
QUrl source() const;
{
Q_OBJECT
public:
- QActionAnimation(QObject *parent = 0) : QAbstractAnimation(parent), animAction(0), policy(KeepWhenStopped) {}
- QActionAnimation(QAbstractAnimationAction *action, QObject *parent = 0)
+ QActionAnimation(QObject *parent = Q_NULLPTR) : QAbstractAnimation(parent), animAction(0), policy(KeepWhenStopped) {}
+ QActionAnimation(QAbstractAnimationAction *action, QObject *parent = Q_NULLPTR)
: QAbstractAnimation(parent), animAction(action), policy(KeepWhenStopped) {}
~QActionAnimation() { if (policy == DeleteWhenStopped) { delete animAction; animAction = 0; } }
virtual int duration() const { return 0; }
{
Q_OBJECT
public:
- QDeclarativeBulkValueAnimator(QObject *parent = 0) : QVariantAnimation(parent), animValue(0), fromSourced(0), policy(KeepWhenStopped) {}
+ QDeclarativeBulkValueAnimator(QObject *parent = Q_NULLPTR) : QVariantAnimation(parent), animValue(0), fromSourced(0), policy(KeepWhenStopped) {}
~QDeclarativeBulkValueAnimator() { if (policy == DeleteWhenStopped) { delete animValue; animValue = 0; } }
void setAnimValue(QDeclarativeBulkValueUpdater *value, DeletionPolicy p)
{
{
//Q_OBJECT //doesn't work with templating
public:
- QTickAnimationProxy(T *p, QObject *parent = 0) : QAbstractAnimation(parent), m_p(p) {}
+ QTickAnimationProxy(T *p, QObject *parent = Q_NULLPTR) : QAbstractAnimation(parent), m_p(p) {}
virtual int duration() const { return -1; }
protected:
virtual void updateCurrentTime(int msec) { (m_p->*method)(msec); }
Q_PROPERTY(Qt::LayoutDirection layoutDirection READ layoutDirection NOTIFY layoutDirectionChanged)
public:
- explicit QDeclarativeApplication(QObject *parent = 0);
+ explicit QDeclarativeApplication(QObject *parent = Q_NULLPTR);
virtual ~QDeclarativeApplication();
bool active() const;
Qt::LayoutDirection layoutDirection() const;
public:
enum Status { Null = 0, Ready, Loading, Error };
- QDeclarativeFontLoader(QObject *parent = 0);
+ QDeclarativeFontLoader(QObject *parent = Q_NULLPTR);
~QDeclarativeFontLoader();
QUrl source() const;
{
Q_OBJECT
public:
- QDeclarativePropertyMap(QObject *parent = 0);
+ QDeclarativePropertyMap(QObject *parent = Q_NULLPTR);
virtual ~QDeclarativePropertyMap();
QVariant value(const QString &key) const;
public:
enum ReversingMode { Eased, Immediate, Sync };
- QDeclarativeSmoothedAnimation(QObject *parent = 0);
+ QDeclarativeSmoothedAnimation(QObject *parent = Q_NULLPTR);
~QDeclarativeSmoothedAnimation();
ReversingMode reversingMode() const;
{
Q_OBJECT
public:
- QDeclarativeStateOperation(QObject *parent = 0)
+ QDeclarativeStateOperation(QObject *parent = Q_NULLPTR)
: QObject(parent) {}
typedef QList<QDeclarativeAction> ActionList;
void setState(QDeclarativeState *state);
protected:
- QDeclarativeStateOperation(QObjectPrivate &dd, QObject *parent = 0);
+ QDeclarativeStateOperation(QObjectPrivate &dd, QObject *parent = Q_NULLPTR);
private:
Q_DECLARE_PRIVATE(QDeclarativeStateOperation)
{
Q_OBJECT
public:
- QDeclarativeTimeLine(QObject *parent = 0);
+ QDeclarativeTimeLine(QObject *parent = Q_NULLPTR);
~QDeclarativeTimeLine();
enum SyncMode { LocalSync, GlobalSync };
{
Q_OBJECT
public:
- ParallelAnimationWrapper(QObject *parent = 0) : QParallelAnimationGroup(parent) {}
+ ParallelAnimationWrapper(QObject *parent = Q_NULLPTR) : QParallelAnimationGroup(parent) {}
QDeclarativeTransitionPrivate *trans;
protected:
virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState);
{
Q_OBJECT
public:
- QListModelInterface(QObject *parent = 0) : QObject(parent) {}
+ QListModelInterface(QObject *parent = Q_NULLPTR) : QObject(parent) {}
virtual ~QListModelInterface() {}
virtual int count() const = 0;
{
Q_OBJECT
public:
- explicit BuddyEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = 0);
+ explicit BuddyEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = Q_NULLPTR);
virtual ~BuddyEditorTool();
virtual QDesignerFormEditorInterface *core() const;
{
Q_OBJECT
public:
- explicit BrushManagerProxy(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit BrushManagerProxy(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
~BrushManagerProxy();
void setBrushManager(QtBrushManager *manager);
Q_OBJECT
Q_INTERFACES(QDesignerActionProviderExtension)
public:
- explicit QToolBarActionProvider(QToolBar *widget, QObject *parent = 0);
+ explicit QToolBarActionProvider(QToolBar *widget, QObject *parent = Q_NULLPTR);
virtual QRect actionGeometry(QAction *action) const;
virtual QAction *actionAt(const QPoint &pos) const;
Q_OBJECT
Q_INTERFACES(QDesignerActionProviderExtension)
public:
- explicit QMenuBarActionProvider(QMenuBar *widget, QObject *parent = 0);
+ explicit QMenuBarActionProvider(QMenuBar *widget, QObject *parent = Q_NULLPTR);
virtual QRect actionGeometry(QAction *action) const;
virtual QAction *actionAt(const QPoint &pos) const;
Q_OBJECT
Q_INTERFACES(QDesignerActionProviderExtension)
public:
- explicit QMenuActionProvider(QMenu *widget, QObject *parent = 0);
+ explicit QMenuActionProvider(QMenu *widget, QObject *parent = Q_NULLPTR);
virtual QRect actionGeometry(QAction *action) const;
virtual QAction *actionAt(const QPoint &pos) const;
Q_OBJECT
Q_INTERFACES(QDesignerContainerExtension)
public:
- explicit QStackedWidgetContainer(QStackedWidget *widget, QObject *parent = 0);
+ explicit QStackedWidgetContainer(QStackedWidget *widget, QObject *parent = Q_NULLPTR);
virtual int count() const { return m_widget->count(); }
virtual QWidget *widget(int index) const { return m_widget->widget(index); }
Q_OBJECT
Q_INTERFACES(QDesignerContainerExtension)
public:
- explicit QTabWidgetContainer(QTabWidget *widget, QObject *parent = 0);
+ explicit QTabWidgetContainer(QTabWidget *widget, QObject *parent = Q_NULLPTR);
virtual int count() const { return m_widget->count(); }
virtual QWidget *widget(int index) const { return m_widget->widget(index); }
Q_OBJECT
Q_INTERFACES(QDesignerContainerExtension)
public:
- explicit QToolBoxContainer(QToolBox *widget, QObject *parent = 0);
+ explicit QToolBoxContainer(QToolBox *widget, QObject *parent = Q_NULLPTR);
virtual int count() const { return m_widget->count(); }
virtual QWidget *widget(int index) const { return m_widget->widget(index); }
Q_OBJECT
Q_INTERFACES(QDesignerContainerExtension)
public:
- explicit QScrollAreaContainer(QScrollArea *widget, QObject *parent = 0);
+ explicit QScrollAreaContainer(QScrollArea *widget, QObject *parent = Q_NULLPTR);
};
// --------------- QDockWidgetContainer
Q_OBJECT
Q_INTERFACES(QDesignerContainerExtension)
public:
- explicit QDockWidgetContainer(QDockWidget *widget, QObject *parent = 0);
+ explicit QDockWidgetContainer(QDockWidget *widget, QObject *parent = Q_NULLPTR);
};
typedef ExtensionFactory<QDesignerContainerExtension, QStackedWidget, QStackedWidgetContainer> QDesignerStackedWidgetContainerFactory;
{
Q_OBJECT
public:
- FormEditor(QObject *parent = 0);
+ FormEditor(QObject *parent = Q_NULLPTR);
virtual ~FormEditor();
public slots:
void slotQrcFileChangedExternally(const QString &path);
{
Q_OBJECT
public:
- FormWindowWidgetStack(QObject *parent = 0);
+ FormWindowWidgetStack(QObject *parent = Q_NULLPTR);
virtual ~FormWindowWidgetStack();
QLayout *layout() const;
{
Q_OBJECT
public:
- explicit FormWindowCursor(FormWindow *fw, QObject *parent = 0);
+ explicit FormWindowCursor(FormWindow *fw, QObject *parent = Q_NULLPTR);
virtual ~FormWindowCursor();
virtual QDesignerFormWindowInterface *formWindow() const;
{
Q_OBJECT
public:
- explicit FormWindowManager(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit FormWindowManager(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
virtual ~FormWindowManager();
virtual QDesignerFormEditorInterface *core() const;
Q_OBJECT
Q_INTERFACES(QDesignerPropertySheetExtension)
public:
- explicit ItemViewPropertySheet(QTreeView *treeViewObject, QObject *parent = 0);
- explicit ItemViewPropertySheet(QTableView *tableViewObject, QObject *parent = 0);
+ explicit ItemViewPropertySheet(QTreeView *treeViewObject, QObject *parent = Q_NULLPTR);
+ explicit ItemViewPropertySheet(QTableView *tableViewObject, QObject *parent = Q_NULLPTR);
~ItemViewPropertySheet();
QHash<QString,QString> propertyNameMap() const;
Q_OBJECT
Q_INTERFACES(QDesignerPropertySheetExtension)
public:
- explicit LayoutPropertySheet(QLayout *object, QObject *parent = 0);
+ explicit LayoutPropertySheet(QLayout *object, QObject *parent = Q_NULLPTR);
virtual ~LayoutPropertySheet();
virtual void setProperty(int index, const QVariant &value);
Q_OBJECT
Q_INTERFACES(QDesignerPropertySheetExtension)
public:
- explicit LinePropertySheet(Line *object, QObject *parent = 0);
+ explicit LinePropertySheet(Line *object, QObject *parent = Q_NULLPTR);
virtual ~LinePropertySheet();
virtual void setProperty(int index, const QVariant &value);
Q_DISABLE_COPY(PreviewActionGroup)
Q_OBJECT
public:
- explicit PreviewActionGroup(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit PreviewActionGroup(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
signals:
void preview(const QString &style, int deviceProfileIndex);
Q_DISABLE_COPY(QDesignerUndoStack)
Q_OBJECT
public:
- explicit QDesignerUndoStack(QObject *parent = 0);
+ explicit QDesignerUndoStack(QObject *parent = Q_NULLPTR);
virtual ~QDesignerUndoStack();
void push(QUndoCommand * cmd);
Q_OBJECT
Q_INTERFACES(QDesignerPropertySheetExtension)
public:
- explicit QLayoutWidgetPropertySheet(QLayoutWidget *object, QObject *parent = 0);
+ explicit QLayoutWidgetPropertySheet(QLayoutWidget *object, QObject *parent = Q_NULLPTR);
virtual ~QLayoutWidgetPropertySheet();
virtual void setProperty(int index, const QVariant &value);
Q_OBJECT
Q_INTERFACES(QDesignerContainerExtension)
public:
- explicit QMainWindowContainer(QMainWindow *widget, QObject *parent = 0);
+ explicit QMainWindowContainer(QMainWindow *widget, QObject *parent = Q_NULLPTR);
virtual int count() const;
virtual QWidget *widget(int index) const;
Q_OBJECT
Q_INTERFACES(QDesignerContainerExtension)
public:
- explicit QMdiAreaContainer(QMdiArea *widget, QObject *parent = 0);
+ explicit QMdiAreaContainer(QMdiArea *widget, QObject *parent = Q_NULLPTR);
virtual int count() const;
virtual QWidget *widget(int index) const;
Q_OBJECT
Q_INTERFACES(QDesignerPropertySheetExtension)
public:
- explicit QMdiAreaPropertySheet(QWidget *mdiArea, QObject *parent = 0);
+ explicit QMdiAreaPropertySheet(QWidget *mdiArea, QObject *parent = Q_NULLPTR);
virtual void setProperty(int index, const QVariant &value);
virtual bool reset(int index);
{
Q_OBJECT
public:
- QtBrushManager(QObject *parent = 0);
+ QtBrushManager(QObject *parent = Q_NULLPTR);
~QtBrushManager();
QBrush brush(const QString &name) const;
Q_OBJECT
Q_INTERFACES(QDesignerContainerExtension)
public:
- explicit QWizardContainer(QWizard *widget, QObject *parent = 0);
+ explicit QWizardContainer(QWizard *widget, QObject *parent = Q_NULLPTR);
virtual int count() const;
virtual QWidget *widget(int index) const;
{
Q_OBJECT
public:
- explicit QWizardPagePropertySheet(QWizardPage *object, QObject *parent = 0);
+ explicit QWizardPagePropertySheet(QWizardPage *object, QObject *parent = Q_NULLPTR);
virtual bool reset(int index);
{
Q_OBJECT
public:
- explicit QWizardPropertySheet(QWizard *object, QObject *parent = 0);
+ explicit QWizardPropertySheet(QWizard *object, QObject *parent = Q_NULLPTR);
virtual bool isVisible(int index) const;
private:
Q_OBJECT
Q_INTERFACES(QDesignerContainerExtension)
public:
- explicit QWorkspaceContainer(QWorkspace *widget, QObject *parent = 0);
+ explicit QWorkspaceContainer(QWorkspace *widget, QObject *parent = Q_NULLPTR);
virtual int count() const;
virtual QWidget *widget(int index) const;
Q_OBJECT
Q_INTERFACES(QDesignerPropertySheetExtension)
public:
- explicit SpacerPropertySheet(Spacer *object, QObject *parent = 0);
+ explicit SpacerPropertySheet(Spacer *object, QObject *parent = Q_NULLPTR);
virtual ~SpacerPropertySheet();
virtual void setProperty(int index, const QVariant &value);
// Delegate with object name validator for the object name column
class ObjectInspectorDelegate : public QItemDelegate {
public:
- explicit ObjectInspectorDelegate(QObject *parent = 0);
+ explicit ObjectInspectorDelegate(QObject *parent = Q_NULLPTR);
virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
};
{
Q_OBJECT
public:
- ResetDecorator(QObject *parent = 0) : QObject(parent), m_spacing(-1) {}
+ ResetDecorator(QObject *parent = Q_NULLPTR) : QObject(parent), m_spacing(-1) {}
~ResetDecorator();
void connectPropertyManager(QtAbstractPropertyManager *manager);
{
Q_OBJECT
public:
- explicit DesignerPropertyManager(QObject *parent = 0);
+ explicit DesignerPropertyManager(QObject *parent = Q_NULLPTR);
~DesignerPropertyManager();
virtual QStringList attributes(int propertyType) const;
{
Q_OBJECT
public:
- explicit DesignerEditorFactory(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit DesignerEditorFactory(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
~DesignerEditorFactory();
void setSpacing(int spacing);
void setFormWindowBase(FormWindowBase *fwb);
Q_OBJECT
Q_PROPERTY(QPalette::ColorRole colorRole READ colorRole)
public:
- explicit PaletteModel(QObject *parent = 0);
+ explicit PaletteModel(QObject *parent = Q_NULLPTR);
int rowCount(const QModelIndex &parent = QModelIndex()) const;
int columnCount(const QModelIndex &parent = QModelIndex()) const;
Q_OBJECT
public:
- explicit ColorDelegate(QObject *parent = 0);
+ explicit ColorDelegate(QObject *parent = Q_NULLPTR);
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
const QModelIndex &index) const;
{
Q_OBJECT
public:
- explicit ConnectionModel(QObject *parent = 0);
+ explicit ConnectionModel(QObject *parent = Q_NULLPTR);
void setEditor(SignalSlotEditor *editor = 0);
virtual QModelIndex index(int row, int column,
{
Q_OBJECT
public:
- explicit SignalSlotEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = 0);
+ explicit SignalSlotEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = Q_NULLPTR);
virtual ~SignalSlotEditorTool();
virtual QDesignerFormEditorInterface *core() const;
public:
enum { TitleItem = 1 };
- InlineEditorModel(int rows, int cols, QObject *parent = 0);
+ InlineEditorModel(int rows, int cols, QObject *parent = Q_NULLPTR);
void addTitle(const QString &title);
void addTextList(const QMap<QString, bool> &text_list);
{
Q_OBJECT
public:
- explicit TabOrderEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = 0);
+ explicit TabOrderEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = Q_NULLPTR);
virtual ~TabOrderEditorTool();
virtual QDesignerFormEditorInterface *core() const;
Q_OBJECT
Q_DISABLE_COPY(ButtonGroupMenu)
public:
- ButtonGroupMenu(QObject *parent = 0);
+ ButtonGroupMenu(QObject *parent = Q_NULLPTR);
void initialize(QDesignerFormWindowInterface *formWindow,
QButtonGroup *buttonGroup = 0,
Q_DISABLE_COPY(ButtonGroupTaskMenu)
Q_INTERFACES(QDesignerTaskMenuExtension)
public:
- explicit ButtonGroupTaskMenu(QButtonGroup *buttonGroup, QObject *parent = 0);
+ explicit ButtonGroupTaskMenu(QButtonGroup *buttonGroup, QObject *parent = Q_NULLPTR);
virtual QAction *preferredEditAction() const;
virtual QList<QAction*> taskActions() const;
Q_OBJECT
Q_DISABLE_COPY(ButtonTaskMenu)
public:
- explicit ButtonTaskMenu(QAbstractButton *button, QObject *parent = 0);
+ explicit ButtonTaskMenu(QAbstractButton *button, QObject *parent = Q_NULLPTR);
virtual ~ButtonTaskMenu();
virtual QAction *preferredEditAction() const;
Q_OBJECT
Q_DISABLE_COPY(CommandLinkButtonTaskMenu)
public:
- explicit CommandLinkButtonTaskMenu(QCommandLinkButton *button, QObject *parent = 0);
+ explicit CommandLinkButtonTaskMenu(QCommandLinkButton *button, QObject *parent = Q_NULLPTR);
};
typedef ExtensionFactory<QDesignerTaskMenuExtension, QButtonGroup, ButtonGroupTaskMenu> ButtonGroupTaskMenuFactory;
Q_OBJECT
public:
explicit ComboBoxTaskMenu(QComboBox *button,
- QObject *parent = 0);
+ QObject *parent = Q_NULLPTR);
virtual ~ComboBoxTaskMenu();
virtual QAction *preferredEditAction() const;
{
Q_OBJECT
public:
- explicit ContainerWidgetTaskMenu(QWidget *widget, ContainerType type, QObject *parent = 0);
+ explicit ContainerWidgetTaskMenu(QWidget *widget, ContainerType type, QObject *parent = Q_NULLPTR);
virtual ~ContainerWidgetTaskMenu();
virtual QAction *preferredEditAction() const;
class WizardContainerWidgetTaskMenu : public ContainerWidgetTaskMenu {
Q_OBJECT
public:
- explicit WizardContainerWidgetTaskMenu(QWizard *w, QObject *parent = 0);
+ explicit WizardContainerWidgetTaskMenu(QWizard *w, QObject *parent = Q_NULLPTR);
virtual QList<QAction*> taskActions() const;
class MdiContainerWidgetTaskMenu : public ContainerWidgetTaskMenu {
Q_OBJECT
public:
- explicit MdiContainerWidgetTaskMenu(QMdiArea *m, QObject *parent = 0);
- explicit MdiContainerWidgetTaskMenu(QWorkspace *m, QObject *parent = 0);
+ explicit MdiContainerWidgetTaskMenu(QMdiArea *m, QObject *parent = Q_NULLPTR);
+ explicit MdiContainerWidgetTaskMenu(QWorkspace *m, QObject *parent = Q_NULLPTR);
virtual QList<QAction*> taskActions() const;
private:
{
Q_OBJECT
public:
- explicit GroupBoxTaskMenu(QGroupBox *groupbox, QObject *parent = 0);
+ explicit GroupBoxTaskMenu(QGroupBox *groupbox, QObject *parent = Q_NULLPTR);
virtual QAction *preferredEditAction() const;
virtual QList<QAction*> taskActions() const;
{
Q_OBJECT
public:
- explicit LabelTaskMenu(QLabel *button, QObject *parent = 0);
+ explicit LabelTaskMenu(QLabel *button, QObject *parent = Q_NULLPTR);
virtual QAction *preferredEditAction() const;
virtual QList<QAction*> taskActions() const;
Q_OBJECT
Q_INTERFACES(QDesignerTaskMenuExtension)
public:
- explicit LayoutWidgetTaskMenu(QLayoutWidget *w, QObject *parent = 0);
+ explicit LayoutWidgetTaskMenu(QLayoutWidget *w, QObject *parent = Q_NULLPTR);
virtual QAction *preferredEditAction() const;
virtual QList<QAction*> taskActions() const;
Q_OBJECT
Q_INTERFACES(QDesignerTaskMenuExtension)
public:
- explicit SpacerTaskMenu(Spacer *bar, QObject *parent = 0);
+ explicit SpacerTaskMenu(Spacer *bar, QObject *parent = Q_NULLPTR);
virtual QAction *preferredEditAction() const;
virtual QList<QAction*> taskActions() const;
{
Q_OBJECT
public:
- explicit LineEditTaskMenu(QLineEdit *button, QObject *parent = 0);
+ explicit LineEditTaskMenu(QLineEdit *button, QObject *parent = Q_NULLPTR);
virtual QAction *preferredEditAction() const;
virtual QList<QAction*> taskActions() const;
{
Q_OBJECT
public:
- explicit ListWidgetTaskMenu(QListWidget *button, QObject *parent = 0);
+ explicit ListWidgetTaskMenu(QListWidget *button, QObject *parent = Q_NULLPTR);
virtual ~ListWidgetTaskMenu();
virtual QAction *preferredEditAction() const;
Q_OBJECT
Q_INTERFACES(QDesignerTaskMenuExtension)
public:
- explicit MenuTaskMenu(QDesignerMenu *menu, QObject *parent = 0);
+ explicit MenuTaskMenu(QDesignerMenu *menu, QObject *parent = Q_NULLPTR);
virtual QAction *preferredEditAction() const;
virtual QList<QAction*> taskActions() const;
Q_OBJECT
Q_INTERFACES(QDesignerTaskMenuExtension)
public:
- explicit MenuBarTaskMenu(QDesignerMenuBar *bar, QObject *parent = 0);
+ explicit MenuBarTaskMenu(QDesignerMenuBar *bar, QObject *parent = Q_NULLPTR);
virtual QAction *preferredEditAction() const;
virtual QList<QAction*> taskActions() const;
{
Q_OBJECT
public:
- explicit TableWidgetTaskMenu(QTableWidget *button, QObject *parent = 0);
+ explicit TableWidgetTaskMenu(QTableWidget *button, QObject *parent = Q_NULLPTR);
virtual ~TableWidgetTaskMenu();
virtual QAction *preferredEditAction() const;
{
Q_OBJECT
public:
- explicit TaskMenuComponent(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit TaskMenuComponent(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
virtual ~TaskMenuComponent();
QDesignerFormEditorInterface *core() const;
{
Q_OBJECT
public:
- explicit TextEditTaskMenu(QTextEdit *button, QObject *parent = 0);
- explicit TextEditTaskMenu(QPlainTextEdit *button, QObject *parent = 0);
+ explicit TextEditTaskMenu(QTextEdit *button, QObject *parent = Q_NULLPTR);
+ explicit TextEditTaskMenu(QPlainTextEdit *button, QObject *parent = Q_NULLPTR);
virtual ~TextEditTaskMenu();
Q_OBJECT
Q_INTERFACES(QDesignerTaskMenuExtension)
public:
- explicit ToolBarTaskMenu(QToolBar *tb, QObject *parent = 0);
+ explicit ToolBarTaskMenu(QToolBar *tb, QObject *parent = Q_NULLPTR);
virtual QAction *preferredEditAction() const;
virtual QList<QAction*> taskActions() const;
Q_OBJECT
Q_INTERFACES(QDesignerTaskMenuExtension)
public:
- explicit StatusBarTaskMenu(QStatusBar *tb, QObject *parent = 0);
+ explicit StatusBarTaskMenu(QStatusBar *tb, QObject *parent = Q_NULLPTR);
virtual QAction *preferredEditAction() const;
virtual QList<QAction*> taskActions() const;
{
Q_OBJECT
public:
- explicit TreeWidgetTaskMenu(QTreeWidget *button, QObject *parent = 0);
+ explicit TreeWidgetTaskMenu(QTreeWidget *button, QObject *parent = Q_NULLPTR);
virtual ~TreeWidgetTaskMenu();
virtual QAction *preferredEditAction() const;
class WidgetBoxCategoryModel : public QAbstractListModel {
public:
- explicit WidgetBoxCategoryModel(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit WidgetBoxCategoryModel(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
// QAbstractListModel
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
Q_OBJECT
Q_INTERFACES(QAbstractExtensionManager)
public:
- QExtensionManager(QObject *parent = 0);
+ QExtensionManager(QObject *parent = Q_NULLPTR);
~QExtensionManager();
virtual void registerExtensions(QAbstractExtensionFactory *factory, const QString &iid = QString());
{
Q_OBJECT
public:
- QDesignerFormEditorInterface(QObject *parent = 0);
+ QDesignerFormEditorInterface(QObject *parent = Q_NULLPTR);
virtual ~QDesignerFormEditorInterface();
QExtensionManager *extensionManager() const;
{
Q_OBJECT
public:
- QDesignerFormWindowManagerInterface(QObject *parent = 0);
+ QDesignerFormWindowManagerInterface(QObject *parent = Q_NULLPTR);
virtual ~QDesignerFormWindowManagerInterface();
virtual QAction *actionCut() const;
{
Q_OBJECT
public:
- QDesignerFormWindowToolInterface(QObject *parent = 0);
+ QDesignerFormWindowToolInterface(QObject *parent = Q_NULLPTR);
virtual ~QDesignerFormWindowToolInterface();
virtual QDesignerFormEditorInterface *core() const = 0;
Q_PROPERTY(bool headerLowercase READ isHeaderLowercase WRITE setHeaderLowercase)
public:
- QDesignerIntegrationInterface(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ QDesignerIntegrationInterface(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
inline QDesignerFormEditorInterface *core() const;
{
Q_OBJECT
public:
- QDesignerMetaDataBaseInterface(QObject *parent = 0);
+ QDesignerMetaDataBaseInterface(QObject *parent = Q_NULLPTR);
virtual ~QDesignerMetaDataBaseInterface();
virtual QDesignerMetaDataBaseItemInterface *item(QObject *object) const = 0;
{
Q_OBJECT
public:
- QDesignerWidgetDataBaseInterface(QObject *parent = 0);
+ QDesignerWidgetDataBaseInterface(QObject *parent = Q_NULLPTR);
virtual ~QDesignerWidgetDataBaseInterface();
virtual int count() const;
{
Q_OBJECT
public:
- QDesignerWidgetFactoryInterface(QObject *parent = 0);
+ QDesignerWidgetFactoryInterface(QObject *parent = Q_NULLPTR);
virtual ~QDesignerWidgetFactoryInterface();
virtual QDesignerFormEditorInterface *core() const = 0;
{
Q_OBJECT
public:
- explicit MetaDataBase(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit MetaDataBase(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
virtual ~MetaDataBase();
virtual QDesignerFormEditorInterface *core() const;
public:
typedef QList<QAction *> ActionList;
- explicit MorphMenu(QObject *parent = 0);
+ explicit MorphMenu(QObject *parent = Q_NULLPTR);
void populate(QWidget *w, QDesignerFormWindowInterface *fw, ActionList& al);
void populate(QWidget *w, QDesignerFormWindowInterface *fw, QMenu& m);
ModeUnmanagedMultiSelection
};
- explicit PromotionTaskMenu(QWidget *widget,Mode mode = ModeManagedMultiSelection, QObject *parent = 0);
+ explicit PromotionTaskMenu(QWidget *widget,Mode mode = ModeManagedMultiSelection, QObject *parent = Q_NULLPTR);
Mode mode() const;
void setMode(Mode m);
{
Q_OBJECT
public:
- explicit QDesignerFormWindowManager(QObject *parent = 0);
+ explicit QDesignerFormWindowManager(QObject *parent = Q_NULLPTR);
virtual ~QDesignerFormWindowManager();
virtual QAction *actionDefaultPreview() const;
{
Q_OBJECT
public:
- explicit QDesignerIntegration(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit QDesignerIntegration(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
virtual ~QDesignerIntegration();
static void requestHelp(const QDesignerFormEditorInterface *core, const QString &manual, const QString &document);
Q_INTERFACES(QDesignerMemberSheetExtension)
public:
- explicit QDesignerMemberSheet(QObject *object, QObject *parent = 0);
+ explicit QDesignerMemberSheet(QObject *object, QObject *parent = Q_NULLPTR);
virtual ~QDesignerMemberSheet();
virtual int indexOf(const QString &name) const;
{
Q_OBJECT
public:
- SpecialMenuAction(QObject *parent = 0);
+ SpecialMenuAction(QObject *parent = Q_NULLPTR);
virtual ~SpecialMenuAction();
};
Q_OBJECT
Q_INTERFACES(QDesignerPropertySheetExtension QDesignerDynamicPropertySheetExtension)
public:
- explicit QDesignerPropertySheet(QObject *object, QObject *parent = 0);
+ explicit QDesignerPropertySheet(QObject *object, QObject *parent = Q_NULLPTR);
virtual ~QDesignerPropertySheet();
virtual int indexOf(const QString &name) const;
// PropertySheet to handle the "currentPageName" property
class QDESIGNER_SHARED_EXPORT QStackedWidgetPropertySheet : public QDesignerPropertySheet {
public:
- explicit QStackedWidgetPropertySheet(QStackedWidget *object, QObject *parent = 0);
+ explicit QStackedWidgetPropertySheet(QStackedWidget *object, QObject *parent = Q_NULLPTR);
virtual void setProperty(int index, const QVariant &value);
virtual QVariant property(int index) const;
// PropertySheet to handle the page properties
class QDESIGNER_SHARED_EXPORT QTabWidgetPropertySheet : public QDesignerPropertySheet {
public:
- explicit QTabWidgetPropertySheet(QTabWidget *object, QObject *parent = 0);
+ explicit QTabWidgetPropertySheet(QTabWidget *object, QObject *parent = Q_NULLPTR);
virtual void setProperty(int index, const QVariant &value);
virtual QVariant property(int index) const;
// PropertySheet to handle the page properties
class QDESIGNER_SHARED_EXPORT QToolBoxWidgetPropertySheet : public QDesignerPropertySheet {
public:
- explicit QToolBoxWidgetPropertySheet(QToolBox *object, QObject *parent = 0);
+ explicit QToolBoxWidgetPropertySheet(QToolBox *object, QObject *parent = Q_NULLPTR);
virtual void setProperty(int index, const QVariant &value);
virtual QVariant property(int index) const;
{
Q_OBJECT
public:
- DesignerPixmapCache(QObject *parent = 0);
+ DesignerPixmapCache(QObject *parent = Q_NULLPTR);
QPixmap pixmap(const PropertySheetPixmapValue &value) const;
void clear();
signals:
{
Q_OBJECT
public:
- explicit DesignerIconCache(DesignerPixmapCache *pixmapCache, QObject *parent = 0);
+ explicit DesignerIconCache(DesignerPixmapCache *pixmapCache, QObject *parent = Q_NULLPTR);
QIcon icon(const PropertySheetIconValue &value) const;
void clear();
signals:
class QBoxLayoutSupport: public QLayoutSupport
{
public:
- QBoxLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, Qt::Orientation orientation, QObject *parent = 0);
+ QBoxLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, Qt::Orientation orientation, QObject *parent = Q_NULLPTR);
virtual void insertWidget(QWidget *widget, const QPair<int, int> &cell);
virtual void removeWidget(QWidget *widget);
{
public:
- GridLikeLayoutSupportBase(QDesignerFormWindowInterface *formWindow, QWidget *widget, LayoutHelper *helper, QObject *parent = 0) :
+ GridLikeLayoutSupportBase(QDesignerFormWindowInterface *formWindow, QWidget *widget, LayoutHelper *helper, QObject *parent = Q_NULLPTR) :
QLayoutSupport(formWindow, widget, helper, parent) {}
void insertWidget(QWidget *widget, const QPair<int, int> &cell);
{
public:
- QGridLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = 0);
+ QGridLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = Q_NULLPTR);
virtual void simplify();
virtual void insertRow(int row);
class QFormLayoutSupport: public GridLikeLayoutSupportBase<QFormLayout>
{
public:
- QFormLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = 0);
+ QFormLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = Q_NULLPTR);
virtual void simplify() {}
virtual void insertRow(int /*row*/) {}
Q_INTERFACES(QDesignerLayoutDecorationExtension)
protected:
- QLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, LayoutHelper *helper, QObject *parent = 0);
+ QLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, LayoutHelper *helper, QObject *parent = Q_NULLPTR);
public:
virtual ~QLayoutSupport();
static bool canSimplifyQuickCheck(const QGridLayout *);
static bool canSimplifyQuickCheck(const QFormLayout *fl);
// Factory function, create layout support according to layout type of widget
- static QLayoutSupport *createLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = 0);
+ static QLayoutSupport *createLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = Q_NULLPTR);
protected:
// figure out insertion position and mode from indicator on empty cell if supported
{
Q_OBJECT
public:
- QtQrcManager(QObject *parent = 0);
+ QtQrcManager(QObject *parent = Q_NULLPTR);
~QtQrcManager();
QList<QtQrcFile *> qrcFiles() const;
{
Q_OBJECT
public:
- QtResourceModel(QObject *parent = 0);
+ QtResourceModel(QObject *parent = Q_NULLPTR);
~QtResourceModel();
QStringList loadedQrcFiles() const;
static QAction *createCheckableAction(const QIcon &icon, const QString &text,
QObject *receiver, const char *slot,
- QObject *parent = 0)
+ QObject *parent = Q_NULLPTR)
{
QAction *result = new QAction(parent);
result->setIcon(icon);
Q_OBJECT
public:
- SignatureModel(QObject *parent = 0);
+ SignatureModel(QObject *parent = Q_NULLPTR);
virtual bool setData (const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
signals:
{
Q_OBJECT
public:
- explicit WidgetDataBase(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit WidgetDataBase(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
virtual ~WidgetDataBase();
virtual QDesignerFormEditorInterface *core() const;
{
Q_OBJECT
public:
- explicit WidgetFactory(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit WidgetFactory(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
~WidgetFactory();
virtual QWidget* containerOfWidget(QWidget *widget) const;
Q_DISABLE_COPY(ZoomMenu)
public:
- ZoomMenu(QObject *parent = 0);
+ ZoomMenu(QObject *parent = Q_NULLPTR);
void addActions(QMenu *m);
int zoom() const;
Q_OBJECT
Q_INTERFACES(QAccessibleBridgeFactoryInterface:QFactoryInterface)
public:
- explicit QAccessibleBridgePlugin(QObject *parent = 0);
+ explicit QAccessibleBridgePlugin(QObject *parent = Q_NULLPTR);
~QAccessibleBridgePlugin();
virtual QStringList keys() const = 0;
Q_OBJECT
Q_INTERFACES(QAccessibleFactoryInterface:QFactoryInterface)
public:
- explicit QAccessiblePlugin(QObject *parent = 0);
+ explicit QAccessiblePlugin(QObject *parent = Q_NULLPTR);
~QAccessiblePlugin();
virtual QStringList keys() const = 0;
void directoryLoaded(const QString &path);
public:
- QFileInfoGatherer(QObject *parent = 0);
+ QFileInfoGatherer(QObject *parent = Q_NULLPTR);
~QFileInfoGatherer();
void clear();
FilePermissions = Qt::UserRole + 3
};
- explicit QFileSystemModel(QObject *parent = 0);
+ explicit QFileSystemModel(QObject *parent = Q_NULLPTR);
~QFileSystemModel();
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
bool remove(const QModelIndex &index);
protected:
- QFileSystemModel(QFileSystemModelPrivate &, QObject *parent = 0);
+ QFileSystemModel(QFileSystemModelPrivate &, QObject *parent = Q_NULLPTR);
void timerEvent(QTimerEvent *event);
bool event(QEvent *event);
*/
class QFSCompleter : public QCompleter {
public:
- QFSCompleter(QFileSystemModel *model, QObject *parent = 0)
+ QFSCompleter(QFileSystemModel *model, QObject *parent = Q_NULLPTR)
: QCompleter(model, parent), proxyModel(0), sourceModel(model)
{
}
{
friend class QPPDOptionsEditor;
public:
- QPPDOptionsModel(QCUPSSupport *cups, QObject *parent = 0);
+ QPPDOptionsModel(QCUPSSupport *cups, QObject *parent = Q_NULLPTR);
~QPPDOptionsModel();
int columnCount(const QModelIndex& parent = QModelIndex()) const;
EnabledRole = Qt::UserRole + 2
};
- QUrlModel(QObject *parent = 0);
+ QUrlModel(QObject *parent = Q_NULLPTR);
QStringList mimeTypes() const;
QMimeData *mimeData(const QModelIndexList &indexes) const;
PadToEffectiveBoundingRect
};
- QGraphicsEffect(QObject *parent = 0);
+ QGraphicsEffect(QObject *parent = Q_NULLPTR);
virtual ~QGraphicsEffect();
virtual QRectF boundingRectFor(const QRectF &sourceRect) const;
void enabledChanged(bool enabled);
protected:
- QGraphicsEffect(QGraphicsEffectPrivate &d, QObject *parent = 0);
+ QGraphicsEffect(QGraphicsEffectPrivate &d, QObject *parent = Q_NULLPTR);
virtual void draw(QPainter *painter) = 0;
virtual void sourceChanged(ChangeFlags flags);
void updateBoundingRect();
Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
Q_PROPERTY(qreal strength READ strength WRITE setStrength NOTIFY strengthChanged)
public:
- QGraphicsColorizeEffect(QObject *parent = 0);
+ QGraphicsColorizeEffect(QObject *parent = Q_NULLPTR);
~QGraphicsColorizeEffect();
QColor color() const;
};
Q_DECLARE_FLAGS(BlurHints, BlurHint)
- QGraphicsBlurEffect(QObject *parent = 0);
+ QGraphicsBlurEffect(QObject *parent = Q_NULLPTR);
~QGraphicsBlurEffect();
QRectF boundingRectFor(const QRectF &rect) const;
Q_PROPERTY(qreal blurRadius READ blurRadius WRITE setBlurRadius NOTIFY blurRadiusChanged)
Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
public:
- QGraphicsDropShadowEffect(QObject *parent = 0);
+ QGraphicsDropShadowEffect(QObject *parent = Q_NULLPTR);
~QGraphicsDropShadowEffect();
QRectF boundingRectFor(const QRectF &rect) const;
Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged)
Q_PROPERTY(QBrush opacityMask READ opacityMask WRITE setOpacityMask NOTIFY opacityMaskChanged)
public:
- QGraphicsOpacityEffect(QObject *parent = 0);
+ QGraphicsOpacityEffect(QObject *parent = Q_NULLPTR);
~QGraphicsOpacityEffect();
qreal opacity() const;
QGraphicsEffect::PixmapPadMode mode = QGraphicsEffect::PadToEffectiveBoundingRect) const;
protected:
- QGraphicsEffectSource(QGraphicsEffectSourcePrivate &dd, QObject *parent = 0);
+ QGraphicsEffectSource(QGraphicsEffectSourcePrivate &dd, QObject *parent = Q_NULLPTR);
private:
Q_DECLARE_PRIVATE(QGraphicsEffectSource)
{
Q_OBJECT
public:
- QGraphicsItemAnimation(QObject *parent = 0);
+ QGraphicsItemAnimation(QObject *parent = Q_NULLPTR);
virtual ~QGraphicsItemAnimation();
QGraphicsItem *item() const;
};
Q_DECLARE_FLAGS(SceneLayers, SceneLayer)
- QGraphicsScene(QObject *parent = 0);
- QGraphicsScene(const QRectF &sceneRect, QObject *parent = 0);
- QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject *parent = 0);
+ QGraphicsScene(QObject *parent = Q_NULLPTR);
+ QGraphicsScene(const QRectF &sceneRect, QObject *parent = Q_NULLPTR);
+ QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject *parent = Q_NULLPTR);
virtual ~QGraphicsScene();
QRectF sceneRect() const;
{
Q_OBJECT
public:
- QGraphicsTransform(QObject *parent = 0);
+ QGraphicsTransform(QObject *parent = Q_NULLPTR);
~QGraphicsTransform();
virtual void applyTo(QMatrix4x4 *matrix) const = 0;
Q_PROPERTY(qreal yScale READ yScale WRITE setYScale NOTIFY yScaleChanged)
Q_PROPERTY(qreal zScale READ zScale WRITE setZScale NOTIFY zScaleChanged)
public:
- QGraphicsScale(QObject *parent = 0);
+ QGraphicsScale(QObject *parent = Q_NULLPTR);
~QGraphicsScale();
QVector3D origin() const;
Q_PROPERTY(qreal angle READ angle WRITE setAngle NOTIFY angleChanged)
Q_PROPERTY(QVector3D axis READ axis WRITE setAxis NOTIFY axisChanged)
public:
- QGraphicsRotation(QObject *parent = 0);
+ QGraphicsRotation(QObject *parent = Q_NULLPTR);
~QGraphicsRotation();
QVector3D origin() const;
Q_OBJECT
Q_INTERFACES(QIconEngineFactoryInterface:QFactoryInterface)
public:
- QIconEnginePlugin(QObject *parent = 0);
+ QIconEnginePlugin(QObject *parent = Q_NULLPTR);
~QIconEnginePlugin();
virtual QStringList keys() const = 0;
Q_OBJECT
Q_INTERFACES(QImageIOHandlerFactoryInterface:QFactoryInterface)
public:
- explicit QImageIOPlugin(QObject *parent = 0);
+ explicit QImageIOPlugin(QObject *parent = Q_NULLPTR);
virtual ~QImageIOPlugin();
enum Capability {
CacheAll
};
- QMovie(QObject *parent = 0);
- explicit QMovie(QIODevice *device, const QByteArray &format = QByteArray(), QObject *parent = 0);
- explicit QMovie(const QString &fileName, const QByteArray &format = QByteArray(), QObject *parent = 0);
+ QMovie(QObject *parent = Q_NULLPTR);
+ explicit QMovie(QIODevice *device, const QByteArray &format = QByteArray(), QObject *parent = Q_NULLPTR);
+ explicit QMovie(const QString &fileName, const QByteArray &format = QByteArray(), QObject *parent = Q_NULLPTR);
~QMovie();
static QList<QByteArray> supportedFormats();
Q_DECLARE_PRIVATE(QPixmapConvolutionFilter)
public:
- QPixmapConvolutionFilter(QObject *parent = 0);
+ QPixmapConvolutionFilter(QObject *parent = Q_NULLPTR);
~QPixmapConvolutionFilter();
void setConvolutionKernel(const qreal *matrix, int rows, int columns);
Q_DECLARE_PRIVATE(QPixmapBlurFilter)
public:
- QPixmapBlurFilter(QObject *parent = 0);
+ QPixmapBlurFilter(QObject *parent = Q_NULLPTR);
~QPixmapBlurFilter();
void setRadius(qreal radius);
Q_DECLARE_PRIVATE(QPixmapColorizeFilter)
public:
- QPixmapColorizeFilter(QObject *parent = 0);
+ QPixmapColorizeFilter(QObject *parent = Q_NULLPTR);
void setColor(const QColor& color);
QColor color() const;
Q_DECLARE_PRIVATE(QPixmapDropShadowFilter)
public:
- QPixmapDropShadowFilter(QObject *parent = 0);
+ QPixmapDropShadowFilter(QObject *parent = Q_NULLPTR);
~QPixmapDropShadowFilter();
QRectF boundingRectFor(const QRectF &rect) const;
Q_OBJECT
Q_INTERFACES(QInputContextFactoryInterface:QFactoryInterface)
public:
- explicit QInputContextPlugin(QObject *parent = 0);
+ explicit QInputContextPlugin(QObject *parent = Q_NULLPTR);
~QInputContextPlugin();
virtual QStringList keys() const = 0;
RevertModelCache
};
- explicit QAbstractItemDelegate(QObject *parent = 0);
+ explicit QAbstractItemDelegate(QObject *parent = Q_NULLPTR);
virtual ~QAbstractItemDelegate();
// painting
void sizeHintChanged(const QModelIndex &);
protected:
- QAbstractItemDelegate(QObjectPrivate &, QObject *parent = 0);
+ QAbstractItemDelegate(QObjectPrivate &, QObject *parent = Q_NULLPTR);
private:
Q_DISABLE_COPY(QAbstractItemDelegate)
};
class QEmptyModel : public QAbstractItemModel
{
public:
- explicit QEmptyModel(QObject *parent = 0) : QAbstractItemModel(parent) {}
+ explicit QEmptyModel(QObject *parent = Q_NULLPTR) : QAbstractItemModel(parent) {}
QModelIndex index(int, int, const QModelIndex &) const { return QModelIndex(); }
QModelIndex parent(const QModelIndex &) const { return QModelIndex(); }
int rowCount(const QModelIndex &) const { return 0; }
Q_OBJECT
public:
- QAbstractProxyModel(QObject *parent = 0);
+ QAbstractProxyModel(QObject *parent = Q_NULLPTR);
~QAbstractProxyModel();
virtual void setSourceModel(QAbstractItemModel *sourceModel);
{
public:
- explicit QColumnViewDelegate(QObject *parent = 0) : QItemDelegate(parent) {}
+ explicit QColumnViewDelegate(QObject *parent = Q_NULLPTR) : QItemDelegate(parent) {}
~QColumnViewDelegate() {}
void paint(QPainter *painter,
Q_PROPERTY(SubmitPolicy submitPolicy READ submitPolicy WRITE setSubmitPolicy)
public:
- QDataWidgetMapper(QObject *parent = 0);
+ QDataWidgetMapper(QObject *parent = Q_NULLPTR);
~QDataWidgetMapper();
void setModel(QAbstractItemModel *model);
};
QDirModel(const QStringList &nameFilters, QDir::Filters filters,
- QDir::SortFlags sort, QObject *parent = 0);
- explicit QDirModel(QObject *parent = 0);
+ QDir::SortFlags sort, QObject *parent = Q_NULLPTR);
+ explicit QDirModel(QObject *parent = Q_NULLPTR);
~QDirModel();
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
void refresh(const QModelIndex &parent = QModelIndex());
protected:
- QDirModel(QDirModelPrivate &, QObject *parent = 0);
+ QDirModel(QDirModelPrivate &, QObject *parent = Q_NULLPTR);
friend class QFileDialogPrivate;
private:
Q_PROPERTY(bool clipping READ hasClipping WRITE setClipping)
public:
- explicit QItemDelegate(QObject *parent = 0);
+ explicit QItemDelegate(QObject *parent = Q_NULLPTR);
~QItemDelegate();
bool hasClipping() const;
Q_OBJECT
public:
- explicit QProxyModel(QObject *parent = 0);
+ explicit QProxyModel(QObject *parent = Q_NULLPTR);
~QProxyModel();
virtual void setModel(QAbstractItemModel *model);
#endif
protected:
- QProxyModel(QProxyModelPrivate &, QObject *parent = 0);
+ QProxyModel(QProxyModelPrivate &, QObject *parent = Q_NULLPTR);
QModelIndex setProxyModel(const QModelIndex &source_index) const;
QModelIndex setSourceModel(const QModelIndex &proxy_index) const;
class QEmptyModel : public QAbstractItemModel
{
public:
- explicit QEmptyModel(QObject *parent = 0) : QAbstractItemModel(parent) {}
+ explicit QEmptyModel(QObject *parent = Q_NULLPTR) : QAbstractItemModel(parent) {}
QModelIndex index(int, int, const QModelIndex &) const { return QModelIndex(); }
QModelIndex parent(const QModelIndex &) const { return QModelIndex(); }
int rowCount(const QModelIndex &) const { return 0; }
Q_PROPERTY(int filterRole READ filterRole WRITE setFilterRole)
public:
- QSortFilterProxyModel(QObject *parent = 0);
+ QSortFilterProxyModel(QObject *parent = Q_NULLPTR);
~QSortFilterProxyModel();
void setSourceModel(QAbstractItemModel *sourceModel);
Q_PROPERTY(int sortRole READ sortRole WRITE setSortRole)
public:
- explicit QStandardItemModel(QObject *parent = 0);
- QStandardItemModel(int rows, int columns, QObject *parent = 0);
+ explicit QStandardItemModel(QObject *parent = Q_NULLPTR);
+ QStandardItemModel(int rows, int columns, QObject *parent = Q_NULLPTR);
~QStandardItemModel();
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
void itemChanged(QStandardItem *item);
protected:
- QStandardItemModel(QStandardItemModelPrivate &dd, QObject *parent = 0);
+ QStandardItemModel(QStandardItemModelPrivate &dd, QObject *parent = Q_NULLPTR);
private:
friend class QStandardItemPrivate;
{
Q_OBJECT
public:
- explicit QStringListModel(QObject *parent = 0);
- QStringListModel(const QStringList &strings, QObject *parent = 0);
+ explicit QStringListModel(QObject *parent = Q_NULLPTR);
+ QStringListModel(const QStringList &strings, QObject *parent = Q_NULLPTR);
int rowCount(const QModelIndex &parent = QModelIndex()) const;
Q_OBJECT
public:
- explicit QStyledItemDelegate(QObject *parent = 0);
+ explicit QStyledItemDelegate(QObject *parent = Q_NULLPTR);
~QStyledItemDelegate();
// painting
Q_DECLARE_PRIVATE(QEventDispatcherX11)
public:
- explicit QEventDispatcherX11(QObject *parent = 0);
+ explicit QEventDispatcherX11(QObject *parent = Q_NULLPTR);
~QEventDispatcherX11();
bool processEvents(QEventLoop::ProcessEventsFlags flags);
Q_PROPERTY(bool hasHotSpot READ hasHotSpot)
public:
- explicit QGesture(QObject *parent = 0);
+ explicit QGesture(QObject *parent = Q_NULLPTR);
~QGesture();
Qt::GestureType gestureType() const;
Q_PRIVATE_PROPERTY(QPanGesture::d_func(), qreal verticalVelocity READ verticalVelocity WRITE setVerticalVelocity)
public:
- QPanGesture(QObject *parent = 0);
+ QPanGesture(QObject *parent = Q_NULLPTR);
QPointF lastOffset() const;
QPointF offset() const;
Q_PROPERTY(QPointF centerPoint READ centerPoint WRITE setCenterPoint)
public:
- QPinchGesture(QObject *parent = 0);
+ QPinchGesture(QObject *parent = Q_NULLPTR);
ChangeFlags totalChangeFlags() const;
void setTotalChangeFlags(ChangeFlags value);
public:
enum SwipeDirection { NoDirection, Left, Right, Up, Down };
- QSwipeGesture(QObject *parent = 0);
+ QSwipeGesture(QObject *parent = Q_NULLPTR);
SwipeDirection horizontalDirection() const;
SwipeDirection verticalDirection() const;
Q_PROPERTY(QPointF position READ position WRITE setPosition)
public:
- QTapGesture(QObject *parent = 0);
+ QTapGesture(QObject *parent = Q_NULLPTR);
QPointF position() const;
void setPosition(const QPointF &pos);
Q_PROPERTY(QPointF position READ position WRITE setPosition)
public:
- QTapAndHoldGesture(QObject *parent = 0);
+ QTapAndHoldGesture(QObject *parent = Q_NULLPTR);
QPointF position() const;
void setPosition(const QPointF &pos);
Q_DECLARE_PRIVATE(QGuiEventDispatcherGlib)
public:
- explicit QGuiEventDispatcherGlib(QObject *parent = 0);
+ explicit QGuiEventDispatcherGlib(QObject *parent = Q_NULLPTR);
~QGuiEventDispatcherGlib();
bool processEvents(QEventLoop::ProcessEventsFlags flags);
Q_OBJECT
Q_INTERFACES(QGuiPlatformPluginInterface:QFactoryInterface)
public:
- explicit QGuiPlatformPlugin(QObject *parent = 0);
+ explicit QGuiPlatformPlugin(QObject *parent = Q_NULLPTR);
~QGuiPlatformPlugin();
virtual QStringList keys() const { return QStringList() << QLatin1String("default"); };
static void showText(const QPoint &pos, const QString &text, QWidget *w = 0);
static void hideText();
- static QAction *createAction(QObject *parent = 0);
+ static QAction *createAction(QObject *parent = Q_NULLPTR);
};
Q_OBJECT
Q_INTERFACES(QGraphicsSystemFactoryInterface:QFactoryInterface)
public:
- explicit QGraphicsSystemPlugin(QObject *parent = 0);
+ explicit QGraphicsSystemPlugin(QObject *parent = Q_NULLPTR);
~QGraphicsSystemPlugin();
virtual QStringList keys() const = 0;
Q_OBJECT
Q_INTERFACES(QStyleFactoryInterface:QFactoryInterface)
public:
- explicit QStylePlugin(QObject *parent = 0);
+ explicit QStylePlugin(QObject *parent = Q_NULLPTR);
~QStylePlugin();
virtual QStringList keys() const = 0;
Q_PROPERTY(bool openExternalLinks READ openExternalLinks WRITE setOpenExternalLinks)
Q_PROPERTY(bool ignoreUnusedNavigationEvents READ ignoreUnusedNavigationEvents WRITE setIgnoreUnusedNavigationEvents)
public:
- explicit QTextControl(QObject *parent = 0);
- explicit QTextControl(const QString &text, QObject *parent = 0);
- explicit QTextControl(QTextDocument *doc, QObject *parent = 0);
+ explicit QTextControl(QObject *parent = Q_NULLPTR);
+ explicit QTextControl(const QString &text, QObject *parent = Q_NULLPTR);
+ explicit QTextControl(QTextDocument *doc, QObject *parent = Q_NULLPTR);
virtual ~QTextControl();
void setDocument(QTextDocument *document);
QDOC_PROPERTY(QTextOption defaultTextOption READ defaultTextOption WRITE setDefaultTextOption)
public:
- explicit QTextDocument(QObject *parent = 0);
- explicit QTextDocument(const QString &text, QObject *parent = 0);
+ explicit QTextDocument(QObject *parent = Q_NULLPTR);
+ explicit QTextDocument(const QString &text, QObject *parent = Q_NULLPTR);
~QTextDocument();
- QTextDocument *clone(QObject *parent = 0) const;
+ QTextDocument *clone(QObject *parent = Q_NULLPTR) const;
bool isEmpty() const;
virtual void clear();
Q_OBJECT
Q_INTERFACES(QTextObjectInterface)
public:
- explicit QTextImageHandler(QObject *parent = 0);
+ explicit QTextImageHandler(QObject *parent = Q_NULLPTR);
virtual QSizeF intrinsicSize(QTextDocument *doc, int posInDocument, const QTextFormat &format);
virtual void drawObject(QPainter *p, const QRectF &rect, QTextDocument *doc, int posInDocument, const QTextFormat &format);
CaseInsensitivelySortedModel
};
- QCompleter(QObject *parent = 0);
- QCompleter(QAbstractItemModel *model, QObject *parent = 0);
+ QCompleter(QObject *parent = Q_NULLPTR);
+ QCompleter(QAbstractItemModel *model, QObject *parent = Q_NULLPTR);
#ifndef QT_NO_STRINGLISTMODEL
- QCompleter(const QStringList& completions, QObject *parent = 0);
+ QCompleter(const QStringList& completions, QObject *parent = Q_NULLPTR);
#endif
~QCompleter();
Q_PROPERTY(bool visible READ isVisible WRITE setVisible DESIGNABLE false)
public:
- QSystemTrayIcon(QObject *parent = 0);
- QSystemTrayIcon(const QIcon &icon, QObject *parent = 0);
+ QSystemTrayIcon(QObject *parent = Q_NULLPTR);
+ QSystemTrayIcon(const QIcon &icon, QObject *parent = Q_NULLPTR);
~QSystemTrayIcon();
enum ActivationReason {
Q_DECLARE_PRIVATE(QUndoGroup)
public:
- explicit QUndoGroup(QObject *parent = 0);
+ explicit QUndoGroup(QObject *parent = Q_NULLPTR);
~QUndoGroup();
void addStack(QUndoStack *stack);
Q_PROPERTY(int undoLimit READ undoLimit WRITE setUndoLimit)
public:
- explicit QUndoStack(QObject *parent = 0);
+ explicit QUndoStack(QObject *parent = Q_NULLPTR);
~QUndoStack();
void clear();
{
Q_OBJECT
public:
- QUndoAction(const QString &prefix, QObject *parent = 0);
+ QUndoAction(const QString &prefix, QObject *parent = Q_NULLPTR);
void setTextFormat(const QString &textFormat, const QString &defaultText);
public Q_SLOTS:
void setPrefixedText(const QString &text);
{
Q_OBJECT
public:
- QUndoModel(QObject *parent = 0);
+ QUndoModel(QObject *parent = Q_NULLPTR);
QUndoStack *stack() const;
Q_PROPERTY(bool exclusive READ exclusive WRITE setExclusive)
public:
- explicit QButtonGroup(QObject *parent = 0);
+ explicit QButtonGroup(QObject *parent = Q_NULLPTR);
~QButtonGroup();
void setExclusive(bool);
{
Q_OBJECT
public:
- QCalendarTextNavigator(QObject *parent = 0)
+ QCalendarTextNavigator(QObject *parent = Q_NULLPTR)
: QObject(parent), m_dateText(0), m_dateFrame(0), m_dateValidator(0), m_widget(0), m_editDelay(1500), m_date(QDate::currentDate()) { }
QWidget *widget() const;
{
Q_OBJECT
public:
- QCalendarModel(QObject *parent = 0);
+ QCalendarModel(QObject *parent = Q_NULLPTR);
int rowCount(const QModelIndex &) const
{ return RowCount + m_firstRow; }
{
Q_OBJECT
public:
- QCalendarDelegate(QCalendarWidgetPrivate *w, QObject *parent = 0)
+ QCalendarDelegate(QCalendarWidgetPrivate *w, QObject *parent = Q_NULLPTR)
: QItemDelegate(parent), calendarWidgetPrivate(w)
{ }
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option,
public:
explicit QIntValidator(QObject * parent = 0);
- QIntValidator(int bottom, int top, QObject *parent = 0);
+ QIntValidator(int bottom, int top, QObject *parent = Q_NULLPTR);
~QIntValidator();
QValidator::State validate(QString &, int &) const;
public:
explicit QDoubleValidator(QObject * parent = 0);
- QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0);
+ QDoubleValidator(double bottom, double top, int decimals, QObject *parent = Q_NULLPTR);
~QDoubleValidator();
enum Notation {
Q_PROPERTY(QRegExp regExp READ regExp WRITE setRegExp)
public:
- explicit QRegExpValidator(QObject *parent = 0);
- QRegExpValidator(const QRegExp& rx, QObject *parent = 0);
+ explicit QRegExpValidator(QObject *parent = Q_NULLPTR);
+ QRegExpValidator(const QRegExp& rx, QObject *parent = Q_NULLPTR);
~QRegExpValidator();
virtual QValidator::State validate(QString& input, int& pos) const;
//![abslistmodel]
public:
- QDeclarativeFolderListModel(QObject *parent = 0);
+ QDeclarativeFolderListModel(QObject *parent = Q_NULLPTR);
~QDeclarativeFolderListModel();
enum Roles { FileNameRole = Qt::UserRole+1, FilePathRole = Qt::UserRole+2 };
class TickAnimationProxy : public QAbstractAnimation
{
public:
- TickAnimationProxy(T *p, QObject *parent = 0) : QAbstractAnimation(parent), m_p(p) {}
+ TickAnimationProxy(T *p, QObject *parent = Q_NULLPTR) : QAbstractAnimation(parent), m_p(p) {}
virtual int duration() const { return -1; }
protected:
virtual void updateCurrentTime(int msec) { (m_p->*method)(msec); }
Q_OBJECT
public:
- ShaderEffect(QObject *parent = 0);
+ ShaderEffect(QObject *parent = Q_NULLPTR);
~ShaderEffect();
void addRenderTarget(ShaderEffectSource *target);
void removeRenderTarget(ShaderEffectSource *target);
virtual void clear() = 0;
protected:
- explicit QAbstractNetworkCache(QObject *parent = 0);
+ explicit QAbstractNetworkCache(QObject *parent = Q_NULLPTR);
QAbstractNetworkCache(QAbstractNetworkCachePrivate &dd, QObject *parent);
private:
CsConnectionRefused
};
- QFtpDTP(QFtpPI *p, QObject *parent = 0);
+ QFtpDTP(QFtpPI *p, QObject *parent = Q_NULLPTR);
void setData(QByteArray *);
void setDevice(QIODevice *);
Q_OBJECT
public:
- QFtpPI(QObject *parent = 0);
+ QFtpPI(QObject *parent = Q_NULLPTR);
void connectToHost(const QString &host, quint16 port);
Q_OBJECT
public:
- explicit QFtp(QObject *parent = 0);
+ explicit QFtp(QObject *parent = Q_NULLPTR);
virtual ~QFtp();
enum State {
ConnectionModeHttps
};
- explicit QHttp(QObject *parent = 0);
- QHttp(const QString &hostname, quint16 port = 80, QObject *parent = 0);
- QHttp(const QString &hostname, ConnectionMode mode, quint16 port = 0, QObject *parent = 0);
+ explicit QHttp(QObject *parent = Q_NULLPTR);
+ QHttp(const QString &hostname, quint16 port = 80, QObject *parent = Q_NULLPTR);
+ QHttp(const QString &hostname, ConnectionMode mode, quint16 port = 0, QObject *parent = Q_NULLPTR);
virtual ~QHttp();
enum State {
AlternativeType
};
- QHttpMultiPart(QObject *parent = 0);
- QHttpMultiPart(ContentType contentType, QObject *parent = 0);
+ QHttpMultiPart(QObject *parent = Q_NULLPTR);
+ QHttpMultiPart(ContentType contentType, QObject *parent = Q_NULLPTR);
~QHttpMultiPart();
void append(const QHttpPart &httpPart);
public:
#ifndef QT_NO_BEARERMANAGEMENT
- QHttpNetworkConnection(const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = 0, QSharedPointer<QNetworkSession> networkSession = QSharedPointer<QNetworkSession>());
- QHttpNetworkConnection(quint16 channelCount, const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = 0, QSharedPointer<QNetworkSession> networkSession = QSharedPointer<QNetworkSession>());
+ QHttpNetworkConnection(const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = Q_NULLPTR, QSharedPointer<QNetworkSession> networkSession = QSharedPointer<QNetworkSession>());
+ QHttpNetworkConnection(quint16 channelCount, const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = Q_NULLPTR, QSharedPointer<QNetworkSession> networkSession = QSharedPointer<QNetworkSession>());
#else
- QHttpNetworkConnection(const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = 0);
- QHttpNetworkConnection(quint16 channelCount, const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = 0);
+ QHttpNetworkConnection(const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = Q_NULLPTR);
+ QHttpNetworkConnection(quint16 channelCount, const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = Q_NULLPTR);
#endif
~QHttpNetworkConnection();
Q_OBJECT
public:
- explicit QHttpNetworkReply(const QUrl &url = QUrl(), QObject *parent = 0);
+ explicit QHttpNetworkReply(const QUrl &url = QUrl(), QObject *parent = Q_NULLPTR);
virtual ~QHttpNetworkReply();
QUrl url() const;
{
Q_OBJECT
public:
- explicit QHttpThreadDelegate(QObject *parent = 0);
+ explicit QHttpThreadDelegate(QObject *parent = Q_NULLPTR);
~QHttpThreadDelegate();
};
#endif
- explicit QNetworkAccessManager(QObject *parent = 0);
+ explicit QNetworkAccessManager(QObject *parent = Q_NULLPTR);
~QNetworkAccessManager();
#ifndef QT_NO_NETWORKPROXY
{
Q_OBJECT
public:
- QNetworkCookieJar(QObject *parent = 0);
+ QNetworkCookieJar(QObject *parent = Q_NULLPTR);
virtual ~QNetworkCookieJar();
virtual QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const;
Q_OBJECT
public:
- explicit QNetworkDiskCache(QObject *parent = 0);
+ explicit QNetworkDiskCache(QObject *parent = Q_NULLPTR);
~QNetworkDiskCache();
QString cacheDirectory() const;
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
protected:
- QNetworkReply(QObject *parent = 0);
+ QNetworkReply(QObject *parent = Q_NULLPTR);
QNetworkReply(QNetworkReplyPrivate &dd, QObject *parent);
virtual qint64 writeData(const char *data, qint64 len);
{
Q_OBJECT
public:
- QNetworkReplyImpl(QObject *parent = 0);
+ QNetworkReplyImpl(QObject *parent = Q_NULLPTR);
~QNetworkReplyImpl();
virtual void abort();
friend class QNetworkConfigurationManagerPrivate;
public:
- explicit QBearerEngine(QObject *parent = 0);
+ explicit QBearerEngine(QObject *parent = Q_NULLPTR);
virtual ~QBearerEngine();
virtual bool hasIdentifier(const QString &id) = 0;
Q_INTERFACES(QBearerEngineFactoryInterface:QFactoryInterface)
public:
- explicit QBearerEnginePlugin(QObject *parent = 0);
+ explicit QBearerEnginePlugin(QObject *parent = Q_NULLPTR);
virtual ~QBearerEnginePlugin();
virtual QStringList keys() const = 0;
Q_DECLARE_FLAGS(Capabilities, Capability)
- explicit QNetworkConfigurationManager(QObject *parent = 0);
+ explicit QNetworkConfigurationManager(QObject *parent = Q_NULLPTR);
virtual ~QNetworkConfigurationManager();
QNetworkConfigurationManager::Capabilities capabilities() const;
InvalidConfigurationError
};
- explicit QNetworkSession(const QNetworkConfiguration &connConfig, QObject *parent = 0);
+ explicit QNetworkSession(const QNetworkConfiguration &connConfig, QObject *parent = Q_NULLPTR);
virtual ~QNetworkSession();
bool isOpen() const;
void setPeerAddress(const QHostAddress &address);
void setPeerName(const QString &name);
- QAbstractSocket(SocketType socketType, QAbstractSocketPrivate &dd, QObject *parent = 0);
+ QAbstractSocket(SocketType socketType, QAbstractSocketPrivate &dd, QObject *parent = Q_NULLPTR);
private:
Q_DECLARE_PRIVATE(QAbstractSocket)
static QAbstractSocketEngine *createSocketEngine(QAbstractSocket::SocketType socketType, const QNetworkProxy &, QObject *parent);
static QAbstractSocketEngine *createSocketEngine(int socketDescripter, QObject *parent);
- QAbstractSocketEngine(QObject *parent = 0);
+ QAbstractSocketEngine(QObject *parent = Q_NULLPTR);
enum SocketOption {
NonBlockingSocketOption,
SendAuthentication,
ReadResponseContent
};
- QHttpSocketEngine(QObject *parent = 0);
+ QHttpSocketEngine(QObject *parent = Q_NULLPTR);
~QHttpSocketEngine();
bool initialize(QAbstractSocket::SocketType type, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::IPv4Protocol);
void newConnection();
public:
- QLocalServer(QObject *parent = 0);
+ QLocalServer(QObject *parent = Q_NULLPTR);
~QLocalServer();
void close();
ClosingState = QAbstractSocket::ClosingState
};
- QLocalSocket(QObject *parent = 0);
+ QLocalSocket(QObject *parent = Q_NULLPTR);
~QLocalSocket();
void connectToServer(const QString &name, OpenMode openMode = ReadWrite);
{
Q_OBJECT
public:
- QNativeSocketEngine(QObject *parent = 0);
+ QNativeSocketEngine(QObject *parent = Q_NULLPTR);
~QNativeSocketEngine();
bool initialize(QAbstractSocket::SocketType type, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::IPv4Protocol);
{
Q_OBJECT
public:
- QSocks5SocketEngine(QObject *parent = 0);
+ QSocks5SocketEngine(QObject *parent = Q_NULLPTR);
~QSocks5SocketEngine();
bool initialize(QAbstractSocket::SocketType type, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::IPv4Protocol);
{
Q_OBJECT
public:
- explicit QTcpServer(QObject *parent = 0);
+ explicit QTcpServer(QObject *parent = Q_NULLPTR);
virtual ~QTcpServer();
bool listen(const QHostAddress &address = QHostAddress::Any, quint16 port = 0);
{
Q_OBJECT
public:
- explicit QTcpSocket(QObject *parent = 0);
+ explicit QTcpSocket(QObject *parent = Q_NULLPTR);
virtual ~QTcpSocket();
protected:
- QTcpSocket(QTcpSocketPrivate &dd, QObject *parent = 0);
+ QTcpSocket(QTcpSocketPrivate &dd, QObject *parent = Q_NULLPTR);
private:
Q_DISABLE_COPY(QTcpSocket)
};
Q_DECLARE_FLAGS(BindMode, BindFlag)
- explicit QUdpSocket(QObject *parent = 0);
+ explicit QUdpSocket(QObject *parent = Q_NULLPTR);
virtual ~QUdpSocket();
bool bind(const QHostAddress &address, quint16 port, BindMode mode = DefaultForPlatform);
AutoVerifyPeer
};
- QSslSocket(QObject *parent = 0);
+ QSslSocket(QObject *parent = Q_NULLPTR);
~QSslSocket();
// Autostarting the SSL client handshake.
};
Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit)
- explicit QGLShader(QGLShader::ShaderType type, QObject *parent = 0);
- QGLShader(QGLShader::ShaderType type, const QGLContext *context, QObject *parent = 0);
+ explicit QGLShader(QGLShader::ShaderType type, QObject *parent = Q_NULLPTR);
+ QGLShader(QGLShader::ShaderType type, const QGLContext *context, QObject *parent = Q_NULLPTR);
virtual ~QGLShader();
QGLShader::ShaderType shaderType() const;
{
Q_OBJECT
public:
- explicit QGLShaderProgram(QObject *parent = 0);
- explicit QGLShaderProgram(const QGLContext *context, QObject *parent = 0);
+ explicit QGLShaderProgram(QObject *parent = Q_NULLPTR);
+ explicit QGLShaderProgram(const QGLContext *context, QObject *parent = Q_NULLPTR);
virtual ~QGLShaderProgram();
bool addShader(QGLShader *shader);
Q_OBJECT
public:
- QConnmanEngine(QObject *parent = 0);
+ QConnmanEngine(QObject *parent = Q_NULLPTR);
~QConnmanEngine();
bool connmanAvailable() const;
public:
- QConnmanManagerInterface( QObject *parent = 0);
+ QConnmanManagerInterface( QObject *parent = Q_NULLPTR);
~QConnmanManagerInterface();
QDBusObjectPath path() const;
public:
- QConnmanProfileInterface(const QString &dbusPathName,QObject *parent = 0);
+ QConnmanProfileInterface(const QString &dbusPathName,QObject *parent = Q_NULLPTR);
~QConnmanProfileInterface();
QVariantMap getProperties();
public:
- QConnmanServiceInterface(const QString &dbusPathName,QObject *parent = 0);
+ QConnmanServiceInterface(const QString &dbusPathName,QObject *parent = Q_NULLPTR);
~QConnmanServiceInterface();
QVariantMap getProperties();
public:
- QConnmanTechnologyInterface(const QString &dbusPathName,QObject *parent = 0);
+ QConnmanTechnologyInterface(const QString &dbusPathName,QObject *parent = Q_NULLPTR);
~QConnmanTechnologyInterface();
QVariantMap getProperties();
public:
- QConnmanAgentInterface(const QString &dbusPathName,QObject *parent = 0);
+ QConnmanAgentInterface(const QString &dbusPathName,QObject *parent = Q_NULLPTR);
~QConnmanAgentInterface();
void release();
public:
- QConnmanCounterInterface(const QString &dbusPathName, QObject *parent = 0);
+ QConnmanCounterInterface(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
~QConnmanCounterInterface();
// void release();
{
Q_OBJECT
public:
- QConnmanDBusHelper(QObject *parent = 0);
+ QConnmanDBusHelper(QObject *parent = Q_NULLPTR);
~QConnmanDBusHelper();
public slots:
public:
- QOfonoManagerInterface( QObject *parent = 0);
+ QOfonoManagerInterface( QObject *parent = Q_NULLPTR);
~QOfonoManagerInterface();
QDBusObjectPath path() const;
{
Q_OBJECT
public:
- QOfonoDBusHelper(QObject *parent = 0);
+ QOfonoDBusHelper(QObject *parent = Q_NULLPTR);
~QOfonoDBusHelper();
public slots:
public:
- QOfonoModemInterface(const QString &dbusModemPathName, QObject *parent = 0);
+ QOfonoModemInterface(const QString &dbusModemPathName, QObject *parent = Q_NULLPTR);
~QOfonoModemInterface();
QVariantMap getProperties();
public:
- QOfonoNetworkRegistrationInterface(const QString &dbusModemPathName, QObject *parent = 0);
+ QOfonoNetworkRegistrationInterface(const QString &dbusModemPathName, QObject *parent = Q_NULLPTR);
~QOfonoNetworkRegistrationInterface();
QVariantMap getProperties();
public:
//modem or operator paths
- QOfonoNetworkOperatorInterface(const QString &dbusPathName, QObject *parent = 0);
+ QOfonoNetworkOperatorInterface(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
~QOfonoNetworkOperatorInterface();
QVariantMap getProperties();
public:
- QOfonoSimInterface(const QString &dbusModemPathName, QObject *parent = 0);
+ QOfonoSimInterface(const QString &dbusModemPathName, QObject *parent = Q_NULLPTR);
~QOfonoSimInterface();
QVariantMap getProperties();
public:
- QOfonoDataConnectionManagerInterface(const QString &dbusPathName, QObject *parent = 0);
+ QOfonoDataConnectionManagerInterface(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
~QOfonoDataConnectionManagerInterface();
QVariantMap getProperties();
public:
- QOfonoPrimaryDataContextInterface(const QString &dbusPathName, QObject *parent = 0);
+ QOfonoPrimaryDataContextInterface(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
~QOfonoPrimaryDataContextInterface();
QVariantMap getProperties();
public:
- QOfonoSmsInterface(const QString &dbusModemPathName, QObject *parent = 0);
+ QOfonoSmsInterface(const QString &dbusModemPathName, QObject *parent = Q_NULLPTR);
~QOfonoSmsInterface();
QVariantMap getProperties();
Q_OBJECT
public:
- QGenericEngine(QObject *parent = 0);
+ QGenericEngine(QObject *parent = Q_NULLPTR);
~QGenericEngine();
QString getInterfaceFromId(const QString &id);
Q_OBJECT
public:
- QNetworkManagerEngine(QObject *parent = 0);
+ QNetworkManagerEngine(QObject *parent = Q_NULLPTR);
~QNetworkManagerEngine();
bool networkManagerAvailable() const;
public:
- QNetworkManagerInterface(QObject *parent = 0);
+ QNetworkManagerInterface(QObject *parent = Q_NULLPTR);
~QNetworkManagerInterface();
QList <QDBusObjectPath> getDevices() const;
Q_DECLARE_FLAGS(ApSecurityFlags, ApSecurityFlag)
- explicit QNetworkManagerInterfaceAccessPoint(const QString &dbusPathName, QObject *parent = 0);
+ explicit QNetworkManagerInterfaceAccessPoint(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
~QNetworkManagerInterfaceAccessPoint();
QDBusInterface *connectionInterface() const;
public:
- explicit QNetworkManagerInterfaceDevice(const QString &deviceObjectPath, QObject *parent = 0);
+ explicit QNetworkManagerInterfaceDevice(const QString &deviceObjectPath, QObject *parent = Q_NULLPTR);
~QNetworkManagerInterfaceDevice();
QString udi() const;
public:
explicit QNetworkManagerInterfaceDeviceWired(const QString &ifaceDevicePath,
- QObject *parent = 0);
+ QObject *parent = Q_NULLPTR);
~QNetworkManagerInterfaceDeviceWired();
QDBusInterface *connectionInterface() const;
};
explicit QNetworkManagerInterfaceDeviceWireless(const QString &ifaceDevicePath,
- QObject *parent = 0);
+ QObject *parent = Q_NULLPTR);
~QNetworkManagerInterfaceDeviceWireless();
QDBusObjectPath path() const;
public:
- explicit QNetworkManagerSettings(const QString &settingsService, QObject *parent = 0);
+ explicit QNetworkManagerSettings(const QString &settingsService, QObject *parent = Q_NULLPTR);
~QNetworkManagerSettings();
QDBusInterface *connectionInterface() const;
public:
- QNetworkManagerSettingsConnection(const QString &settingsService, const QString &connectionObjectPath, QObject *parent = 0);
+ QNetworkManagerSettingsConnection(const QString &settingsService, const QString &connectionObjectPath, QObject *parent = Q_NULLPTR);
~QNetworkManagerSettingsConnection();
QDBusInterface *connectionInterface() const;
Activated = 2
};
- explicit QNetworkManagerConnectionActive(const QString &dbusPathName, QObject *parent = 0);
+ explicit QNetworkManagerConnectionActive(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
~ QNetworkManagerConnectionActive();
QDBusInterface *connectionInterface() const;
Q_OBJECT
public:
- explicit QNetworkManagerIp4Config(const QString &dbusPathName, QObject *parent = 0);
+ explicit QNetworkManagerIp4Config(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
~QNetworkManagerIp4Config();
QStringList domains() const;
{
Q_OBJECT
public:
- QNmDBusHelper(QObject *parent = 0);
+ QNmDBusHelper(QObject *parent = Q_NULLPTR);
~QNmDBusHelper();
public slots:
DisconnectionError,
};
- QBearerEngineImpl(QObject *parent = 0) : QBearerEngine(parent) {}
+ QBearerEngineImpl(QObject *parent = Q_NULLPTR) : QBearerEngine(parent) {}
~QBearerEngineImpl() {}
virtual void connectToId(const QString &id) = 0;
Q_OBJECT
public:
- QNetworkSessionManagerPrivate(QObject *parent = 0) : QObject(parent) {}
+ QNetworkSessionManagerPrivate(QObject *parent = Q_NULLPTR) : QObject(parent) {}
~QNetworkSessionManagerPrivate() {}
inline void forceSessionClose(const QNetworkConfiguration &config)
Q_OBJECT
Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
- QDeclarativeViewPlugin(QObject *parent = 0);
+ QDeclarativeViewPlugin(QObject *parent = Q_NULLPTR);
virtual QString name() const;
virtual QString group() const;
Q_OBJECT
Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
- QWebViewPlugin(QObject *parent = 0);
+ QWebViewPlugin(QObject *parent = Q_NULLPTR);
virtual QString name() const;
virtual QString group() const;
Q_OBJECT
public:
- explicit QView3DTool(QDesignerFormWindowInterface *formWindow, QObject *parent = 0);
+ explicit QView3DTool(QDesignerFormWindowInterface *formWindow, QObject *parent = Q_NULLPTR);
virtual QDesignerFormEditorInterface *core() const;
virtual QDesignerFormWindowInterface *formWindow() const;
virtual QWidget *editor() const;
Q_OBJECT
friend class QSQLiteResult;
public:
- explicit QSQLiteDriver(QObject *parent = 0);
- explicit QSQLiteDriver(sqlite3 *connection, QObject *parent = 0);
+ explicit QSQLiteDriver(QObject *parent = Q_NULLPTR);
+ explicit QSQLiteDriver(sqlite3 *connection, QObject *parent = Q_NULLPTR);
~QSQLiteDriver();
bool hasFeature(DriverFeature f) const;
bool open(const QString & db,
QScriptEngine(QScriptEnginePrivate &dd);
#else
- QScriptEngine(QScriptEnginePrivate &dd, QObject *parent = 0);
+ QScriptEngine(QScriptEnginePrivate &dd, QObject *parent = Q_NULLPTR);
#endif
private:
Q_OBJECT
Q_INTERFACES(QScriptExtensionInterface:QFactoryInterface)
public:
- explicit QScriptExtensionPlugin(QObject *parent = 0);
+ explicit QScriptExtensionPlugin(QObject *parent = Q_NULLPTR);
~QScriptExtensionPlugin();
virtual QStringList keys() const = 0;
{
Q_OBJECT
public:
- QObjectPrototypeObject(QObject *parent = 0)
+ QObjectPrototypeObject(QObject *parent = Q_NULLPTR)
: QObject(parent) { }
~QObjectPrototypeObject() { }
};
public:
QScriptBreakpointsModel(QScriptDebuggerJobSchedulerInterface *jobScheduler,
QScriptDebuggerCommandSchedulerInterface *commandScheduler,
- QObject *parent = 0);
+ QObject *parent = Q_NULLPTR);
~QScriptBreakpointsModel();
void setBreakpoint(const QScriptBreakpointData &data);
{
Q_OBJECT
public:
- QScriptBreakpointsItemDelegate(QObject *parent = 0)
+ QScriptBreakpointsItemDelegate(QObject *parent = Q_NULLPTR)
: QStyledItemDelegate(parent) {}
QWidget *createEditor(QWidget *parent,
QScriptDebuggerCommandSchedulerInterface *commandScheduler,
QScriptDebuggerJobSchedulerInterface *jobScheduler,
QScriptDebuggerConsole *console,
- QObject *parent = 0);
+ QObject *parent = Q_NULLPTR);
~QScriptCompletionTask();
void start();
GoToLineAction
};
- QScriptDebugger(QObject *parent = 0);
+ QScriptDebugger(QObject *parent = Q_NULLPTR);
~QScriptDebugger();
QScriptDebuggerFrontend *frontend() const;
{
public:
QScriptDebuggerBackendEventReceiver(QScriptDebuggerBackendPrivate *backend,
- QObject *parent = 0)
+ QObject *parent = Q_NULLPTR)
: QObject(parent), m_backend(backend) {}
~QScriptDebuggerBackendEventReceiver() {}
{
Q_OBJECT
public:
- QScriptDebuggerConsoleGlobalObject(QObject *parent = 0);
+ QScriptDebuggerConsoleGlobalObject(QObject *parent = Q_NULLPTR);
~QScriptDebuggerConsoleGlobalObject();
QScriptDebuggerCommandSchedulerInterface *scheduler() const;
{
public:
QScriptDebuggerFrontendEventReceiver(QScriptDebuggerFrontendPrivate *frontend,
- QObject *parent = 0);
+ QObject *parent = Q_NULLPTR);
~QScriptDebuggerFrontendEventReceiver();
bool event(QEvent *);
public:
QScriptDebuggerLocalsModel(QScriptDebuggerJobSchedulerInterface *jobScheduler,
QScriptDebuggerCommandSchedulerInterface *commandScheduler,
- QObject *parent = 0);
+ QObject *parent = Q_NULLPTR);
~QScriptDebuggerLocalsModel();
void init(int frameIndex);
class CustomProxyModel : public QSortFilterProxyModel
{
public:
- CustomProxyModel(QObject *parent = 0)
+ CustomProxyModel(QObject *parent = Q_NULLPTR)
: QSortFilterProxyModel(parent) {}
bool hasChildren(const QModelIndex &parent) const
{
Q_OBJECT
public:
- QScriptDebuggerLocalsItemDelegate(QObject *parent = 0);
+ QScriptDebuggerLocalsItemDelegate(QObject *parent = Q_NULLPTR);
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
{
Q_OBJECT
public:
- QScriptDebuggerScriptsModel(QObject *parent = 0);
+ QScriptDebuggerScriptsModel(QObject *parent = Q_NULLPTR);
~QScriptDebuggerScriptsModel();
void removeScript(qint64 id);
: public QAbstractTableModel
{
public:
- QScriptDebuggerStackModel(QObject *parent = 0);
+ QScriptDebuggerStackModel(QObject *parent = Q_NULLPTR);
~QScriptDebuggerStackModel();
QList<QScriptContextInfo> contextInfos() const;
: public QObject, public QScriptDebuggerWidgetFactoryInterface
{
public:
- QScriptDebuggerStandardWidgetFactory(QObject *parent = 0);
+ QScriptDebuggerStandardWidgetFactory(QObject *parent = Q_NULLPTR);
virtual ~QScriptDebuggerStandardWidgetFactory();
QScriptDebugOutputWidgetInterface *createDebugOutputWidget();
{
Q_OBJECT
public:
- WidgetClosedNotifier(QWidget *w, QObject *parent = 0)
+ WidgetClosedNotifier(QWidget *w, QObject *parent = Q_NULLPTR)
: QObject(parent), widget(w)
{
w->installEventFilter(this);
SuspendedState
};
- QScriptEngineDebugger(QObject *parent = 0);
+ QScriptEngineDebugger(QObject *parent = Q_NULLPTR);
~QScriptEngineDebugger();
void attachTo(QScriptEngine *engine);
{
Q_OBJECT
public:
- QtGradientManager(QObject *parent = 0);
+ QtGradientManager(QObject *parent = Q_NULLPTR);
QMap<QString, QGradient> gradients() const;
{
Q_OBJECT
public:
- QtGradientStopsController(QObject *parent = 0);
+ QtGradientStopsController(QObject *parent = Q_NULLPTR);
~QtGradientStopsController();
void setUi(Ui_QtGradientEditor *editor);
public:
typedef QMap<qreal, QtGradientStop *> PositionStopMap;
- QtGradientStopsModel(QObject *parent = 0);
+ QtGradientStopsModel(QObject *parent = Q_NULLPTR);
~QtGradientStopsModel();
PositionStopMap stops() const;
{
Q_OBJECT
public:
- QtSpinBoxFactory(QObject *parent = 0);
+ QtSpinBoxFactory(QObject *parent = Q_NULLPTR);
~QtSpinBoxFactory();
protected:
void connectPropertyManager(QtIntPropertyManager *manager);
{
Q_OBJECT
public:
- QtSliderFactory(QObject *parent = 0);
+ QtSliderFactory(QObject *parent = Q_NULLPTR);
~QtSliderFactory();
protected:
void connectPropertyManager(QtIntPropertyManager *manager);
{
Q_OBJECT
public:
- QtScrollBarFactory(QObject *parent = 0);
+ QtScrollBarFactory(QObject *parent = Q_NULLPTR);
~QtScrollBarFactory();
protected:
void connectPropertyManager(QtIntPropertyManager *manager);
{
Q_OBJECT
public:
- QtCheckBoxFactory(QObject *parent = 0);
+ QtCheckBoxFactory(QObject *parent = Q_NULLPTR);
~QtCheckBoxFactory();
protected:
void connectPropertyManager(QtBoolPropertyManager *manager);
{
Q_OBJECT
public:
- QtDoubleSpinBoxFactory(QObject *parent = 0);
+ QtDoubleSpinBoxFactory(QObject *parent = Q_NULLPTR);
~QtDoubleSpinBoxFactory();
protected:
void connectPropertyManager(QtDoublePropertyManager *manager);
{
Q_OBJECT
public:
- QtLineEditFactory(QObject *parent = 0);
+ QtLineEditFactory(QObject *parent = Q_NULLPTR);
~QtLineEditFactory();
protected:
void connectPropertyManager(QtStringPropertyManager *manager);
{
Q_OBJECT
public:
- QtDateEditFactory(QObject *parent = 0);
+ QtDateEditFactory(QObject *parent = Q_NULLPTR);
~QtDateEditFactory();
protected:
void connectPropertyManager(QtDatePropertyManager *manager);
{
Q_OBJECT
public:
- QtTimeEditFactory(QObject *parent = 0);
+ QtTimeEditFactory(QObject *parent = Q_NULLPTR);
~QtTimeEditFactory();
protected:
void connectPropertyManager(QtTimePropertyManager *manager);
{
Q_OBJECT
public:
- QtDateTimeEditFactory(QObject *parent = 0);
+ QtDateTimeEditFactory(QObject *parent = Q_NULLPTR);
~QtDateTimeEditFactory();
protected:
void connectPropertyManager(QtDateTimePropertyManager *manager);
{
Q_OBJECT
public:
- QtKeySequenceEditorFactory(QObject *parent = 0);
+ QtKeySequenceEditorFactory(QObject *parent = Q_NULLPTR);
~QtKeySequenceEditorFactory();
protected:
void connectPropertyManager(QtKeySequencePropertyManager *manager);
{
Q_OBJECT
public:
- QtCharEditorFactory(QObject *parent = 0);
+ QtCharEditorFactory(QObject *parent = Q_NULLPTR);
~QtCharEditorFactory();
protected:
void connectPropertyManager(QtCharPropertyManager *manager);
{
Q_OBJECT
public:
- QtEnumEditorFactory(QObject *parent = 0);
+ QtEnumEditorFactory(QObject *parent = Q_NULLPTR);
~QtEnumEditorFactory();
protected:
void connectPropertyManager(QtEnumPropertyManager *manager);
{
Q_OBJECT
public:
- QtCursorEditorFactory(QObject *parent = 0);
+ QtCursorEditorFactory(QObject *parent = Q_NULLPTR);
~QtCursorEditorFactory();
protected:
void connectPropertyManager(QtCursorPropertyManager *manager);
{
Q_OBJECT
public:
- QtColorEditorFactory(QObject *parent = 0);
+ QtColorEditorFactory(QObject *parent = Q_NULLPTR);
~QtColorEditorFactory();
protected:
void connectPropertyManager(QtColorPropertyManager *manager);
{
Q_OBJECT
public:
- QtFontEditorFactory(QObject *parent = 0);
+ QtFontEditorFactory(QObject *parent = Q_NULLPTR);
~QtFontEditorFactory();
protected:
void connectPropertyManager(QtFontPropertyManager *manager);
*/
/*!
- \fn QtAbstractEditorFactoryBase::QtAbstractEditorFactoryBase(QObject *parent = 0)
+ \fn QtAbstractEditorFactoryBase::QtAbstractEditorFactoryBase(QObject *parent = Q_NULLPTR)
Creates an abstract editor factory with the given \a parent.
*/
*/
/*!
- \fn QtAbstractEditorFactory::QtAbstractEditorFactory(QObject *parent = 0)
+ \fn QtAbstractEditorFactory::QtAbstractEditorFactory(QObject *parent = Q_NULLPTR)
Creates an editor factory with the given \a parent.
Q_OBJECT
public:
- explicit QtAbstractPropertyManager(QObject *parent = 0);
+ explicit QtAbstractPropertyManager(QObject *parent = Q_NULLPTR);
~QtAbstractPropertyManager();
QSet<QtProperty *> properties() const;
public:
virtual QWidget *createEditor(QtProperty *property, QWidget *parent) = 0;
protected:
- explicit QtAbstractEditorFactoryBase(QObject *parent = 0)
+ explicit QtAbstractEditorFactoryBase(QObject *parent = Q_NULLPTR)
: QObject(parent) {}
virtual void breakConnection(QtAbstractPropertyManager *manager) = 0;
{
Q_OBJECT
public:
- QtGroupPropertyManager(QObject *parent = 0);
+ QtGroupPropertyManager(QObject *parent = Q_NULLPTR);
~QtGroupPropertyManager();
protected:
{
Q_OBJECT
public:
- QtIntPropertyManager(QObject *parent = 0);
+ QtIntPropertyManager(QObject *parent = Q_NULLPTR);
~QtIntPropertyManager();
int value(const QtProperty *property) const;
{
Q_OBJECT
public:
- QtBoolPropertyManager(QObject *parent = 0);
+ QtBoolPropertyManager(QObject *parent = Q_NULLPTR);
~QtBoolPropertyManager();
bool value(const QtProperty *property) const;
{
Q_OBJECT
public:
- QtDoublePropertyManager(QObject *parent = 0);
+ QtDoublePropertyManager(QObject *parent = Q_NULLPTR);
~QtDoublePropertyManager();
double value(const QtProperty *property) const;
{
Q_OBJECT
public:
- QtStringPropertyManager(QObject *parent = 0);
+ QtStringPropertyManager(QObject *parent = Q_NULLPTR);
~QtStringPropertyManager();
QString value(const QtProperty *property) const;
{
Q_OBJECT
public:
- QtDatePropertyManager(QObject *parent = 0);
+ QtDatePropertyManager(QObject *parent = Q_NULLPTR);
~QtDatePropertyManager();
QDate value(const QtProperty *property) const;
{
Q_OBJECT
public:
- QtTimePropertyManager(QObject *parent = 0);
+ QtTimePropertyManager(QObject *parent = Q_NULLPTR);
~QtTimePropertyManager();
QTime value(const QtProperty *property) const;
{
Q_OBJECT
public:
- QtDateTimePropertyManager(QObject *parent = 0);
+ QtDateTimePropertyManager(QObject *parent = Q_NULLPTR);
~QtDateTimePropertyManager();
QDateTime value(const QtProperty *property) const;
{
Q_OBJECT
public:
- QtKeySequencePropertyManager(QObject *parent = 0);
+ QtKeySequencePropertyManager(QObject *parent = Q_NULLPTR);
~QtKeySequencePropertyManager();
QKeySequence value(const QtProperty *property) const;
{
Q_OBJECT
public:
- QtCharPropertyManager(QObject *parent = 0);
+ QtCharPropertyManager(QObject *parent = Q_NULLPTR);
~QtCharPropertyManager();
QChar value(const QtProperty *property) const;
{
Q_OBJECT
public:
- QtLocalePropertyManager(QObject *parent = 0);
+ QtLocalePropertyManager(QObject *parent = Q_NULLPTR);
~QtLocalePropertyManager();
QtEnumPropertyManager *subEnumPropertyManager() const;
{
Q_OBJECT
public:
- QtPointPropertyManager(QObject *parent = 0);
+ QtPointPropertyManager(QObject *parent = Q_NULLPTR);
~QtPointPropertyManager();
QtIntPropertyManager *subIntPropertyManager() const;
{
Q_OBJECT
public:
- QtPointFPropertyManager(QObject *parent = 0);
+ QtPointFPropertyManager(QObject *parent = Q_NULLPTR);
~QtPointFPropertyManager();
QtDoublePropertyManager *subDoublePropertyManager() const;
{
Q_OBJECT
public:
- QtSizePropertyManager(QObject *parent = 0);
+ QtSizePropertyManager(QObject *parent = Q_NULLPTR);
~QtSizePropertyManager();
QtIntPropertyManager *subIntPropertyManager() const;
{
Q_OBJECT
public:
- QtSizeFPropertyManager(QObject *parent = 0);
+ QtSizeFPropertyManager(QObject *parent = Q_NULLPTR);
~QtSizeFPropertyManager();
QtDoublePropertyManager *subDoublePropertyManager() const;
{
Q_OBJECT
public:
- QtRectPropertyManager(QObject *parent = 0);
+ QtRectPropertyManager(QObject *parent = Q_NULLPTR);
~QtRectPropertyManager();
QtIntPropertyManager *subIntPropertyManager() const;
{
Q_OBJECT
public:
- QtRectFPropertyManager(QObject *parent = 0);
+ QtRectFPropertyManager(QObject *parent = Q_NULLPTR);
~QtRectFPropertyManager();
QtDoublePropertyManager *subDoublePropertyManager() const;
{
Q_OBJECT
public:
- QtEnumPropertyManager(QObject *parent = 0);
+ QtEnumPropertyManager(QObject *parent = Q_NULLPTR);
~QtEnumPropertyManager();
int value(const QtProperty *property) const;
{
Q_OBJECT
public:
- QtFlagPropertyManager(QObject *parent = 0);
+ QtFlagPropertyManager(QObject *parent = Q_NULLPTR);
~QtFlagPropertyManager();
QtBoolPropertyManager *subBoolPropertyManager() const;
{
Q_OBJECT
public:
- QtSizePolicyPropertyManager(QObject *parent = 0);
+ QtSizePolicyPropertyManager(QObject *parent = Q_NULLPTR);
~QtSizePolicyPropertyManager();
QtIntPropertyManager *subIntPropertyManager() const;
{
Q_OBJECT
public:
- QtFontPropertyManager(QObject *parent = 0);
+ QtFontPropertyManager(QObject *parent = Q_NULLPTR);
~QtFontPropertyManager();
QtIntPropertyManager *subIntPropertyManager() const;
{
Q_OBJECT
public:
- QtColorPropertyManager(QObject *parent = 0);
+ QtColorPropertyManager(QObject *parent = Q_NULLPTR);
~QtColorPropertyManager();
QtIntPropertyManager *subIntPropertyManager() const;
{
Q_OBJECT
public:
- QtCursorPropertyManager(QObject *parent = 0);
+ QtCursorPropertyManager(QObject *parent = Q_NULLPTR);
~QtCursorPropertyManager();
#ifndef QT_NO_CURSOR
{
Q_OBJECT
public:
- QtPropertyEditorDelegate(QObject *parent = 0)
+ QtPropertyEditorDelegate(QObject *parent = Q_NULLPTR)
: QItemDelegate(parent), m_editorPrivate(0), m_editedItem(0), m_editedWidget(0)
{}
{
Q_OBJECT
public:
- QtVariantPropertyManager(QObject *parent = 0);
+ QtVariantPropertyManager(QObject *parent = Q_NULLPTR);
~QtVariantPropertyManager();
virtual QtVariantProperty *addProperty(int propertyType, const QString &name = QString());
{
Q_OBJECT
public:
- QtVariantEditorFactory(QObject *parent = 0);
+ QtVariantEditorFactory(QObject *parent = Q_NULLPTR);
~QtVariantEditorFactory();
protected:
void connectPropertyManager(QtVariantPropertyManager *manager);
Q_OBJECT
Q_INTERFACES(QSqlDriverFactoryInterface:QFactoryInterface)
public:
- explicit QSqlDriverPlugin(QObject *parent = 0);
+ explicit QSqlDriverPlugin(QObject *parent = Q_NULLPTR);
~QSqlDriverPlugin();
virtual QStringList keys() const = 0;
Q_DECLARE_PRIVATE(QSqlQueryModel)
public:
- explicit QSqlQueryModel(QObject *parent = 0);
+ explicit QSqlQueryModel(QObject *parent = Q_NULLPTR);
virtual ~QSqlQueryModel();
int rowCount(const QModelIndex &parent = QModelIndex()) const;
QModelIndex indexInQuery(const QModelIndex &item) const;
void setLastError(const QSqlError &error);
- QSqlQueryModel(QSqlQueryModelPrivate &dd, QObject *parent = 0);
+ QSqlQueryModel(QSqlQueryModelPrivate &dd, QObject *parent = Q_NULLPTR);
};
QT_END_NAMESPACE
class QRelatedTableModel : public QSqlTableModel
{
public:
- QRelatedTableModel(QRelation *rel, QObject *parent = 0, QSqlDatabase db = QSqlDatabase());
+ QRelatedTableModel(QRelation *rel, QObject *parent = Q_NULLPTR, QSqlDatabase db = QSqlDatabase());
bool select();
private:
bool firstSelect;
LeftJoin
};
- explicit QSqlRelationalTableModel(QObject *parent = 0,
+ explicit QSqlRelationalTableModel(QObject *parent = Q_NULLPTR,
QSqlDatabase db = QSqlDatabase());
virtual ~QSqlRelationalTableModel();
public:
enum EditStrategy {OnFieldChange, OnRowChange, OnManualSubmit};
- explicit QSqlTableModel(QObject *parent = 0, QSqlDatabase db = QSqlDatabase());
+ explicit QSqlTableModel(QObject *parent = Q_NULLPTR, QSqlDatabase db = QSqlDatabase());
virtual ~QSqlTableModel();
virtual bool select();
void beforeDelete(int row);
protected:
- QSqlTableModel(QSqlTableModelPrivate &dd, QObject *parent = 0, QSqlDatabase db = QSqlDatabase());
+ QSqlTableModel(QSqlTableModelPrivate &dd, QObject *parent = Q_NULLPTR, QSqlDatabase db = QSqlDatabase());
virtual bool updateRowInTable(int row, const QSqlRecord &values);
virtual bool insertRowIntoTable(const QSqlRecord &values);
class AppFontModel : public QStandardItemModel {
Q_DISABLE_COPY(AppFontModel)
public:
- AppFontModel(QObject *parent = 0);
+ AppFontModel(QObject *parent = Q_NULLPTR);
void init(const AppFontManager &mgr);
void add(const QString &fontFile, int id);
{
Q_OBJECT
public:
- FeedbackItemDelegate(QObject *parent = 0) : QItemDelegate(parent) { }
+ FeedbackItemDelegate(QObject *parent = Q_NULLPTR) : QItemDelegate(parent) { }
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex & index) const;
Q_OBJECT
public:
- explicit QtToolBarManager(QObject *parent = 0);
+ explicit QtToolBarManager(QObject *parent = Q_NULLPTR);
~QtToolBarManager();
void setMainWindow(QMainWindow *mainWindow);
// constructors/destructors:
hs << "public:" << endl
- << " " << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);" << endl
+ << " " << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = Q_NULLPTR);" << endl
<< endl
<< " ~" << className << "();" << endl
<< endl;
{
Q_OBJECT
public:
- ByteArrayPrototype(QObject *parent = 0);
+ ByteArrayPrototype(QObject *parent = Q_NULLPTR);
~ByteArrayPrototype();
public slots:
{
Q_OBJECT
public:
- QUiLoader(QObject *parent = 0);
+ QUiLoader(QObject *parent = Q_NULLPTR);
virtual ~QUiLoader();
QStringList pluginPaths() const;
QStringList availableLayouts() const;
virtual QWidget *createWidget(const QString &className, QWidget *parent = Q_NULLPTR, const QString &name = QString());
- virtual QLayout *createLayout(const QString &className, QObject *parent = 0, const QString &name = QString());
- virtual QActionGroup *createActionGroup(QObject *parent = 0, const QString &name = QString());
- virtual QAction *createAction(QObject *parent = 0, const QString &name = QString());
+ virtual QLayout *createLayout(const QString &className, QObject *parent = Q_NULLPTR, const QString &name = QString());
+ virtual QActionGroup *createActionGroup(QObject *parent = Q_NULLPTR, const QString &name = QString());
+ virtual QAction *createAction(QObject *parent = Q_NULLPTR, const QString &name = QString());
void setWorkingDirectory(const QDir &dir);
QDir workingDirectory() const;