summaryrefslogtreecommitdiffstats
path: root/korganizer/komonthview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /korganizer/komonthview.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
Diffstat (limited to 'korganizer/komonthview.h')
-rw-r--r--korganizer/komonthview.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h
index f503a29d5..7a988559a 100644
--- a/korganizer/komonthview.h
+++ b/korganizer/komonthview.h
@@ -19,8 +19,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 _KOMONTHVIEW_H
@@ -33,10 +33,10 @@
class KNoScrollListBox;
-class KOMonthCellToolTip : public QToolTip
+class KOMonthCellToolTip : public TQToolTip
{
public:
- KOMonthCellToolTip (TQWidget* parent, Calendar *calendar, const TQDate &date, KNoScrollListBox* lv );
+ KOMonthCellToolTip (TQWidget* tqparent, Calendar *calendar, const TQDate &date, KNoScrollListBox* lv );
protected:
void maybeTip( const TQPoint & pos);
@@ -48,11 +48,12 @@ class KOMonthCellToolTip : public QToolTip
};
-class KNoScrollListBox: public QListBox
+class KNoScrollListBox: public TQListBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- KNoScrollListBox(TQWidget *parent=0, const char *name=0);
+ KNoScrollListBox(TQWidget *tqparent=0, const char *name=0);
~KNoScrollListBox() {}
void setBackground( bool primary, bool workday );
@@ -74,7 +75,7 @@ class KNoScrollListBox: public QListBox
};
-class MonthViewItem: public QListBoxItem
+class MonthViewItem: public TQListBoxItem
{
public:
MonthViewItem( Incidence *, const TQDateTime &qd, const TQString & title );
@@ -131,9 +132,10 @@ class KOMonthView;
@see KOMonthView
*/
-class MonthViewCell : public QWidget
+class MonthViewCell : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
class CreateItemVisitor;
MonthViewCell( KOMonthView * );
@@ -143,7 +145,7 @@ class MonthViewCell : public QWidget
/** @return Date of cell */
TQDate date() const;
- /** @return MonthView parent */
+ /** @return MonthView tqparent */
KOMonthView *monthView() { return mMonthView; }
/**
@@ -243,8 +245,9 @@ class MonthViewCell : public QWidget
class KOMonthView: public KOEventView
{
Q_OBJECT
+ TQ_OBJECT
public:
- KOMonthView(Calendar *cal, TQWidget *parent = 0, const char *name = 0 );
+ KOMonthView(Calendar *cal, TQWidget *tqparent = 0, const char *name = 0 );
~KOMonthView();
/** Returns maximum number of days supported by the komonthview */