Skip to content

Commit

Permalink
Rename header files to .hpp simply for the sake of adapting to Atom e…
Browse files Browse the repository at this point in the history
…ditor's filetype detection
  • Loading branch information
sjuvonen committed Jul 11, 2015
1 parent 0750988 commit 698642d
Show file tree
Hide file tree
Showing 85 changed files with 149 additions and 149 deletions.
80 changes: 40 additions & 40 deletions coquillo.pro
Expand Up @@ -27,47 +27,47 @@ FORMS += \
ui/tagsearchdialog.ui \

HEADERS += \
src/actionsignalmapper.h \
src/mainwindow.h \
src/stringstoremodel.h \
src/filebrowser/directorymodel.h \
src/filebrowser/filebrowser.h \
src/filters/abstractfilter.h \
src/filters/parsediscnumber.h \
src/filters/safefilenames.h \
src/filters/scaleimages.h \
src/filters/trimwhitespace.h \
src/metadata/filereader.h \
src/metadata/filewriter.h \
src/metadata/image.h \
src/metadata/imagecache.h \
src/metadata/imagetypes.h \
src/metadata/mapper.h \
src/metadata/mediacrawler.h \
src/metadata/metadata.h \
src/metadata/metadatamodel.h \
src/metadata/tags/default.h \
src/metadata/tags/id3v2.h \
src/metadata/tags/xiphcomment.h \
src/processor/basewidget.h \
src/processor/parserwidget.h \
src/processor/patternwidget.h \
src/processor/patterns.h \
src/processor/renamewidget.h \
src/searcher/abstractsearcher.h \
src/searcher/musicbrainz.h \
src/settings/settingsdialog.h \
src/tageditor/basictags.h \
src/tageditor/imagemodel.h \
src/tageditor/imagetags.h \
src/tageditor/metadatachangeindicatordelegate.h \
src/tageditor/rawdata.h \
src/tageditor/tageditor.h \
src/webtags/filterproxymodel.h \
src/webtags/tagsearchdialog.h \
src/webtags/trackselectionmodel.h \
src/actionsignalmapper.hpp \
src/mainwindow.hpp \
src/stringstoremodel.hpp \
src/filebrowser/directorymodel.hpp \
src/filebrowser/filebrowser.hpp \
src/filters/abstractfilter.hpp \
src/filters/parsediscnumber.hpp \
src/filters/safefilenames.hpp \
src/filters/scaleimages.hpp \
src/filters/trimwhitespace.hpp \
src/metadata/filereader.hpp \
src/metadata/filewriter.hpp \
src/metadata/image.hpp \
src/metadata/imagecache.hpp \
src/metadata/imagetypes.hpp \
src/metadata/mapper.hpp \
src/metadata/mediacrawler.hpp \
src/metadata/metadata.hpp \
src/metadata/metadatamodel.hpp \
src/metadata/tags/default.hpp \
src/metadata/tags/id3v2.hpp \
src/metadata/tags/xiphcomment.hpp \
src/processor/basewidget.hpp \
src/processor/parserwidget.hpp \
src/processor/patternwidget.hpp \
src/processor/patterns.hpp \
src/processor/renamewidget.hpp \
src/searcher/abstractsearcher.hpp \
src/searcher/musicbrainz.hpp \
src/settings/settingsdialog.hpp \
src/tageditor/basictags.hpp \
src/tageditor/imagemodel.hpp \
src/tageditor/imagetags.hpp \
src/tageditor/metadatachangeindicatordelegate.hpp \
src/tageditor/rawdata.hpp \
src/tageditor/tageditor.hpp \
src/webtags/filterproxymodel.hpp \
src/webtags/tagsearchdialog.hpp \
src/webtags/trackselectionmodel.hpp \
# Experimental
src/quick/metadataproxymodel.h \
src/quick/metadataproxymodel.hpp \

SOURCES += \
src/main.cpp \
Expand Down
2 changes: 1 addition & 1 deletion src/actionsignalmapper.cpp
@@ -1,6 +1,6 @@

#include <QAction>
#include "actionsignalmapper.h"
#include "actionsignalmapper.hpp"

