summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/findwndimpl.h
Unidiff
Diffstat (limited to 'pwmanager/pwmanager/findwndimpl.h') (more/less context) (show whitespace changes)
-rw-r--r--pwmanager/pwmanager/findwndimpl.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/findwndimpl.h b/pwmanager/pwmanager/findwndimpl.h
new file mode 100644
index 0000000..d8cb65d
--- a/dev/null
+++ b/pwmanager/pwmanager/findwndimpl.h
@@ -0,0 +1,61 @@
1/***************************************************************************
2 * *
3 * copyright (C) 2003 by Michael Buesch *
4 * email: mbuesch@freenet.de *
5 * *
6 * This program is free software; you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License version 2 *
8 * as published by the Free Software Foundation. *
9 * *
10 ***************************************************************************/
11
12/***************************************************************************
13 * copyright (C) 2004 by Ulf Schenk
14 * This file is originaly based on version 1.0.1 of pwmanager
15 * and was modified to run on embedded devices that run microkde
16 *
17 * $Id$
18 **************************************************************************/
19
20#ifndef FINDWNDIMPL_H
21#define FINDWNDIMPL_H
22
23#include "findwnd.h"
24
25class PwMView;
26
27/** "add" Window */
28class FindWndImpl : public findWnd
29{
30 Q_OBJECT
31public:
32 FindWndImpl(PwMView *_parent);
33 ~FindWndImpl();
34
35signals:
36 void foundAt(int index);
37
38public slots:
39 /** find button pressed */
40 void findButton_slot();
41 /** close button pressed */
42 void closeButton_slot();
43 /** selection of one of the radio buttons changed */
44 void selectionChanged_slot();
45
46protected:
47 /** parent view */
48 PwMView *parent;
49 /** entry found at */
50 unsigned int fAt;
51 /** reference value */
52 unsigned int refVal;
53 /** current position in the found-items-vector */
54 int currFoundPos;
55 /** the number of entries in the current category */
56 unsigned int numEntries;
57 /** index number of the current category */
58 unsigned int catIndex;
59};
60
61#endif