Move ui code into separate directory
authorRafał Długołęcki <rafal@dlugolecki.net.pl>
Mon, 25 Jan 2016 00:32:36 +0000 (01:32 +0100)
committerRafał Długołęcki <rafal@dlugolecki.net.pl>
Mon, 25 Jan 2016 00:32:36 +0000 (01:32 +0100)
Makefile.am
src/kernel/kernel.cpp
src/kernel/kernel.h
src/kernel/lock.h
src/kernel/options.h
src/kernel/ui/kernelwindow.ui [moved from src/kernel/kernelwindow.ui with 100% similarity]
src/kernel/ui/lock_dialog.ui [moved from src/kernel/lock_dialog.ui with 100% similarity]
src/kernel/ui/optionsdialog.ui [moved from src/kernel/optionsdialog.ui with 100% similarity]

index f55502580a0a963305d0f5dba1f32e536c55e6ba..3002f3ac34cbabb4fee2d6e518c67dca8a29154e 100644 (file)
@@ -76,27 +76,27 @@ bin_logker_HEADERS = \
        src/kernel/kernel.h \
        src/kernel/lock.h \
        src/kernel/options.h
-src/kernel/kernel.moc.cpp: src/kernel/kernel.h src/kernel/kernelwindow.h src/kernel/lock_dialog.h src/kernel/optionsdialog.h
+src/kernel/kernel.moc.cpp: src/kernel/kernel.h src/kernel/ui/kernelwindow.h src/kernel/ui/lock_dialog.h src/kernel/ui/optionsdialog.h
        moc-qt4 src/kernel/kernel.h -o src/kernel/kernel.moc.cpp
        moc-qt4 src/kernel/options.h -o src/kernel/options.moc.cpp
 #      $(MOC) -i src/kernel/kernel.cpp -o src/kernel/kernel.moc
 
-src/kernel/kernelwindow.h:
-       uic src/kernel/kernelwindow.ui -o src/kernel/kernelwindow.h
+src/kernel/ui/kernelwindow.h:
+       uic src/kernel/ui/kernelwindow.ui -o src/kernel/ui/kernelwindow.h
 
-src/kernel/lock_dialog.h:
-       uic src/kernel/lock_dialog.ui -o src/kernel/lock_dialog.h
+src/kernel/ui/lock_dialog.h:
+       uic src/kernel/ui/lock_dialog.ui -o src/kernel/ui/lock_dialog.h
 
-src/kernel/optionsdialog.h:
-       uic src/kernel/optionsdialog.ui -o src/kernel/optionsdialog.h
+src/kernel/ui/optionsdialog.h:
+       uic src/kernel/ui/optionsdialog.ui -o src/kernel/ui/optionsdialog.h
 
 
 clean-logker-extra:
        rm -f src/kernel/*.moc
        rm -f src/kernel/*.moc.cpp
-       rm -f src/kernel/kernelwindow.h
-       rm -f src/kernel/lock_dialog.h
-       rm -f src/kernel/optionsdialog.h
+       rm -f src/kernel/ui/kernelwindow.h
+       rm -f src/kernel/ui/lock_dialog.h
+       rm -f src/kernel/ui/optionsdialog.h
        rm -f bin/logker
        
 bin_logint_SOURCES = \
index e92118e76024e401fc528155685bb91a21dbcf38..3e3d41be93e347d862ae373e4732c0d4f19fe6bb 100644 (file)
@@ -65,7 +65,7 @@
 #include <X11/Xlib.h>
 
 #include "kernel.h"
-#include "kernelwindow.h"
+#include "ui/kernelwindow.h"
 #include "lock.h"
 #include "options.h"
 
index 89260cc2334245a97d70453cf17e6478c7c9fb10..96e6cedf99d4304518ac4b3549a83f967b25fc44 100644 (file)
@@ -40,7 +40,7 @@
 
 #include "comm.h"
 
-#include "kernelwindow.h"
+#include "ui/kernelwindow.h"
 
 #define GPATH "loggr"
 #define IPATH "logi"
index a940d4b69f3450997336e3eb319aecd0d06a5c88..152137fee719f277a33db7375c2ff37b3332008e 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <QtGui/QDialog>
 
-#include "lock_dialog.h"
+#include "ui/lock_dialog.h"
 
 /**
  * Lock Dialog class
index e574b0805d537eccf77b02274ee9ff79cb1c2da3..ecb73e317e0e505d58de1ab185f32820be2c85ee 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <QtGui/QDialog>
 
-#include "optionsdialog.h"
+#include "ui/optionsdialog.h"
 
 /**
  * Options Dialog class