File indexing completed on 2024-12-08 12:21:12
0001 /* 0002 SPDX-FileCopyrightText: 2013 Mark Gaiser <markg85@gmail.com> 0003 0004 SPDX-License-Identifier: LGPL-2.0-only 0005 */ 0006 0007 #ifndef LISTDIRTEST_H 0008 #define LISTDIRTEST_H 0009 0010 #include <QObject> 0011 #include <kio/udsentry.h> 0012 0013 namespace KIO 0014 { 0015 class Job; 0016 } 0017 0018 class ListDirTest : public QObject 0019 { 0020 Q_OBJECT 0021 private Q_SLOTS: 0022 void numFilesTestCase_data(); 0023 void numFilesTestCase(); 0024 0025 void slotEntries(KIO::Job *job, const KIO::UDSEntryList &entries); 0026 0027 private: 0028 void createEmptyTestFiles(int numOfFilesToCreate, const QString &path); 0029 int m_receivedEntryCount; 0030 }; 0031 0032 #endif