Skip to content

Commit

Permalink
repo restruct
Browse files Browse the repository at this point in the history
  • Loading branch information
Odizinne committed Nov 6, 2024
1 parent 10f4c48 commit 42a1308
Show file tree
Hide file tree
Showing 35 changed files with 31 additions and 30 deletions.
44 changes: 22 additions & 22 deletions HeadsetControl-Qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,39 @@ CONFIG += c++17
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += \
src/ShortcutManager \
src/HeadsetControlQt \
src/Utils \
src/Worker
ShortcutManager \
HeadsetControlQt \
Utils \
Worker

SOURCES += \
src/ShortcutManager/shortcutmanager.cpp \
src/Worker/worker.cpp \
src/main.cpp \
src/HeadsetControlQt/headsetcontrolqt.cpp \
src/Utils/utils.cpp
ShortcutManager/ShortcutManager.cpp \
Worker/Worker.cpp \
main.cpp \
HeadsetControlQt/HeadsetControlQt.cpp \
Utils/Utils.cpp

HEADERS += \
src/ShortcutManager/shortcutmanager.h \
src/HeadsetControlQt/headsetcontrolqt.h \
src/Utils/utils.h \
src/Worker/worker.h
ShortcutManager/ShortcutManager.h \
HeadsetControlQt/HeadsetControlQt.h \
Utils/Utils.h \
Worker/Worker.h

FORMS += \
src/HeadsetControlQt/headsetcontrolqt.ui
HeadsetControlQt/HeadsetControlQt.ui

TRANSLATIONS += \
src/Resources/tr/HeadsetControl-Qt_fr.ts \
src/Resources/tr/HeadsetControl-Qt_en.ts \
src/Resources/tr/HeadsetControl-Qt_hu.ts \
src/Resources/tr/HeadsetControl-Qt_es.ts \
src/Resources/tr/HeadsetControl-Qt_de.ts \
src/Resources/tr/HeadsetControl-Qt_it.ts
Resources/tr/HeadsetControl-Qt_fr.ts \
Resources/tr/HeadsetControl-Qt_en.ts \
Resources/tr/HeadsetControl-Qt_hu.ts \
Resources/tr/HeadsetControl-Qt_es.ts \
Resources/tr/HeadsetControl-Qt_de.ts \
Resources/tr/HeadsetControl-Qt_it.ts

RESOURCES += \
src/Resources/resources.qrc
Resources/resources.qrc

RC_FILE = src/Resources/appicon.rc
RC_FILE = Resources/appicon.rc

# Build/embed translations automatically
CONFIG += lrelease
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#ifndef HEADSETCONTROLQT_H
#define HEADSETCONTROLQT_H

#include "Worker.h"
#include <QMainWindow>
#include <QSystemTrayIcon>
#include <QMenu>
#include <QAction>
#include <QTimer>
#include <QCloseEvent>
#include <QThread>
#include "worker.h"
#include <QSettings>

QT_BEGIN_NAMESPACE
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "headsetcontrolqt.h"
#include "ui_headsetcontrolqt.h"
#include "utils.h"
#include "shortcutmanager.h"
#include "HeadsetControlQt.h"
#include "ui_HeadsetControlQt.h"
#include "Utils.h"
#include "ShortcutManager.h"
#include <QIcon>
#include <QJsonDocument>
#include <QJsonObject>
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/Utils/utils.h → Utils/Utils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef UTILS_H
#define UTILS_H

#include <QIcon>
#include <QString>
#include <QFrame>
Expand Down
2 changes: 1 addition & 1 deletion src/Utils/utils.cpp → Utils/utils.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "utils.h"
#include "Utils.h"
#include <QDir>
#include <QFile>
#include <QProcess>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Worker/worker.cpp → Worker/worker.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "worker.h"
#include "Worker.h"
#include <QProcess>
#include <QJsonDocument>

Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp → main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "headsetcontrolqt.h"
#include "HeadsetControlQt.h"
#include <QApplication>

int main(int argc, char *argv[])
Expand Down

0 comments on commit 42a1308

Please sign in to comment.