summaryrefslogtreecommitdiffstats
path: root/korganizer/koagendaview.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/koagendaview.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/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();