Fix EOL style (had Unix/DOS) mixed style.

This commit is contained in:
Kimmo Varis 2009-05-28 18:30:20 +03:00
parent f5730d3d75
commit 31c68ffb5a
1 changed files with 39 additions and 39 deletions

View File

@ -40,22 +40,22 @@ public:
ThreadHandler(); ThreadHandler();
virtual ~ThreadHandler(); virtual ~ThreadHandler();
/** /**
* @brief Set the number of threads to use * @brief Set the number of threads to use
* @param count The number of threads to use * @param count The number of threads to use
*/ */
void SetThreadCount(const int count); void SetThreadCount(const int count);
/** /**
* @brief Initialize the threads (connect all signals to resultsview's slots) * @brief Initialize the threads (connect all signals to resultsview's slots)
* *
* @param view View to show error results * @param view View to show error results
*/ */
void Initialize(ResultsView *view); void Initialize(ResultsView *view);
/** /**
* @brief Load settings * @brief Load settings
* @param settings QSettings to load settings from * @param settings QSettings to load settings from
*/ */
void LoadSettings(QSettings &settings); void LoadSettings(QSettings &settings);
@ -78,62 +78,62 @@ public:
*/ */
void SetFiles(const QStringList &files); void SetFiles(const QStringList &files);
/** /**
* @brief Start the threads to check the files * @brief Start the threads to check the files
* *
* @param settings Settings for checking * @param settings Settings for checking
* @param recheck Should we reuse the files we checked earleir * @param recheck Should we reuse the files we checked earleir
*/ */
void Check(Settings settings, bool recheck); void Check(Settings settings, bool recheck);
signals: signals:
/** /**
* @brief Signal that all threads are done * @brief Signal that all threads are done
* *
*/ */
void Done(); void Done();
protected slots: protected slots:
/** /**
* @brief Slot to stop all threads * @brief Slot to stop all threads
* *
*/ */
void Stop(); void Stop();
/** /**
* @brief Slot that a single thread is done * @brief Slot that a single thread is done
* *
*/ */
void ThreadDone(); void ThreadDone();
protected: protected:
/** /**
* @brief List of files checked last time (used when rechecking) * @brief List of files checked last time (used when rechecking)
* *
*/ */
QStringList mLastFiles; QStringList mLastFiles;
/** /**
* @brief Function to delete all threads * @brief Function to delete all threads
* *
*/ */
void RemoveThreads(); void RemoveThreads();
/** /**
* @brief Thread results are stored here * @brief Thread results are stored here
* *
*/ */
ThreadResult mResults; ThreadResult mResults;
/** /**
* @brief List of threads currently in use * @brief List of threads currently in use
* *
*/ */
QList<CheckThread *> mThreads; QList<CheckThread *> mThreads;
/** /**
* @brief The amount of threads currently running * @brief The amount of threads currently running
* *
*/ */
int mRunningThreadCount; int mRunningThreadCount;
private: private: