-rw-r--r-- | kaddressbook/imagewidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kaddressbook/imagewidget.h b/kaddressbook/imagewidget.h index bbfba58..9320a6b 100644 --- a/kaddressbook/imagewidget.h +++ b/kaddressbook/imagewidget.h | |||
@@ -4,48 +4,51 @@ | |||
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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 IMAGEWIDGET_H | 24 | #ifndef IMAGEWIDGET_H |
25 | #define IMAGEWIDGET_H | 25 | #define IMAGEWIDGET_H |
26 | 26 | ||
27 | #include <qwidget.h> | 27 | #include <qwidget.h> |
28 | //Added by qt3to4: | ||
29 | #include <QPixmap> | ||
30 | #include <QLabel> | ||
28 | 31 | ||
29 | #include <kabc/picture.h> | 32 | #include <kabc/picture.h> |
30 | #include <kdialogbase.h> | 33 | #include <kdialogbase.h> |
31 | 34 | ||
32 | class KURL; | 35 | class KURL; |
33 | class KURLRequester; | 36 | class KURLRequester; |
34 | 37 | ||
35 | class QCheckBox; | 38 | class QCheckBox; |
36 | class QLabel; | 39 | class QLabel; |
37 | 40 | ||
38 | class ImageWidget : public QWidget | 41 | class ImageWidget : public QWidget |
39 | { | 42 | { |
40 | Q_OBJECT | 43 | Q_OBJECT |
41 | 44 | ||
42 | public: | 45 | public: |
43 | ImageWidget( QWidget *parent, const char *name = 0 ); | 46 | ImageWidget( QWidget *parent, const char *name = 0 ); |
44 | ~ImageWidget(); | 47 | ~ImageWidget(); |
45 | 48 | ||
46 | /** | 49 | /** |
47 | Sets the photo object. | 50 | Sets the photo object. |
48 | */ | 51 | */ |
49 | void setPhoto( const KABC::Picture &photo ); | 52 | void setPhoto( const KABC::Picture &photo ); |
50 | 53 | ||
51 | /** | 54 | /** |