summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-sheet/finddlg.h
authorar <ar>2004-06-12 09:24:00 (UTC)
committer ar <ar>2004-06-12 09:24:00 (UTC)
commit7a62e8e3601ee98f5f06261c361fe8132334cd56 (patch) (unidiff)
tree72e1e68878e32c70140fe1de478bced96670e348 /noncore/apps/opie-sheet/finddlg.h
parent3fbf3cb264200c5ac11dbef43a51f3ab2a969587 (diff)
downloadopie-7a62e8e3601ee98f5f06261c361fe8132334cd56.zip
opie-7a62e8e3601ee98f5f06261c361fe8132334cd56.tar.gz
opie-7a62e8e3601ee98f5f06261c361fe8132334cd56.tar.bz2
- rename sheet-qt -> opie-sheet
- format source code for a better readability
Diffstat (limited to 'noncore/apps/opie-sheet/finddlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-sheet/finddlg.h59
1 files changed, 40 insertions, 19 deletions
diff --git a/noncore/apps/opie-sheet/finddlg.h b/noncore/apps/opie-sheet/finddlg.h
index 1af2da5..b456f21 100644
--- a/noncore/apps/opie-sheet/finddlg.h
+++ b/noncore/apps/opie-sheet/finddlg.h
@@ -1,11 +1,30 @@
1/*************************************************************************** 1/*
2 * * 2 =. This file is part of the Opie Project
3 * This program is free software; you can redistribute it and/or modify * 3 .=l. Copyright (C) 2004 Opie Developer Team <opie-devel@handhelds.org>
4 * it under the terms of the GNU General Public License as published by * 4 .>+-=
5 * the Free Software Foundation; either version 2 of the License, or * 5 _;:, .> :=|. This program is free software; you can
6 * (at your option) any later version. * 6.> <`_, > . <= redistribute it and/or modify it under
7 * * 7:`=1 )Y*s>-.-- : the terms of the GNU General Public
8 ***************************************************************************/ 8.="- .-=="i, .._ License as published by the Free Software
9 - . .-<_> .<> Foundation; either version 2 of the License,
10 ._= =} : or (at your option) any later version.
11 .%`+i> _;_.
12 .i_,=:_. -<s. This program is distributed in the hope that
13 + . -:. = it will be useful, but WITHOUT ANY WARRANTY;
14 : .. .:, . . . without even the implied warranty of
15 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A
16 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU
17..}^=.= = ; Library General Public License for more
18++= -. .` .: details.
19 : = ...= . :.=-
20 -. .:....=;==+<; You should have received a copy of the GNU
21 -_. . . )=. = Library General Public License along with
22 -- :-=` this library; see the file COPYING.LIB.
23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA.
26
27*/
9 28
10/* 29/*
11 * Opie Sheet (formerly Sheet/Qt) 30 * Opie Sheet (formerly Sheet/Qt)
@@ -15,6 +34,9 @@
15#ifndef FINDDLG_H 34#ifndef FINDDLG_H
16#define FINDDLG_H 35#define FINDDLG_H
17 36
37#include "sheet.h"
38
39/* QT */
18#include <qdialog.h> 40#include <qdialog.h>
19#include <qtabwidget.h> 41#include <qtabwidget.h>
20#include <qlayout.h> 42#include <qlayout.h>
@@ -22,24 +44,23 @@
22#include <qcheckbox.h> 44#include <qcheckbox.h>
23#include <qpushbutton.h> 45#include <qpushbutton.h>
24#include <qvbuttongroup.h> 46#include <qvbuttongroup.h>
25#include "sheet.h"
26 47
27class FindDialog: public QDialog 48class FindDialog: public QDialog
28{ 49{
29 Q_OBJECT 50 Q_OBJECT
30 51
31 // QT objects 52 // QT objects
32 QBoxLayout *box; 53 QBoxLayout *box;
33 QTabWidget *tabs; 54 QTabWidget *tabs;
34 QWidget *widgetFind, *widgetOptions; 55 QWidget *widgetFind, *widgetOptions;
35 QCheckBox *checkCase, *checkSelection, *checkEntire; 56 QCheckBox *checkCase, *checkSelection, *checkEntire;
36 QLineEdit *editFind, *editReplace; 57 QLineEdit *editFind, *editReplace;
37 QVButtonGroup *groupType; 58 QVButtonGroup *groupType;
38 59
39 private slots: 60private slots:
40 void typeChanged(int id); 61 void typeChanged(int id);
41 62
42 public: 63public:
43 FindDialog(QWidget *parent=0); 64 FindDialog(QWidget *parent=0);
44 ~FindDialog(); 65 ~FindDialog();
45 66