summaryrefslogtreecommitdiffstats
path: root/korganizer/koagenda.h
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koagenda.h')
-rw-r--r--korganizer/koagenda.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/korganizer/koagenda.h b/korganizer/koagenda.h
index 223ea1aa3..2dfb45517 100644
--- a/korganizer/koagenda.h
+++ b/korganizer/koagenda.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 KOAGENDA_H
#define KOAGENDA_H
@@ -53,6 +53,7 @@ using namespace KCal;
class MarcusBains : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
MarcusBains( KOAgenda *agenda = 0, const char *name = 0 );
void updateLocationRecalc( bool recalculate = false );
@@ -73,11 +74,12 @@ class MarcusBains : public TQFrame
class KOAgenda : public TQScrollView
{
Q_OBJECT
+ TQ_OBJECT
public:
KOAgenda ( int columns, int rows, int columnSize, CalendarView *calendarView,
- TQWidget *parent=0, const char *name = 0, WFlags f = 0 );
+ TQWidget *tqparent=0, const char *name = 0, WFlags f = 0 );
- KOAgenda ( int columns, CalendarView *calendarView, TQWidget *parent = 0,
+ KOAgenda ( int columns, CalendarView *calendarView, TQWidget *tqparent = 0,
const char *name = 0, WFlags f = 0 );
virtual ~KOAgenda();
@@ -215,7 +217,7 @@ class KOAgenda : public TQScrollView
/** Handles mouse events. Called from eventFilter */
virtual bool eventFilter_mouse ( TQObject *, TQMouseEvent * );
-#ifndef QT_NO_WHEELEVENT
+#ifndef TQT_NO_WHEELEVENT
/** Handles mousewheel events. Called from eventFilter */
virtual bool eventFilter_wheel ( TQObject *, TQWheelEvent * );
#endif
@@ -287,7 +289,7 @@ class KOAgenda : public TQScrollView
/** delete the items that are queued for deletion */
void deleteItemsToDelete();
/** Resizes all the child elements after the size of the agenda
- changed. This is needed because Qt seems to have a bug when
+ changed. This is needed because TQt seems to have a bug when
the resizeEvent of one of the widgets in a splitter takes a
lot of time / does a lot of resizes.... see bug 80114 */
void resizeAllContents();
@@ -346,7 +348,7 @@ class KOAgenda : public TQScrollView
// The KOAgendaItem, which is being moved/resized
TQGuardedPtr<KOAgendaItem> mActionItem;
- QPair<ResourceCalendar *, TQString> mResPair;
+ TQPair<ResourceCalendar *, TQString> mResPair;
// Currently selected item
TQGuardedPtr<KOAgendaItem> mSelectedItem;