1862 */ |
1862 */ |
1863 void QFileSystemModelPrivate::init() |
1863 void QFileSystemModelPrivate::init() |
1864 { |
1864 { |
1865 Q_Q(QFileSystemModel); |
1865 Q_Q(QFileSystemModel); |
1866 qRegisterMetaType<QList<QPair<QString,QFileInfo> > >("QList<QPair<QString,QFileInfo> >"); |
1866 qRegisterMetaType<QList<QPair<QString,QFileInfo> > >("QList<QPair<QString,QFileInfo> >"); |
1867 q->connect(&fileInfoGatherer, SIGNAL(newListOfFiles(const QString &, const QStringList &)), |
1867 q->connect(&fileInfoGatherer, SIGNAL(newListOfFiles(QString,QStringList)), |
1868 q, SLOT(_q_directoryChanged(const QString &, const QStringList &))); |
1868 q, SLOT(_q_directoryChanged(QString,QStringList))); |
1869 q->connect(&fileInfoGatherer, SIGNAL(updates(const QString &, const QList<QPair<QString, QFileInfo> > &)), |
1869 q->connect(&fileInfoGatherer, SIGNAL(updates(QString,QList<QPair<QString,QFileInfo> >)), |
1870 q, SLOT(_q_fileSystemChanged(const QString &, const QList<QPair<QString, QFileInfo> > &))); |
1870 q, SLOT(_q_fileSystemChanged(QString,QList<QPair<QString,QFileInfo> >))); |
1871 q->connect(&fileInfoGatherer, SIGNAL(nameResolved(const QString &, const QString &)), |
1871 q->connect(&fileInfoGatherer, SIGNAL(nameResolved(QString,QString)), |
1872 q, SLOT(_q_resolvedName(const QString &, const QString &))); |
1872 q, SLOT(_q_resolvedName(QString,QString))); |
1873 q->connect(&delayedSortTimer, SIGNAL(timeout()), q, SLOT(_q_performDelayedSort()), Qt::QueuedConnection); |
1873 q->connect(&delayedSortTimer, SIGNAL(timeout()), q, SLOT(_q_performDelayedSort()), Qt::QueuedConnection); |
1874 } |
1874 } |
1875 |
1875 |
1876 /*! |
1876 /*! |
1877 \internal |
1877 \internal |