summaryrefslogtreecommitdiffstats
path: root/korganizer/komonthview.h
diff options
context:
space:
mode:
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 */