src/imports/folderlistmodel/qdeclarativefolderlistmodel.cpp
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
--- a/src/imports/folderlistmodel/qdeclarativefolderlistmodel.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/src/imports/folderlistmodel/qdeclarativefolderlistmodel.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -45,6 +45,8 @@
 #include <QDebug>
 #include <qdeclarativecontext.h>
 
+#ifndef QT_NO_DIRMODEL
+
 QT_BEGIN_NAMESPACE
 
 class QDeclarativeFolderListModelPrivate
@@ -91,7 +93,7 @@
 };
 
 /*!
-    \qmlclass FolderListModel
+    \qmlclass FolderListModel QDeclarativeFolderListModel
     \brief The FolderListModel provides a model of the contents of a folder in a filesystem.
 
     FolderListModel provides access to the local filesystem.  The \e folder property
@@ -397,3 +399,5 @@
 
 //![code]
 QT_END_NAMESPACE
+
+#endif // QT_NO_DIRMODEL