INCLUDEPATH += $$PWD

HEADERS += \
    $$PWD/aboutdialog.h \
    $$PWD/addnewtorrentdialog.h \
    $$PWD/advancedsettings.h \
    $$PWD/autoexpandabledialog.h \
    $$PWD/banlistoptionsdialog.h \
    $$PWD/categoryfiltermodel.h \
    $$PWD/categoryfilterproxymodel.h \
    $$PWD/categoryfilterwidget.h \
    $$PWD/cookiesdialog.h \
    $$PWD/cookiesmodel.h \
    $$PWD/deletionconfirmationdialog.h \
    $$PWD/downloadfromurldialog.h \
    $$PWD/executionlogwidget.h \
    $$PWD/fspathedit.h \
    $$PWD/fspathedit_p.h \
    $$PWD/hidabletabwidget.h \
    $$PWD/ipsubnetwhitelistoptionsdialog.h \
    $$PWD/lineedit.h \
    $$PWD/log/logfiltermodel.h \
    $$PWD/log/loglistview.h \
    $$PWD/log/logmodel.h \
    $$PWD/mainwindow.h \
    $$PWD/optionsdialog.h \
    $$PWD/powermanagement/powermanagement.h \
    $$PWD/previewlistdelegate.h \
    $$PWD/previewselectdialog.h \
    $$PWD/progressbarpainter.h \
    $$PWD/properties/downloadedpiecesbar.h \
    $$PWD/properties/peerlistsortmodel.h \
    $$PWD/properties/peerlistwidget.h \
    $$PWD/properties/peersadditiondialog.h \
    $$PWD/properties/pieceavailabilitybar.h \
    $$PWD/properties/piecesbar.h \
    $$PWD/properties/propertieswidget.h \
    $$PWD/properties/proplistdelegate.h \
    $$PWD/properties/proptabbar.h \
    $$PWD/properties/speedplotview.h \
    $$PWD/properties/speedwidget.h \
    $$PWD/properties/trackerlistwidget.h \
    $$PWD/properties/trackersadditiondialog.h \
    $$PWD/raisedmessagebox.h \
    $$PWD/rss/articlelistwidget.h \
    $$PWD/rss/automatedrssdownloader.h \
    $$PWD/rss/feedlistwidget.h \
    $$PWD/rss/htmlbrowser.h \
    $$PWD/rss/rsswidget.h \
    $$PWD/search/pluginselectdialog.h \
    $$PWD/search/pluginsourcedialog.h \
    $$PWD/search/searchjobwidget.h \
    $$PWD/search/searchsortmodel.h \
    $$PWD/search/searchwidget.h \
    $$PWD/shutdownconfirmdialog.h \
    $$PWD/speedlimitdialog.h \
    $$PWD/statsdialog.h \
    $$PWD/statusbar.h \
    $$PWD/tagfiltermodel.h \
    $$PWD/tagfilterproxymodel.h \
    $$PWD/tagfilterwidget.h \
    $$PWD/torrentcategorydialog.h \
    $$PWD/torrentcontentfiltermodel.h \
    $$PWD/torrentcontentmodel.h \
    $$PWD/torrentcontentmodelfile.h \
    $$PWD/torrentcontentmodelfolder.h \
    $$PWD/torrentcontentmodelitem.h \
    $$PWD/torrentcontenttreeview.h \
    $$PWD/torrentcreatordialog.h \
    $$PWD/torrentoptionsdialog.h \
    $$PWD/trackerentriesdialog.h \
    $$PWD/transferlistdelegate.h \
    $$PWD/transferlistfilterswidget.h \
    $$PWD/transferlistmodel.h \
    $$PWD/transferlistsortmodel.h \
    $$PWD/transferlistwidget.h \
    $$PWD/tristateaction.h \
    $$PWD/tristatewidget.h \
    $$PWD/uithememanager.h \
    $$PWD/utils.h \
    $$PWD/watchedfolderoptionsdialog.h \
    $$PWD/watchedfoldersmodel.h

