forked from qt-creator/qt-creator
Qt Creator Plugin HOWTO documentation first and second cut
Signed-off-by: Abhishek Patil <abhishek.patil@vcreatelogic.com> Merge-request: 145 Reviewed-by: con <qtc-committer@nokia.com>
This commit is contained in:
20
doc/examples/dirmodelplugin/filesystemmodel.cpp
Normal file
20
doc/examples/dirmodelplugin/filesystemmodel.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "filesystemmodel.h"
|
||||
|
||||
FileSystemModel::FileSystemModel(QObject* parent)
|
||||
:QFileSystemModel(parent)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
FileSystemModel::~FileSystemModel()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int FileSystemModel::columnCount(const QModelIndex &parent ) const
|
||||
{
|
||||
Q_UNUSED(parent)
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user