author | ulf69 <ulf69> | 2004-06-29 06:30:43 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-06-29 06:30:43 (UTC) |
commit | 2d5b376ae1329d82d1ce1947b972b30866abff9b (patch) (unidiff) | |
tree | 972d674c2c3939ed60c5a4a0c0ae33328ee47674 /libkdepim/kdatepicker.cpp | |
parent | 5bfd50da45591c581a7703d442b250e6e5294d9f (diff) | |
download | kdepimpi-2d5b376ae1329d82d1ce1947b972b30866abff9b.zip kdepimpi-2d5b376ae1329d82d1ce1947b972b30866abff9b.tar.gz kdepimpi-2d5b376ae1329d82d1ce1947b972b30866abff9b.tar.bz2 |
removed references to moc files
-rw-r--r-- | libkdepim/kdatepicker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/kdatepicker.cpp b/libkdepim/kdatepicker.cpp index 6e5ec0f..3fe139c 100644 --- a/libkdepim/kdatepicker.cpp +++ b/libkdepim/kdatepicker.cpp | |||
@@ -14,49 +14,49 @@ | |||
14 | 14 | ||
15 | You should have received a copy of the GNU Library General Public License | 15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to | 16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include "kdatepicker.h" | 21 | #include "kdatepicker.h" |
22 | #include <kglobal.h> | 22 | #include <kglobal.h> |
23 | #include <kapplication.h> | 23 | #include <kapplication.h> |
24 | #include <klocale.h> | 24 | #include <klocale.h> |
25 | #include <kiconloader.h> | 25 | #include <kiconloader.h> |
26 | #include <qframe.h> | 26 | #include <qframe.h> |
27 | #include <qpainter.h> | 27 | #include <qpainter.h> |
28 | #include <qdialog.h> | 28 | #include <qdialog.h> |
29 | #include <qtoolbutton.h> | 29 | #include <qtoolbutton.h> |
30 | #include <qfont.h> | 30 | #include <qfont.h> |
31 | #include <qapplication.h> | 31 | #include <qapplication.h> |
32 | #include <qlineedit.h> | 32 | #include <qlineedit.h> |
33 | #include <qvalidator.h> | 33 | #include <qvalidator.h> |
34 | #include <kdebug.h> | 34 | #include <kdebug.h> |
35 | #include <knotifyclient.h> | 35 | #include <knotifyclient.h> |
36 | #include "kdatetbl.h" | 36 | #include "kdatetbl.h" |
37 | #include "kdateedit.h" | 37 | #include "kdateedit.h" |
38 | #include "kdatepicker.moc" | 38 | //#include "kdatepicker.moc" |
39 | 39 | ||
40 | 40 | ||
41 | KDatePicker::KDatePicker(QWidget *parent, QDate dt, const char *name) | 41 | KDatePicker::KDatePicker(QWidget *parent, QDate dt, const char *name) |
42 | : QFrame(parent,name), | 42 | : QFrame(parent,name), |
43 | yearForward(new QToolButton(this)), | 43 | yearForward(new QToolButton(this)), |
44 | yearBackward(new QToolButton(this)), | 44 | yearBackward(new QToolButton(this)), |
45 | monthForward(new QToolButton(this)), | 45 | monthForward(new QToolButton(this)), |
46 | monthBackward(new QToolButton(this)), | 46 | monthBackward(new QToolButton(this)), |
47 | selectMonth(new QToolButton(this)), | 47 | selectMonth(new QToolButton(this)), |
48 | selectYear(new QToolButton(this)), | 48 | selectYear(new QToolButton(this)), |
49 | //line(new QLineEdit(this)), | 49 | //line(new QLineEdit(this)), |
50 | val(new KDateValidator(this)) | 50 | val(new KDateValidator(this)) |
51 | //table(new KDateTable(this)), | 51 | //table(new KDateTable(this)), |
52 | //fontsize(1) | 52 | //fontsize(1) |
53 | { | 53 | { |
54 | // ----- | 54 | // ----- |
55 | int size = 12; | 55 | int size = 12; |
56 | if ( QApplication::desktop()->width() >= 480 ) | 56 | if ( QApplication::desktop()->width() >= 480 ) |
57 | size = 18; | 57 | size = 18; |
58 | fontsize = size; | 58 | fontsize = size; |
59 | setFont ( QFont("helvetica",size) ); | 59 | setFont ( QFont("helvetica",size) ); |
60 | table = new KDateTable(this); | 60 | table = new KDateTable(this); |
61 | setFontSize(size); | 61 | setFontSize(size); |
62 | //line->setValidator(val); | 62 | //line->setValidator(val); |