more code cosmetics

This commit is contained in:
hjk
2008-12-02 16:19:05 +01:00
parent 10e963fb61
commit cf11b69643
398 changed files with 1011 additions and 820 deletions

View File

@@ -30,14 +30,15 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#include "helpengine.h"
#include "config.h"
#include <QtCore/QDebug>
#include <QtCore/QDir>
#include <QtCore/QDateTime>
#include <QtCore/QCoreApplication>
#include "helpengine.h"
#include "config.h"
using namespace Help::Internal;
static bool verifyDirectory(const QString &str)
@@ -52,7 +53,8 @@ static bool verifyDirectory(const QString &str)
return true;
}
struct IndexKeyword {
struct IndexKeyword
{
IndexKeyword(const QString &kw, const QString &l)
: keyword(kw), link(l) {}
IndexKeyword() : keyword(QString()), link(QString()) {}
@@ -193,12 +195,6 @@ QModelIndex IndexListModel::filter(const QString &s, const QString &real)
HelpEngine::HelpEngine(QObject *parent, const QString &defaultQtVersionPath)
: QObject(parent)
{
@@ -344,13 +340,6 @@ QString HelpEngine::home() const
TitleMapThread::TitleMapThread(HelpEngine *he)
: QThread(he)
{
@@ -488,9 +477,6 @@ void TitleMapThread::buildContentDict()
}
IndexThread::IndexThread(HelpEngine *he)
: QThread(he)
{