namespace Coquillo {
void ActionSignalMapper::map(QAction * action) {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/filebrowser/directorymodel.cpp
@@ -1,7 +1,7 @@

#include <QDebug>
#include <QFileSystemModel>
#include "directorymodel.h"
#include "directorymodel.hpp"

namespace Coquillo {
DirectoryModel::DirectoryModel(QObject * parent)
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/filebrowser/filebrowser.cpp
Expand Up @@ -9,8 +9,8 @@
#include <QMouseEvent>
#include <QSortFilterProxyModel>

#include "directorymodel.h"
#include "filebrowser.h"
#include "directorymodel.hpp"
#include "filebrowser.hpp"
#include "ui_filebrowser.h"

namespace Coquillo {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/filebrowser/filebrowsermanager.cpp
@@ -1,4 +1,4 @@
#include "filebrowsermanager.h"
#include "filebrowsermanager.hpp"

namespace Coquillo {
FileBrowserManager::FileBrowserManager(QObject * parent)
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/filters/parsediscnumber.cpp
@@ -1,6 +1,6 @@

#include "metadata/metadata.h"
#include "parsediscnumber.h"
#include "metadata/metadata.hpp"
#include "parsediscnumber.hpp"

namespace Coquillo {
namespace Filter {
Expand Down
@@ -1,7 +1,7 @@
#ifndef COQUILLO_FILTER_PARSEDISCNUMBER_H
#define COQUILLO_FILTER_PARSEDISCNUMBER_H

#include "abstractfilter.h"
#include "abstractfilter.hpp"

namespace Coquillo {
namespace Filter {
Expand Down
4 changes: 2 additions & 2 deletions src/filters/safefilenames.cpp
@@ -1,6 +1,6 @@

#include "metadata/metadata.h"
#include "safefilenames.h"
#include "metadata/metadata.hpp"
#include "safefilenames.hpp"

namespace Coquillo {
namespace Filter {
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions src/filters/scaleimages.cpp
@@ -1,7 +1,7 @@

#include "metadata/imagecache.h"
#include "metadata/metadata.h"
#include "scaleimages.h"
#include "metadata/imagecache.hpp"
#include "metadata/metadata.hpp"
#include "scaleimages.hpp"

namespace Coquillo {
namespace Filter {
Expand Down
2 changes: 1 addition & 1 deletion src/filters/scaleimages.h → src/filters/scaleimages.hpp
@@ -1,7 +1,7 @@
#ifndef COQUILLO_FILTER_SCALEIMAGES_H
#define COQUILLO_FILTER_SCALEIMAGES_H

#include "abstractfilter.h"
#include "abstractfilter.hpp"

namespace Coquillo {
namespace Filter {
Expand Down
4 changes: 2 additions & 2 deletions src/filters/trimwhitespace.cpp
@@ -1,6 +1,6 @@

#include "metadata/metadata.h"
#include "trimwhitespace.h"
#include "metadata/metadata.hpp"
#include "trimwhitespace.hpp"

namespace Coquillo {
namespace Filter {
Expand Down
@@ -1,7 +1,7 @@
#ifndef COQUILLO_FILTER_TRIMWHITESPACE_H
#define COQUILLO_FILTER_TRIMWHITESPACE_H

#include "abstractfilter.h"
#include "abstractfilter.hpp"

namespace Coquillo {
namespace Filter {
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Expand Up @@ -3,7 +3,7 @@
#include <QMap>
#include <QSettings>
#include <QStandardPaths>
#include "mainwindow.h"
#include "mainwindow.hpp"

void prepare_settings() {
QSettings settings;
Expand Down
18 changes: 9 additions & 9 deletions src/mainwindow.cpp
Expand Up @@ -9,17 +9,17 @@
#include <QSortFilterProxyModel>
#include <QTimer>

#include "actionsignalmapper.h"
#include "stringstoremodel.h"
#include "mainwindow.h"
#include "actionsignalmapper.hpp"
#include "stringstoremodel.hpp"
#include "mainwindow.hpp"
#include "ui_mainwindow.h"

#include "filebrowser/filebrowser.h"
#include "metadata/metadatamodel.h"
#include "processor/renamewidget.h"
#include "processor/parserwidget.h"
#include "settings/settingsdialog.h"
#include "webtags/tagsearchdialog.h"
#include "filebrowser/filebrowser.hpp"
#include "metadata/metadatamodel.hpp"
#include "processor/renamewidget.hpp"
#include "processor/parserwidget.hpp"
#include "settings/settingsdialog.hpp"
#include "webtags/tagsearchdialog.hpp"

namespace Coquillo {
MainWindow::MainWindow(QWidget * parent)
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions src/metadata/filereader.cpp
Expand Up @@ -10,11 +10,11 @@
#include <taglib/tfile.h>
#include <taglib/vorbisfile.h>

#include "filereader.h"
#include "metadata.h"
#include "tags/default.h"
#include "tags/id3v2.h"
#include "tags/xiphcomment.h"
#include "filereader.hpp"
#include "metadata.hpp"
#include "tags/default.hpp"
#include "tags/id3v2.hpp"
#include "tags/xiphcomment.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions src/metadata/filewriter.cpp
Expand Up @@ -6,10 +6,10 @@
#include <taglib/tfile.h>
#include <taglib/vorbisfile.h>

#include "filewriter.h"
#include "tags/default.h"
#include "tags/id3v2.h"
#include "tags/xiphcomment.h"
#include "filewriter.hpp"
#include "tags/default.hpp"
#include "tags/id3v2.hpp"
#include "tags/xiphcomment.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
2 changes: 1 addition & 1 deletion src/metadata/filewriter.h → src/metadata/filewriter.hpp
Expand Up @@ -3,7 +3,7 @@

#include <QObject>
#include <QRunnable>
#include "metadata.h"
#include "metadata.hpp"

namespace TagLib {
class File;
Expand Down
4 changes: 2 additions & 2 deletions src/metadata/image.cpp
@@ -1,6 +1,6 @@

#include "image.h"
#include "imagecache.h"
#include "image.hpp"
#include "imagecache.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/metadata/imagecache.cpp
@@ -1,6 +1,6 @@

#include <QDebug>
#include "imagecache.h"
#include "imagecache.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/metadata/imagetypes.cpp
@@ -1,7 +1,7 @@

#include <QStringList>
#include <taglib/flacpicture.h>
#include "imagetypes.h"
#include "imagetypes.hpp"

#define tr(str) QObject::tr(str)

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/metadata/mapper.cpp
@@ -1,6 +1,6 @@

#include "metadata.h"
#include "mapper.h"
#include "metadata.hpp"
#include "mapper.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
2 changes: 1 addition & 1 deletion src/metadata/mapper.h → src/metadata/mapper.hpp
Expand Up @@ -5,7 +5,7 @@
#include <QString>
#include <QVariant>

#include "tag.h"
#include "tag.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
2 changes: 1 addition & 1 deletion src/metadata/mediacrawler.cpp
@@ -1,7 +1,7 @@

#include <QDir>
#include <QFileInfo>
#include "mediacrawler.h"
#include "mediacrawler.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/metadata/metadata.cpp
@@ -1,8 +1,8 @@

#include <QDebug>

#include "mapper.h"
#include "metadata.h"
#include "mapper.hpp"
#include "metadata.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
4 changes: 2 additions & 2 deletions src/metadata/metadata.h → src/metadata/metadata.hpp
Expand Up @@ -5,8 +5,8 @@
#include <QString>
#include <QVariant>

#include "image.h"
#include "tag.h"
#include "image.hpp"
#include "tag.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
10 changes: 5 additions & 5 deletions src/metadata/metadatamodel.cpp
Expand Up @@ -8,11 +8,11 @@
#include <QIcon>
#include <QThreadPool>

#include "mediacrawler.h"
#include "metadata.h"
#include "metadatamodel.h"
#include "filereader.h"
#include "filewriter.h"
#include "mediacrawler.hpp"
#include "metadata.hpp"
#include "metadatamodel.hpp"
#include "filereader.hpp"
#include "filewriter.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
Expand Up @@ -3,7 +3,7 @@

#include <QAbstractItemModel>
#include <QHash>
#include "metadata.h"
#include "metadata.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/metadata/tags/default.cpp
@@ -1,7 +1,7 @@

#include <taglib/tstring.h>
#include "metadata/image.h"
#include "default.h"
#include "metadata/image.hpp"
#include "default.hpp"

#define Q2TString(str) TagLib::String((str).toUtf8().data(), TagLib::String::UTF8)
#define T2QString(str) QString::fromUtf8((str).toCString(true))
Expand Down
Expand Up @@ -2,7 +2,7 @@
#define COQUILLO_METADATA_TAG_ABSTRACTTAG_H

#include <taglib/tag.h>
#include "metadata/tag.h"
#include "metadata/tag.hpp"

namespace Coquillo {
namespace MetaData {
Expand Down
6 changes: 3 additions & 3 deletions src/metadata/tags/id3v2.cpp
Expand Up @@ -4,9 +4,9 @@
#include <taglib/id3v2tag.h>
#include <taglib/textidentificationframe.h>
#include <taglib/urllinkframe.h>
#include "metadata/image.h"
#include "metadata/mapper.h"
#include "id3v2.h"
#include "metadata/image.hpp"
#include "metadata/mapper.hpp"
#include "id3v2.hpp"

#define T2QString(str) QString::fromUtf8((str).toCString(true))

Expand Down

0 comments on commit 698642d

Please sign in to comment.