void setCheckState(const QModelIndex &index, Qt::CheckState state);\r
void setCheckStateAll(Qt::CheckState state);\r
const QString absolutePath() const { return m_dir.absolutePath(); }\r
-#if 0\r
- bool isDir(const QModelIndex &index) const;\r
- const QString absoluteFilePath(const QModelIndex &index) const;\r
- const QString fileName(const QModelIndex &index) const;\r
-#endif\r
+\r
QFileInfoList checkedItems() const;\r
QFileInfo fileInfo(const QModelIndex &index) const;\r
\r
void updateAppearance();\r
\r
+ QFont font() const { return m_font; }\r
+\r
signals:\r
void rootChanged(const QString &root);\r
void stateChanged(int checkedFoldrs, int checkedFiles, quint64 totalSize);\r
- void listUpdated();\r
\r
public slots:\r
+ void directoryChange(const QString &path);\r
\r
private:\r
QDir m_dir;\r