summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt12
-rw-r--r--examples/aclock/CMakeLists.txt19
-rw-r--r--examples/action/CMakeLists.txt22
-rw-r--r--examples/action/toggleaction/CMakeLists.txt19
-rw-r--r--examples/addressbook/CMakeLists.txt21
-rw-r--r--examples/application/CMakeLists.txt20
-rw-r--r--examples/biff/CMakeLists.txt20
-rw-r--r--examples/buttongroups/CMakeLists.txt20
-rw-r--r--examples/canvas/CMakeLists.txt20
-rw-r--r--examples/checklists/CMakeLists.txt20
-rw-r--r--examples/cursor/CMakeLists.txt19
-rw-r--r--examples/customlayout/CMakeLists.txt22
-rw-r--r--examples/dclock/CMakeLists.txt20
-rw-r--r--examples/demo/CMakeLists.txt48
14 files changed, 302 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644
index 000000000..b81f91fd1
--- /dev/null
+++ b/examples/CMakeLists.txt
@@ -0,0 +1,12 @@
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_ACLOCK aclock )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_ACTION action )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_ADDRESSBOOK addressbook )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_APPLICATION application )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_BIFF biff )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_BUTTONGROUPS buttongroups )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_CANVAS canvas )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_CHECKLISTS checklists )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_CURSOR cursor )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_CUSTOMLAYOUT customlayout )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_DCLOCK dclock )
+tde_conditional_add_subdirectory( BUILD_EXAMPLE_DEMO demo )
diff --git a/examples/aclock/CMakeLists.txt b/examples/aclock/CMakeLists.txt
new file mode 100644
index 000000000..aad0e781f
--- /dev/null
+++ b/examples/aclock/CMakeLists.txt
@@ -0,0 +1,19 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### aclock (executable)
+
+tde_add_executable( aclock
+
+ SOURCES
+ aclock.cpp
+ main.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( aclock )
diff --git a/examples/action/CMakeLists.txt b/examples/action/CMakeLists.txt
new file mode 100644
index 000000000..5f2bf4ad6
--- /dev/null
+++ b/examples/action/CMakeLists.txt
@@ -0,0 +1,22 @@
+add_subdirectory( toggleaction )
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### action (executable)
+
+tde_add_executable( action
+
+ SOURCES
+ application.cpp
+ main.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( action )
diff --git a/examples/action/toggleaction/CMakeLists.txt b/examples/action/toggleaction/CMakeLists.txt
new file mode 100644
index 000000000..fe2e9762c
--- /dev/null
+++ b/examples/action/toggleaction/CMakeLists.txt
@@ -0,0 +1,19 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### toggleaction (executable)
+
+tde_add_executable( toggleaction
+
+ SOURCES
+ toggleaction.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( toggleaction )
diff --git a/examples/addressbook/CMakeLists.txt b/examples/addressbook/CMakeLists.txt
new file mode 100644
index 000000000..baa5a9330
--- /dev/null
+++ b/examples/addressbook/CMakeLists.txt
@@ -0,0 +1,21 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### addressbook (executable)
+
+tde_add_executable( addressbook
+
+ SOURCES
+ centralwidget.cpp
+ mainwindow.cpp
+ main.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( addressbook )
diff --git a/examples/application/CMakeLists.txt b/examples/application/CMakeLists.txt
new file mode 100644
index 000000000..2cc804a08
--- /dev/null
+++ b/examples/application/CMakeLists.txt
@@ -0,0 +1,20 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### application(executable)
+
+tde_add_executable( application
+
+ SOURCES
+ main.cpp
+ application.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( application )
diff --git a/examples/biff/CMakeLists.txt b/examples/biff/CMakeLists.txt
new file mode 100644
index 000000000..e3a8e2016
--- /dev/null
+++ b/examples/biff/CMakeLists.txt
@@ -0,0 +1,20 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### biff (executable)
+
+tde_add_executable( biff
+
+ SOURCES
+ main.cpp
+ biff.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( biff )
diff --git a/examples/buttongroups/CMakeLists.txt b/examples/buttongroups/CMakeLists.txt
new file mode 100644
index 000000000..96c716e6e
--- /dev/null
+++ b/examples/buttongroups/CMakeLists.txt
@@ -0,0 +1,20 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### buttongroups (executable)
+
+tde_add_executable( buttongroups
+
+ SOURCES
+ main.cpp
+ buttongroups.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( buttongroups )
diff --git a/examples/canvas/CMakeLists.txt b/examples/canvas/CMakeLists.txt
new file mode 100644
index 000000000..c13e56c4c
--- /dev/null
+++ b/examples/canvas/CMakeLists.txt
@@ -0,0 +1,20 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### canvas (executable)
+
+tde_add_executable( canvas
+
+ SOURCES
+ main.cpp
+ canvas.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( canvas )
diff --git a/examples/checklists/CMakeLists.txt b/examples/checklists/CMakeLists.txt
new file mode 100644
index 000000000..a6a6703e1
--- /dev/null
+++ b/examples/checklists/CMakeLists.txt
@@ -0,0 +1,20 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### checklists (executable)
+
+tde_add_executable( checklists
+
+ SOURCES
+ main.cpp
+ checklists.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( checklists )
diff --git a/examples/cursor/CMakeLists.txt b/examples/cursor/CMakeLists.txt
new file mode 100644
index 000000000..2c46d9412
--- /dev/null
+++ b/examples/cursor/CMakeLists.txt
@@ -0,0 +1,19 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### cursor (executable)
+
+tde_add_executable( cursor
+
+ SOURCES
+ cursor.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( cursor )
diff --git a/examples/customlayout/CMakeLists.txt b/examples/customlayout/CMakeLists.txt
new file mode 100644
index 000000000..acff454ef
--- /dev/null
+++ b/examples/customlayout/CMakeLists.txt
@@ -0,0 +1,22 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### customlayout (executable)
+
+tde_add_executable( customlayout
+
+ SOURCES
+ border.cpp
+ card.cpp
+ flow.cpp
+ main.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( customlayout )
diff --git a/examples/dclock/CMakeLists.txt b/examples/dclock/CMakeLists.txt
new file mode 100644
index 000000000..a0fb0f320
--- /dev/null
+++ b/examples/dclock/CMakeLists.txt
@@ -0,0 +1,20 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### dclock (executable)
+
+tde_add_executable( dclock
+
+ SOURCES
+ dclock.cpp
+ main.cpp
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( dclock )
diff --git a/examples/demo/CMakeLists.txt b/examples/demo/CMakeLists.txt
new file mode 100644
index 000000000..8fedb63a0
--- /dev/null
+++ b/examples/demo/CMakeLists.txt
@@ -0,0 +1,48 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/include
+)
+
+link_directories()
+
+
+##### demo (executable)
+
+tde_add_executable( demo
+
+ SOURCES
+ frame.cpp
+ qthumbwheel.cpp
+ display.cpp
+ textdrawing/textedit.cpp
+ textdrawing/helpwindow.cpp
+ dnd/dnd.cpp
+ dnd/styledbutton.cpp
+ dnd/iconview.cpp
+ dnd/listview.cpp
+ i18n/i18n.cpp
+ ../aclock/aclock.cpp
+ main.cpp
+ dnd/dndbase.ui
+ graph.cpp
+ qasteroids/toplevel.cpp
+ qasteroids/view.cpp
+ qasteroids/ledmeter.cpp
+ opengl/glworkspace.cpp
+ opengl/glcontrolwidget.cpp
+ opengl/gltexobj.cpp
+ opengl/glbox.cpp
+ opengl/glgear.cpp
+ opengl/gllandscape.cpp
+ opengl/fbm.c
+ opengl/glinfo_x11.cpp
+ opengl/printpreview.ui
+ opengl/gllandscapeviewer.ui
+ sql/connect.ui
+ sql/sqlex.ui
+ widgets/widgetsbase.ui
+ LINK
+ tqt-mt-shared
+)
+
+tqt_automoc( demo )