SOURCES += \
    $$PWD/aboutdialog.cpp \
    $$PWD/addnewtorrentdialog.cpp \
    $$PWD/advancedsettings.cpp \
    $$PWD/autoexpandabledialog.cpp \
    $$PWD/banlistoptionsdialog.cpp \
    $$PWD/categoryfiltermodel.cpp \
    $$PWD/categoryfilterproxymodel.cpp \
    $$PWD/categoryfilterwidget.cpp \
    $$PWD/cookiesdialog.cpp \
    $$PWD/cookiesmodel.cpp \
    $$PWD/deletionconfirmationdialog.cpp \
    $$PWD/downloadfromurldialog.cpp \
    $$PWD/executionlogwidget.cpp \
    $$PWD/fspathedit.cpp \
    $$PWD/fspathedit_p.cpp \
    $$PWD/hidabletabwidget.cpp \
    $$PWD/ipsubnetwhitelistoptionsdialog.cpp \
    $$PWD/lineedit.cpp \
    $$PWD/log/logfiltermodel.cpp \
    $$PWD/log/loglistview.cpp \
    $$PWD/log/logmodel.cpp \
    $$PWD/mainwindow.cpp \
    $$PWD/optionsdialog.cpp \
    $$PWD/powermanagement/powermanagement.cpp \
    $$PWD/previewlistdelegate.cpp \
    $$PWD/previewselectdialog.cpp \
    $$PWD/progressbarpainter.cpp \
    $$PWD/properties/downloadedpiecesbar.cpp \
    $$PWD/properties/peerlistsortmodel.cpp \
    $$PWD/properties/peerlistwidget.cpp \
    $$PWD/properties/peersadditiondialog.cpp \
    $$PWD/properties/pieceavailabilitybar.cpp \
    $$PWD/properties/piecesbar.cpp \
    $$PWD/properties/propertieswidget.cpp \
    $$PWD/properties/proplistdelegate.cpp \
    $$PWD/properties/proptabbar.cpp \
    $$PWD/properties/speedplotview.cpp \
    $$PWD/properties/speedwidget.cpp \
    $$PWD/properties/trackerlistwidget.cpp \
    $$PWD/properties/trackersadditiondialog.cpp \
    $$PWD/raisedmessagebox.cpp \
    $$PWD/rss/articlelistwidget.cpp \
    $$PWD/rss/automatedrssdownloader.cpp \
    $$PWD/rss/feedlistwidget.cpp \
    $$PWD/rss/htmlbrowser.cpp \
    $$PWD/rss/rsswidget.cpp \
    $$PWD/search/pluginselectdialog.cpp \
    $$PWD/search/pluginsourcedialog.cpp \
    $$PWD/search/searchjobwidget.cpp \
    $$PWD/search/searchsortmodel.cpp \
    $$PWD/search/searchwidget.cpp \
    $$PWD/shutdownconfirmdialog.cpp \
    $$PWD/speedlimitdialog.cpp \
    $$PWD/statsdialog.cpp \
    $$PWD/statusbar.cpp \
    $$PWD/tagfiltermodel.cpp \
    $$PWD/tagfilterproxymodel.cpp \
    $$PWD/tagfilterwidget.cpp \
    $$PWD/torrentcategorydialog.cpp \
    $$PWD/torrentcontentfiltermodel.cpp \
    $$PWD/torrentcontentmodel.cpp \
    $$PWD/torrentcontentmodelfile.cpp \
    $$PWD/torrentcontentmodelfolder.cpp \
    $$PWD/torrentcontentmodelitem.cpp \
    $$PWD/torrentcontenttreeview.cpp \
    $$PWD/torrentcreatordialog.cpp \
    $$PWD/torrentoptionsdialog.cpp \
    $$PWD/trackerentriesdialog.cpp \
    $$PWD/transferlistdelegate.cpp \
    $$PWD/transferlistfilterswidget.cpp \
    $$PWD/transferlistmodel.cpp \
    $$PWD/transferlistsortmodel.cpp \
    $$PWD/transferlistwidget.cpp \
    $$PWD/tristateaction.cpp \
    $$PWD/tristatewidget.cpp \
    $$PWD/uithememanager.cpp \
    $$PWD/utils.cpp \
    $$PWD/watchedfolderoptionsdialog.cpp \
    $$PWD/watchedfoldersmodel.cpp

win32|macx {
    HEADERS += $$PWD/programupdater.h
    SOURCES += $$PWD/programupdater.cpp
}

unix:!macx:dbus {
    HEADERS += \
        $$PWD/powermanagement/powermanagement_x11.h \
        $$PWD/qtnotify/notifications.h

    SOURCES += \
        $$PWD/powermanagement/powermanagement_x11.cpp \
        $$PWD/qtnotify/notifications.cpp
}

macx {
    HEADERS += $$PWD/macutilities.h
    OBJECTIVE_SOURCES += $$PWD/macutilities.mm
}

FORMS += \
    $$PWD/aboutdialog.ui \
    $$PWD/addnewtorrentdialog.ui \
    $$PWD/autoexpandabledialog.ui \
    $$PWD/banlistoptionsdialog.ui \
    $$PWD/cookiesdialog.ui \
    $$PWD/deletionconfirmationdialog.ui \
    $$PWD/downloadfromurldialog.ui \
    $$PWD/executionlogwidget.ui \
    $$PWD/ipsubnetwhitelistoptionsdialog.ui \
    $$PWD/mainwindow.ui \
    $$PWD/optionsdialog.ui \
    $$PWD/previewselectdialog.ui \
    $$PWD/properties/peersadditiondialog.ui \
    $$PWD/properties/propertieswidget.ui \
    $$PWD/properties/trackersadditiondialog.ui \
    $$PWD/rss/automatedrssdownloader.ui \
    $$PWD/rss/rsswidget.ui \
    $$PWD/search/pluginselectdialog.ui \
    $$PWD/search/pluginsourcedialog.ui \
    $$PWD/search/searchjobwidget.ui \
    $$PWD/search/searchwidget.ui \
    $$PWD/shutdownconfirmdialog.ui \
    $$PWD/speedlimitdialog.ui \
    $$PWD/statsdialog.ui \
    $$PWD/torrentcategorydialog.ui \
    $$PWD/torrentcreatordialog.ui \
    $$PWD/torrentoptionsdialog.ui \
    $$PWD/trackerentriesdialog.ui \
    $$PWD/watchedfolderoptionsdialog.ui

RESOURCES += $$PWD/about.qrc
