Browse Source

Move GUI-related sources into gui subdir.

adaptive-webui-19844
Vladimir Golovnev (Glassez) 10 years ago
parent
commit
d87a9bf7ec
  1. 2
      src/core/core.pri
  2. 8
      src/core/qtlibtorrent/qtlibtorrent.pri
  3. 9
      src/gui/gui.pri
  4. 0
      src/gui/qtnotify/notifications.cpp
  5. 0
      src/gui/qtnotify/notifications.h
  6. 0
      src/gui/qtnotify/notifications.xml
  7. 0
      src/gui/qtnotify/qtnotify.pri
  8. 0
      src/gui/shutdownconfirm.cpp
  9. 0
      src/gui/shutdownconfirm.h
  10. 0
      src/gui/torrentmodel.cpp
  11. 0
      src/gui/torrentmodel.h

2
src/core/core.pri

@ -1,7 +1,5 @@ @@ -1,7 +1,5 @@
INCLUDEPATH += $$PWD
unix:!macx:dbus: include(qtnotify/qtnotify.pri)
include(qtlibtorrent/qtlibtorrent.pri)
HEADERS += \

8
src/core/qtlibtorrent/qtlibtorrent.pri

@ -15,11 +15,3 @@ SOURCES += $$PWD/qbtsession.cpp \ @@ -15,11 +15,3 @@ SOURCES += $$PWD/qbtsession.cpp \
$$PWD/alertdispatcher.cpp \
$$PWD/torrentstatistics.cpp \
$$PWD/filterparserthread.cpp
!contains(DEFINES, DISABLE_GUI) {
HEADERS += $$PWD/torrentmodel.h \
$$PWD/shutdownconfirm.h
SOURCES += $$PWD/torrentmodel.cpp \
$$PWD/shutdownconfirm.cpp
}

9
src/gui/gui.pri

@ -6,6 +6,7 @@ include(rss/rss.pri) @@ -6,6 +6,7 @@ include(rss/rss.pri)
include(torrentcreator/torrentcreator.pri)
include(geoip/geoip.pri)
include(powermanagement/powermanagement.pri)
unix:!macx:dbus: include(qtnotify/qtnotify.pri)
HEADERS += \
$$PWD/mainwindow.h \
@ -41,7 +42,9 @@ HEADERS += \ @@ -41,7 +42,9 @@ HEADERS += \
$$PWD/messageboxraised.h \
$$PWD/torrentfilterenum.h \
$$PWD/options_imp.h \
$$PWD/advancedsettings.h
$$PWD/advancedsettings.h \
$$PWD/shutdownconfirm.h \
$$PWD/torrentmodel.h
SOURCES += \
$$PWD/mainwindow.cpp \
@ -69,7 +72,9 @@ SOURCES += \ @@ -69,7 +72,9 @@ SOURCES += \
$$PWD/messageboxraised.cpp \
$$PWD/statusbar.cpp \
$$PWD/trackerlogin.cpp \
$$PWD/options_imp.cpp
$$PWD/options_imp.cpp \
$$PWD/shutdownconfirm.cpp \
$$PWD/torrentmodel.cpp
win32|macx {
HEADERS += $$PWD/programupdater.h

0
src/core/qtnotify/notifications.cpp → src/gui/qtnotify/notifications.cpp

0
src/core/qtnotify/notifications.h → src/gui/qtnotify/notifications.h

0
src/core/qtnotify/notifications.xml → src/gui/qtnotify/notifications.xml

0
src/core/qtnotify/qtnotify.pri → src/gui/qtnotify/qtnotify.pri

0
src/core/qtlibtorrent/shutdownconfirm.cpp → src/gui/shutdownconfirm.cpp

0
src/core/qtlibtorrent/shutdownconfirm.h → src/gui/shutdownconfirm.h

0
src/core/qtlibtorrent/torrentmodel.cpp → src/gui/torrentmodel.cpp

0
src/core/qtlibtorrent/torrentmodel.h → src/gui/torrentmodel.h

Loading…
Cancel
Save