more code cosmetics

This commit is contained in:
hjk
2008-12-02 16:19:05 +01:00
parent 10e963fb61
commit cf11b69643
398 changed files with 1011 additions and 820 deletions

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#include "foldernavigationwidget.h"
#include "projectexplorer.h"
#include "projectexplorerconstants.h"
@@ -52,18 +53,21 @@ bool debug = false;
}
namespace ProjectExplorer {
namespace Internal {
class FirstRowFilter : public QSortFilterProxyModel {
Q_OBJECT
public:
FirstRowFilter(QObject *parent = 0) : QSortFilterProxyModel(parent) {}
protected:
bool filterAcceptsRow (int source_row, const QModelIndex & ) const {
return source_row != 0;
}
};
namespace Internal {
class FirstRowFilter : public QSortFilterProxyModel
{
Q_OBJECT
public:
FirstRowFilter(QObject *parent = 0) : QSortFilterProxyModel(parent) {}
protected:
bool filterAcceptsRow (int source_row, const QModelIndex & ) const {
return source_row != 0;
}
}
};
} // namespace Internal
} // namespace ProjectExplorer
/*!
/class FolderNavigationWidget