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