User Q_ macros for signals and slots
This commit is contained in:
parent
fae07da91c
commit
6389825172
@ -143,7 +143,7 @@ public:
|
||||
*/
|
||||
Plasma::FrameSvg *frameSvg() const;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void imagePathChanged();
|
||||
void prefixChanged();
|
||||
void enabledBordersChanged();
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
|
||||
void clear();
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
|
||||
/**
|
||||
Finds the parent id of the string with id @p searchId.
|
||||
|
@ -117,7 +117,7 @@ public:
|
||||
|
||||
DeclarativeMimeData* mimeData() const;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void dragStarted();
|
||||
void delegateChanged();
|
||||
void sourceChanged();
|
||||
|
@ -91,7 +91,7 @@ public:
|
||||
void setHtml(const QString &html);
|
||||
*/
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void textChanged(); //FIXME not being used
|
||||
void htmlChanged(); //FIXME not being used
|
||||
void urlChanged();
|
||||
|
@ -47,7 +47,7 @@ class ColumnProxyModel : public QAbstractListModel
|
||||
virtual int rowCount(const QModelIndex& parent = QModelIndex()) const;
|
||||
virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void rootIndexChanged();
|
||||
|
||||
private:
|
||||
@ -58,7 +58,7 @@ class ColumnProxyModel : public QAbstractListModel
|
||||
QModelIndex m_index;
|
||||
QAbstractItemModel* m_sourceModel;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void considerRowsAboutToBeInserted(const QModelIndex&,int,int);
|
||||
void considerRowsAboutToBeMoved(const QModelIndex& sourceParent, int rA, int rB, const QModelIndex& destParent, int rD);
|
||||
void considerRowsAboutToBeRemoved(const QModelIndex&,int,int);
|
||||
|
@ -117,7 +117,7 @@ public:
|
||||
bool m_resetTimer;
|
||||
bool m_queued;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void dataUpdated(const QString &, const Plasma::DataEngine::Data &);
|
||||
|
||||
protected:
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
ByteArrayPrototype(QObject *parent = 0);
|
||||
~ByteArrayPrototype();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void chop(int n);
|
||||
bool equals(const QByteArray &other);
|
||||
QByteArray left(int len) const;
|
||||
|
@ -115,7 +115,7 @@ private:
|
||||
QStringList m_favorites;
|
||||
KConfigGroup m_configGroup;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void populateModel(const QStringList &whatChanged = QStringList());
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user