From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../printing/journal/calprintjournalconfig_base.ui | 14 +++++++------- .../plugins/printing/journal/journalprint.cpp | 4 ++-- korganizer/plugins/printing/journal/journalprint.h | 4 ++-- .../printing/list/calprintlistconfig_base.ui | 18 +++++++++--------- korganizer/plugins/printing/list/listprint.cpp | 4 ++-- korganizer/plugins/printing/list/listprint.h | 4 ++-- .../whatsnext/calprintwhatsnextconfig_base.ui | 10 +++++----- .../plugins/printing/whatsnext/whatsnextprint.cpp | 4 ++-- .../plugins/printing/whatsnext/whatsnextprint.h | 4 ++-- .../printing/year/calprintyearconfig_base.ui | 22 +++++++++++----------- korganizer/plugins/printing/year/yearprint.cpp | 6 +++--- korganizer/plugins/printing/year/yearprint.h | 4 ++-- 12 files changed, 49 insertions(+), 49 deletions(-) (limited to 'korganizer/plugins/printing') diff --git a/korganizer/plugins/printing/journal/calprintjournalconfig_base.ui b/korganizer/plugins/printing/journal/calprintjournalconfig_base.ui index 1e41fdb84..ffd6a1e80 100644 --- a/korganizer/plugins/printing/journal/calprintjournalconfig_base.ui +++ b/korganizer/plugins/printing/journal/calprintjournalconfig_base.ui @@ -2,7 +2,7 @@ CalPrintJournalConfig_Base Configuration page for the print journal mode. Reinhold Kainhofer <reinhold@kainhofer.com> - + CalPrintJournal_Base @@ -24,7 +24,7 @@ 0 - + mDateRangeGroup @@ -38,7 +38,7 @@ unnamed - + mAllJournals @@ -49,7 +49,7 @@ 0 - + mRangeJournals @@ -63,7 +63,7 @@ 1 - + tqlayout2 @@ -88,7 +88,7 @@ - + mFromDateLabel @@ -107,7 +107,7 @@ StrongFocus - + mToDateLabel diff --git a/korganizer/plugins/printing/journal/journalprint.cpp b/korganizer/plugins/printing/journal/journalprint.cpp index 93bc51eff..089e8de69 100644 --- a/korganizer/plugins/printing/journal/journalprint.cpp +++ b/korganizer/plugins/printing/journal/journalprint.cpp @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef KORG_NOPRINTER diff --git a/korganizer/plugins/printing/journal/journalprint.h b/korganizer/plugins/printing/journal/journalprint.h index f1c0db44c..c84153a47 100644 --- a/korganizer/plugins/printing/journal/journalprint.h +++ b/korganizer/plugins/printing/journal/journalprint.h @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef JOURNALPRINT_H #define JOURNALPRINT_H diff --git a/korganizer/plugins/printing/list/calprintlistconfig_base.ui b/korganizer/plugins/printing/list/calprintlistconfig_base.ui index 22c6d5771..857e063bb 100644 --- a/korganizer/plugins/printing/list/calprintlistconfig_base.ui +++ b/korganizer/plugins/printing/list/calprintlistconfig_base.ui @@ -2,7 +2,7 @@ CalPrintListConfig_Base Configuration page for the print list mode. Reinhold Kainhofer <reinhold@kainhofer.com> - + CalPrintList_Base @@ -24,7 +24,7 @@ 0 - + mDateRangeGroup @@ -38,7 +38,7 @@ unnamed - + tqlayout2 @@ -63,7 +63,7 @@ - + mFromDateLabel @@ -82,7 +82,7 @@ StrongFocus - + mToDateLabel @@ -122,7 +122,7 @@ - + groupBox1 @@ -133,7 +133,7 @@ unnamed - + mEvents @@ -141,7 +141,7 @@ &Events - + mTodos @@ -149,7 +149,7 @@ &To-dos - + mJournals diff --git a/korganizer/plugins/printing/list/listprint.cpp b/korganizer/plugins/printing/list/listprint.cpp index 4a90bfb5b..c3bd91fad 100644 --- a/korganizer/plugins/printing/list/listprint.cpp +++ b/korganizer/plugins/printing/list/listprint.cpp @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef KORG_NOPRINTER diff --git a/korganizer/plugins/printing/list/listprint.h b/korganizer/plugins/printing/list/listprint.h index 561e0d467..db7997272 100644 --- a/korganizer/plugins/printing/list/listprint.h +++ b/korganizer/plugins/printing/list/listprint.h @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef LISTPRINT_H #define LISTPRINT_H diff --git a/korganizer/plugins/printing/whatsnext/calprintwhatsnextconfig_base.ui b/korganizer/plugins/printing/whatsnext/calprintwhatsnextconfig_base.ui index c855976a3..383074fe7 100644 --- a/korganizer/plugins/printing/whatsnext/calprintwhatsnextconfig_base.ui +++ b/korganizer/plugins/printing/whatsnext/calprintwhatsnextconfig_base.ui @@ -2,7 +2,7 @@ CalPrintWhatsNextConfig_Base Configuration page for the print whatsnext mode. Reinhold Kainhofer <reinhold@kainhofer.com> - + CalPrintWhatsNext_Base @@ -24,7 +24,7 @@ 0 - + mDateRangeGroup @@ -38,7 +38,7 @@ unnamed - + tqlayout2 @@ -63,7 +63,7 @@ - + mFromDateLabel @@ -82,7 +82,7 @@ StrongFocus - + mToDateLabel diff --git a/korganizer/plugins/printing/whatsnext/whatsnextprint.cpp b/korganizer/plugins/printing/whatsnext/whatsnextprint.cpp index b5d43ae97..fdae41d58 100644 --- a/korganizer/plugins/printing/whatsnext/whatsnextprint.cpp +++ b/korganizer/plugins/printing/whatsnext/whatsnextprint.cpp @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef KORG_NOPRINTER diff --git a/korganizer/plugins/printing/whatsnext/whatsnextprint.h b/korganizer/plugins/printing/whatsnext/whatsnextprint.h index fb9ee66ee..467e02571 100644 --- a/korganizer/plugins/printing/whatsnext/whatsnextprint.h +++ b/korganizer/plugins/printing/whatsnext/whatsnextprint.h @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef WHATSNEXTPRINT_H #define WHATSNEXTPRINT_H diff --git a/korganizer/plugins/printing/year/calprintyearconfig_base.ui b/korganizer/plugins/printing/year/calprintyearconfig_base.ui index 38b7822b2..98f905974 100644 --- a/korganizer/plugins/printing/year/calprintyearconfig_base.ui +++ b/korganizer/plugins/printing/year/calprintyearconfig_base.ui @@ -2,7 +2,7 @@ CalPrintYearConfig_Base Configuration page for the yearly print mode. Reinhold Kainhofer <reinhold@kainhofer.com> - + CalPrintYear_Base @@ -24,7 +24,7 @@ 0 - + mDateRangeGroup @@ -38,7 +38,7 @@ unnamed - + mYearLabel @@ -49,7 +49,7 @@ mYear - + mPagesLabel @@ -60,7 +60,7 @@ mPages - + mYear @@ -91,7 +91,7 @@ - + mPages @@ -115,7 +115,7 @@ - + mDisplayOptionsGroup @@ -126,7 +126,7 @@ unnamed - + mSubDaysLabel @@ -134,7 +134,7 @@ Show sub-day events as: - + mHolidaysLabel @@ -142,7 +142,7 @@ Show holidays as: - + Text @@ -160,7 +160,7 @@ 1 - + Text diff --git a/korganizer/plugins/printing/year/yearprint.cpp b/korganizer/plugins/printing/year/yearprint.cpp index 59a43db75..0c124bbeb 100644 --- a/korganizer/plugins/printing/year/yearprint.cpp +++ b/korganizer/plugins/printing/year/yearprint.cpp @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef KORG_NOPRINTER @@ -154,7 +154,7 @@ void CalPrintYear::print( TQPainter &p, int width, int height ) int months = calsys->monthsInYear( start ); int maxdays = 1; for ( int i = 1; i< months; ++i ) { - maxdays = QMAX( maxdays, temp.daysInMonth() ); + maxdays = TQMAX( maxdays, temp.daysInMonth() ); temp = calsys->addMonths( temp, 1 ); } diff --git a/korganizer/plugins/printing/year/yearprint.h b/korganizer/plugins/printing/year/yearprint.h index f993e5dab..99c1422e0 100644 --- a/korganizer/plugins/printing/year/yearprint.h +++ b/korganizer/plugins/printing/year/yearprint.h @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #ifndef YEARPRINT_H #define YEARPRINT_H -- cgit v1.2.1