author | mickeyl <mickeyl> | 2005-01-29 14:23:27 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-01-29 14:23:27 (UTC) |
commit | 20b3de56573b9e86c6b6041faf684adc8cbb2a45 (patch) (unidiff) | |
tree | e0d91c84dee46d1cce3b0d68fd2c10c3dd7ce3a1 /libopie2/examples/opieui/osplitter_example/osplitter_example.cpp | |
parent | 555b999359a5aad999eaaf48632ce85f25125b85 (diff) | |
download | opie-20b3de56573b9e86c6b6041faf684adc8cbb2a45.zip opie-20b3de56573b9e86c6b6041faf684adc8cbb2a45.tar.gz opie-20b3de56573b9e86c6b6041faf684adc8cbb2a45.tar.bz2 |
examples to where they belong
Diffstat (limited to 'libopie2/examples/opieui/osplitter_example/osplitter_example.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/examples/opieui/osplitter_example/osplitter_example.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libopie2/examples/opieui/osplitter_example/osplitter_example.cpp b/libopie2/examples/opieui/osplitter_example/osplitter_example.cpp deleted file mode 100644 index 07c7e51..0000000 --- a/libopie2/examples/opieui/osplitter_example/osplitter_example.cpp +++ b/dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | #include "osplitter_example.h" | ||
2 | |||
3 | /* OPIE */ | ||
4 | |||
5 | #include <opie2/osplitter.h> | ||
6 | #include <opie2/ofileselector.h> | ||
7 | #include <qpe/qpeapplication.h> | ||
8 | #include <opie2/oapplicationfactory.h> | ||
9 | |||
10 | /* QT*/ | ||
11 | #include <qdir.h> | ||
12 | #include <qlayout.h> | ||
13 | |||
14 | using namespace Opie::Ui; | ||
15 | using namespace Opie::Core; | ||
16 | |||
17 | OPIE_EXPORT_APP( OApplicationFactory<OSplitterExample> ) | ||
18 | |||
19 | OSplitterExample::OSplitterExample( QWidget *w,const char* n,WFlags f ) | ||
20 | : QWidget( w, n, f ){ | ||
21 | QVBoxLayout * lay = new QVBoxLayout(this); | ||
22 | OSplitter * splitter = new OSplitter( Horizontal, this ); | ||
23 | lay->addWidget( splitter ); | ||
24 | |||
25 | OFileSelector *selector = new OFileSelector( splitter, OFileSelector::FileSelector, | ||
26 | OFileSelector::Normal, QDir::homeDirPath(), | ||
27 | QString::null ); | ||
28 | splitter->addWidget( selector, "zoom", tr("Selector 1") ); | ||
29 | |||
30 | selector = new OFileSelector( splitter, OFileSelector::FileSelector, OFileSelector::Normal, | ||
31 | QDir::homeDirPath(), QString::null ); | ||
32 | splitter->addWidget( selector, "zoom", tr("Selector 2") ); | ||
33 | |||
34 | } | ||