Refactorings.....

This commit is contained in:
Martin Rotter 2014-03-26 20:20:13 +01:00
parent a49fd801d9
commit 609902a6a1
11 changed files with 26 additions and 21 deletions

View File

@ -265,7 +265,7 @@ endif(MINGW AND WIN32)
set(APP_SOURCES
${APP_SOURCES}
# QtSingleApplication suite sources.
# QTSINGLEAPPLICATION sources.
src/qtsingleapplication/qtlocalpeer.cpp
src/qtsingleapplication/qtsingleapplication.cpp
@ -276,9 +276,6 @@ set(APP_SOURCES
src/gui/skinfactory.cpp
src/gui/formsettings.cpp
src/gui/formabout.cpp
src/gui/shortcutcatcher.cpp
src/gui/shortcutbutton.cpp
src/gui/dynamicshortcutswidget.cpp
src/gui/baselineedit.cpp
src/gui/locationlineedit.cpp
src/gui/tabwidget.cpp
@ -299,12 +296,17 @@ set(APP_SOURCES
src/gui/formupdate.cpp
src/gui/comboboxwithstatus.cpp
# DYNAMIC-SHORTCUTS sources.
src/dynamic-shortcuts/shortcutcatcher.cpp
src/dynamic-shortcuts/shortcutbutton.cpp
src/dynamic-shortcuts/dynamicshortcutswidget.cpp
src/dynamic-shortcuts/dynamicshortcuts.cpp
# CORE sources.
src/core/debugging.cpp
src/core/settings.cpp
src/core/systemfactory.cpp
src/core/localization.cpp
src/core/dynamicshortcuts.cpp
src/core/textfactory.cpp
src/core/databasefactory.cpp
src/core/messagesmodel.cpp
@ -335,7 +337,7 @@ set(APP_SOURCES
set(APP_HEADERS
${APP_HEADERS}
# QtSingleApplication suite headers.
# QTSINGLEAPPLICATION headers.
src/qtsingleapplication/qtlocalpeer.h
src/qtsingleapplication/qtsingleapplication.h
@ -346,9 +348,6 @@ set(APP_HEADERS
src/gui/skinfactory.h
src/gui/formsettings.h
src/gui/formabout.h
src/gui/shortcutcatcher.h
src/gui/shortcutbutton.h
src/gui/dynamicshortcutswidget.h
src/gui/baselineedit.h
src/gui/locationlineedit.h
src/gui/tabwidget.h
@ -368,10 +367,14 @@ set(APP_HEADERS
src/gui/formupdate.h
src/gui/comboboxwithstatus.h
# DYNAMIC-SHORTCUTS headers.
src/dynamic-shortcuts/dynamicshortcutswidget.h
src/dynamic-shortcuts/shortcutcatcher.h
src/dynamic-shortcuts/shortcutbutton.h
# CORE headers.
src/core/settings.h
src/core/localization.h
src/network-web/webpage.h
src/core/systemfactory.h
src/core/databasefactory.h
src/core/messagesmodel.h
@ -381,6 +384,7 @@ set(APP_HEADERS
src/core/feeddownloader.h
# NETWORK-WEB headers.
src/network-web/webpage.h
src/network-web/basenetworkaccessmanager.h
src/network-web/webbrowsernetworkaccessmanager.h
src/network-web/silentnetworkaccessmanager.h
@ -457,6 +461,7 @@ include_directories (
${CMAKE_CURRENT_SOURCE_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}/src/gui
${CMAKE_CURRENT_SOURCE_DIR}/src/network-web
${CMAKE_CURRENT_SOURCE_DIR}/src/dynamic-shortcuts
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/src
)

View File

@ -15,7 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with RSS Guard. If not, see <http://www.gnu.org/licenses/>.
#include "core/dynamicshortcuts.h"
#include "dynamic-shortcuts/dynamicshortcuts.h"
#include "core/defs.h"
#include "core/settings.h"

View File

@ -15,11 +15,11 @@
// You should have received a copy of the GNU General Public License
// along with RSS Guard. If not, see <http://www.gnu.org/licenses/>.
#include "gui/dynamicshortcutswidget.h"
#include "dynamic-shortcuts/dynamicshortcutswidget.h"
#include "dynamic-shortcuts/shortcutcatcher.h"
#include "dynamic-shortcuts/shortcutbutton.h"
#include "core/defs.h"
#include "gui/shortcutcatcher.h"
#include "gui/shortcutbutton.h"
#include <QGridLayout>
#include <QAction>

View File

@ -26,9 +26,9 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/
#include "gui/shortcutbutton.h"
#include "dynamic-shortcuts/shortcutbutton.h"
#include "gui/shortcutcatcher.h"
#include "dynamic-shortcuts/shortcutcatcher.h"
#include <QKeyEvent>

View File

@ -26,9 +26,9 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/
#include "gui/shortcutcatcher.h"
#include "dynamic-shortcuts/shortcutcatcher.h"
#include "gui/shortcutbutton.h"
#include "dynamic-shortcuts/shortcutbutton.h"
#include "gui/plaintoolbutton.h"
#include "gui/iconthemefactory.h"

View File

@ -23,12 +23,12 @@
#include "core/localization.h"
#include "core/systemfactory.h"
#include "core/feeddownloader.h"
#include "core/dynamicshortcuts.h"
#include "core/feedsmodel.h"
#include "dynamic-shortcuts/dynamicshortcuts.h"
#include "network-web/webfactory.h"
#include "network-web/webbrowsernetworkaccessmanager.h"
#include "network-web/silentnetworkaccessmanager.h"
#include "network-web/webbrowser.h"
#include "core/feedsmodel.h"
#include "gui/iconthemefactory.h"
#include "gui/skinfactory.h"
#include "gui/systemtrayicon.h"

View File

@ -20,7 +20,7 @@
#include "core/debugging.h"
#include "core/localization.h"
#include "core/settings.h"
#include "core/dynamicshortcuts.h"
#include "dynamic-shortcuts/dynamicshortcuts.h"
#include "gui/iconthemefactory.h"
#include "gui/skinfactory.h"
#include "gui/formmain.h"