summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-01-12 10:26:57 (UTC)
committer zautrix <zautrix>2005-01-12 10:26:57 (UTC)
commitffa81b34b0d7b3c53f46869a05194072a339a69d (patch) (unidiff)
tree5c9e435b2c93ae803a449fff6fb902d2ce2419ff
parentf408fee4c6ca34ee9c4d997c0f29d1c8975fa545 (diff)
downloadkdepimpi-ffa81b34b0d7b3c53f46869a05194072a339a69d.zip
kdepimpi-ffa81b34b0d7b3c53f46869a05194072a339a69d.tar.gz
kdepimpi-ffa81b34b0d7b3c53f46869a05194072a339a69d.tar.bz2
compiling fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/typecombo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/typecombo.h b/kaddressbook/typecombo.h
index 191273d..5fbf0d3 100644
--- a/kaddressbook/typecombo.h
+++ b/kaddressbook/typecombo.h
@@ -13,32 +13,33 @@
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23 23
24#ifndef TYPECOMBO_H 24#ifndef TYPECOMBO_H
25#define TYPECOMBO_H 25#define TYPECOMBO_H
26 26
27#include <kabc/phonenumber.h> 27#include <kabc/phonenumber.h>
28#include <kcombobox.h> 28#include <kcombobox.h>
29#include <klocale.h>
29 30
30/** 31/**
31 Combo box for type information of Addresses and Phone numbers. 32 Combo box for type information of Addresses and Phone numbers.
32*/ 33*/
33template <class T> 34template <class T>
34class TypeCombo : public KComboBox 35class TypeCombo : public KComboBox
35{ 36{
36 public: 37 public:
37 typedef typename T::List List; 38 typedef typename T::List List;
38 typedef typename T::List::Iterator Iterator; 39 typedef typename T::List::Iterator Iterator;
39 40
40 TypeCombo( List &list, QWidget *parent, const char *name = 0 ); 41 TypeCombo( List &list, QWidget *parent, const char *name = 0 );
41 42
42 void setLineEdit( QLineEdit *edit ) { mLineEdit = edit; } 43 void setLineEdit( QLineEdit *edit ) { mLineEdit = edit; }
43 QLineEdit *lineEdit() const { return mLineEdit; } 44 QLineEdit *lineEdit() const { return mLineEdit; }
44 45