Bitcoin-Qt: massive header and cpp cleanup
- try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
class TransactionFilterProxy : public QSortFilterProxyModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TransactionFilterProxy(QObject *parent = 0);
|
||||
|
||||
@@ -32,6 +33,7 @@ public:
|
||||
void setLimit(int limit);
|
||||
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
|
||||
protected:
|
||||
bool filterAcceptsRow(int source_row, const QModelIndex & source_parent) const;
|
||||
|
||||
@@ -42,11 +44,6 @@ private:
|
||||
quint32 typeFilter;
|
||||
qint64 minAmount;
|
||||
int limitRows;
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
};
|
||||
|
||||
#endif // TRANSACTIONFILTERPROXY_H
|
||||
|
||||
Reference in New Issue
Block a user