author | alwin <alwin> | 2004-04-21 18:31:44 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-21 18:31:44 (UTC) |
commit | 81cd1a4a916fb00b6c8867bdc1d945db155b12c0 (patch) (unidiff) | |
tree | ce302c254c8c2160a86ffc0a5abe6cfd51fd33b3 /noncore/graphics/opie-eye/impl/doc/doc_ifaceinfo.cpp | |
parent | ac414fa3802b471857bc84ecdd0d37200541b0a7 (diff) | |
download | opie-81cd1a4a916fb00b6c8867bdc1d945db155b12c0.zip opie-81cd1a4a916fb00b6c8867bdc1d945db155b12c0.tar.gz opie-81cd1a4a916fb00b6c8867bdc1d945db155b12c0.tar.bz2 |
- added DocView mode
- fixed a bug in iconview and some small fixes more
Diffstat (limited to 'noncore/graphics/opie-eye/impl/doc/doc_ifaceinfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/impl/doc/doc_ifaceinfo.cpp | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/impl/doc/doc_ifaceinfo.cpp b/noncore/graphics/opie-eye/impl/doc/doc_ifaceinfo.cpp new file mode 100644 index 0000000..a6d6f3c --- a/dev/null +++ b/noncore/graphics/opie-eye/impl/doc/doc_ifaceinfo.cpp | |||
@@ -0,0 +1,57 @@ | |||
1 | /* | ||
2 | * GPLv2 | ||
3 | * zecke@handhelds.org | ||
4 | */ | ||
5 | |||
6 | #include "doc_ifaceinfo.h" | ||
7 | |||
8 | /* OPIE */ | ||
9 | #include <opie2/odebug.h> | ||
10 | #include <qpe/config.h> | ||
11 | using namespace Opie::Core; | ||
12 | |||
13 | /* QT */ | ||
14 | #include <qwidget.h> | ||
15 | #include <qcheckbox.h> | ||
16 | #include <qhbox.h> | ||
17 | #include <qlabel.h> | ||
18 | |||
19 | #if 0 | ||
20 | namespace { | ||
21 | class DirImageWidget : public QHBox { | ||
22 | public: | ||
23 | DirImageWidget() { | ||
24 | chkbox = new QCheckBox( QObject::tr("Show all files"), this ); | ||
25 | } | ||
26 | ~DirImageWidget() {} | ||
27 | QCheckBox* chkbox; | ||
28 | }; | ||
29 | } | ||
30 | #endif | ||
31 | |||
32 | DocInterfaceInfo::DocInterfaceInfo() { | ||
33 | } | ||
34 | DocInterfaceInfo::~DocInterfaceInfo() { | ||
35 | } | ||
36 | |||
37 | QString DocInterfaceInfo::name()const { | ||
38 | return QString::fromLatin1(QObject::tr("DocView" )); | ||
39 | } | ||
40 | |||
41 | QWidget* DocInterfaceInfo::configWidget(const Config& cfg) { | ||
42 | #if 0 | ||
43 | DirImageWidget* wid = new DirImageWidget(); | ||
44 | wid->chkbox->setChecked( cfg.readBoolEntry("Dir_Check_All_Files", true) ); | ||
45 | |||
46 | return wid; | ||
47 | #endif | ||
48 | return 0L; | ||
49 | } | ||
50 | |||
51 | void DocInterfaceInfo::writeConfig( QWidget* , Config& ) { | ||
52 | #if 0 | ||
53 | owarn << "Write Config" << oendl; | ||
54 | DirImageWidget* wid = static_cast<DirImageWidget*>(_wid); | ||
55 | cfg.writeEntry("Dir_Check_All_Files", wid->chkbox->isChecked() ); | ||
56 | #endif | ||
57 | } | ||