summaryrefslogtreecommitdiffstats
path: root/korganizer/koagendaview.h
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koagendaview.h')
-rw-r--r--korganizer/koagendaview.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/korganizer/koagendaview.h b/korganizer/koagendaview.h
index c44c25081..25c1dd159 100644
--- a/korganizer/koagendaview.h
+++ b/korganizer/koagendaview.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 KOAGENDAVIEW_H
#define KOAGENDAVIEW_H
@@ -48,12 +48,13 @@ namespace KOrg {
class IncidenceChangerBase;
}
-class EventIndicator : public QFrame
+class EventIndicator : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
enum Location { Top, Bottom };
- EventIndicator( Location loc = Top, TQWidget *parent = 0,
+ EventIndicator( Location loc = Top, TQWidget *tqparent = 0,
const char *name = 0 );
virtual ~EventIndicator();
@@ -71,13 +72,14 @@ class EventIndicator : public QFrame
TQMemArray<bool> mEnabled;
};
-class KOAlternateLabel : public QLabel
+class KOAlternateLabel : public TQLabel
{
Q_OBJECT
+ TQ_OBJECT
public:
KOAlternateLabel( const TQString &shortlabel, const TQString &longlabel,
- const TQString &extensivelabel = TQString::null,
- TQWidget *parent = 0, const char *name = 0 );
+ const TQString &extensivelabel = TQString(),
+ TQWidget *tqparent = 0, const char *name = 0 );
~KOAlternateLabel();
virtual TQSize tqminimumSizeHint() const;
@@ -106,10 +108,11 @@ class KOAlternateLabel : public QLabel
class KOAgendaView : public KOrg::AgendaView, public KCal::Calendar::Observer
{
Q_OBJECT
+ TQ_OBJECT
public:
KOAgendaView( Calendar *cal,
CalendarView *calendarView,
- TQWidget *parent = 0,
+ TQWidget *tqparent = 0,
const char *name = 0,
bool isSideBySide = false );
virtual ~KOAgendaView();
@@ -193,7 +196,7 @@ class KOAgendaView : public KOrg::AgendaView, public KCal::Calendar::Observer
void zoomOutVertically( );
void zoomView( const int delta, const TQPoint &pos,
- const Qt::Orientation orient=Qt::Horizontal );
+ const Qt::Orientation orient=TQt::Horizontal );
void clearTimeSpanSelection();