summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kmainwindowrestoretest.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:40 -0600
commite16866e072f94410321d70daedbcb855ea878cac (patch)
treeee3f52eabde7da1a0e6ca845fb9c2813cf1558cf /kdeui/tests/kmainwindowrestoretest.cpp
parenta58c20c1a7593631a1b50213c805507ebc16adaf (diff)
downloadtdelibs-e16866e072f94410321d70daedbcb855ea878cac.tar.gz
tdelibs-e16866e072f94410321d70daedbcb855ea878cac.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'kdeui/tests/kmainwindowrestoretest.cpp')
-rw-r--r--kdeui/tests/kmainwindowrestoretest.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/kdeui/tests/kmainwindowrestoretest.cpp b/kdeui/tests/kmainwindowrestoretest.cpp
deleted file mode 100644
index 7415085ac..000000000
--- a/kdeui/tests/kmainwindowrestoretest.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-
-#include "kmainwindowrestoretest.h"
-
-#include <kapplication.h>
-
-#include <tqlabel.h>
-
-#define MAKE_WINDOW( kind, title ) do { \
- MainWin##kind * m = new MainWin##kind; \
- m->setCaption( title ); \
- m->setCentralWidget( new TQLabel( title, m ) ); \
- m->show(); \
-} while ( false )
-
-int main( int argc, char * argv[] ) {
-
- KApplication app( argc, argv, "kmainwindowrestoretest" );
-
- if ( kapp->isRestored() ) {
- kRestoreMainWindows< MainWin1, MainWin2, MainWin3 >();
- kRestoreMainWindows< MainWin4, MainWin5 >();
- RESTORE(MainWin6);
- //kRestoreMainWindows< MainWin6 >(); // should be equivalent to RESTORE()
- } else {
- MAKE_WINDOW( 1, "First 1" );
- MAKE_WINDOW( 1, "Second 1" );
- MAKE_WINDOW( 2, "Only 2" );
- MAKE_WINDOW( 3, "First 3" );
- MAKE_WINDOW( 4, "First 4" );
- MAKE_WINDOW( 4, "Second 4" );
- MAKE_WINDOW( 3, "Second 3" );
- MAKE_WINDOW( 4, "Third 4" );
- MAKE_WINDOW( 5, "First 5" );
- MAKE_WINDOW( 5, "Second 5" );
- MAKE_WINDOW( 1, "Only 6" );
- }
-
- return app.exec();
-}
-
-#include "kmainwindowrestoretest.moc"