equal
deleted
inserted
replaced
54 // |
54 // |
55 |
55 |
56 #include "qcompleter.h" |
56 #include "qcompleter.h" |
57 #include <QtGui/qfilesystemmodel.h> |
57 #include <QtGui/qfilesystemmodel.h> |
58 QT_BEGIN_NAMESPACE |
58 QT_BEGIN_NAMESPACE |
59 #ifndef QT_NO_COMPLETER |
59 #ifndef QT_NO_FSCOMPLETER |
60 |
60 |
61 /*! |
61 /*! |
62 QCompleter that can deal with QFileSystemModel |
62 QCompleter that can deal with QFileSystemModel |
63 */ |
63 */ |
64 class QFSCompleter : public QCompleter { |
64 class QFSCompleter : public QCompleter { |
74 QStringList splitPath(const QString& path) const; |
74 QStringList splitPath(const QString& path) const; |
75 |
75 |
76 QAbstractProxyModel *proxyModel; |
76 QAbstractProxyModel *proxyModel; |
77 QFileSystemModel *sourceModel; |
77 QFileSystemModel *sourceModel; |
78 }; |
78 }; |
79 #endif // QT_NO_COMPLETER |
79 #endif // QT_NO_FSCOMPLETER |
80 QT_END_NAMESPACE |
80 QT_END_NAMESPACE |
81 #endif // QFSCOMPLETOR_P_H |
81 #endif // QFSCOMPLETOR_P_H |
82 |
82 |