summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/kotodoview.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/kotodoview.h')
-rw-r--r--korganizer/kotodoview.h90
1 files changed, 45 insertions, 45 deletions
diff --git a/korganizer/kotodoview.h b/korganizer/kotodoview.h
index aee9037ea..881d92358 100644
--- a/korganizer/kotodoview.h
+++ b/korganizer/kotodoview.h
@@ -25,8 +25,8 @@
#ifndef KOTODOVIEW_H
#define KOTODOVIEW_H
-#include <qmap.h>
-#include <qtooltip.h>
+#include <tqmap.h>
+#include <tqtooltip.h>
#include <klistview.h>
@@ -58,10 +58,10 @@ using namespace KOrg;
class KOTodoListViewToolTip : public QToolTip
{
public:
- KOTodoListViewToolTip( QWidget *parent, KOTodoListView *lv );
+ KOTodoListViewToolTip( TQWidget *parent, KOTodoListView *lv );
protected:
- void maybeTip( const QPoint &pos );
+ void maybeTip( const TQPoint &pos );
private:
KOTodoListView *todolist;
@@ -72,7 +72,7 @@ class KOTodoListView : public KListView
{
Q_OBJECT
public:
- KOTodoListView( QWidget *parent = 0, const char *name = 0 );
+ KOTodoListView( TQWidget *parent = 0, const char *name = 0 );
~KOTodoListView();
void setCalendar( Calendar * );
@@ -80,25 +80,25 @@ class KOTodoListView : public KListView
void setIncidenceChanger( IncidenceChangerBase *changer ) { mChanger = changer; }
protected:
- virtual bool event( QEvent * );
+ virtual bool event( TQEvent * );
- void contentsDragEnterEvent( QDragEnterEvent * );
- void contentsDragMoveEvent( QDragMoveEvent * );
- void contentsDragLeaveEvent( QDragLeaveEvent * );
- void contentsDropEvent( QDropEvent * );
+ void contentsDragEnterEvent( TQDragEnterEvent * );
+ void contentsDragMoveEvent( TQDragMoveEvent * );
+ void contentsDragLeaveEvent( TQDragLeaveEvent * );
+ void contentsDropEvent( TQDropEvent * );
- void contentsMousePressEvent( QMouseEvent * );
- void contentsMouseMoveEvent( QMouseEvent * );
- void contentsMouseReleaseEvent( QMouseEvent * );
- void contentsMouseDoubleClickEvent( QMouseEvent * );
+ void contentsMousePressEvent( TQMouseEvent * );
+ void contentsMouseMoveEvent( TQMouseEvent * );
+ void contentsMouseReleaseEvent( TQMouseEvent * );
+ void contentsMouseDoubleClickEvent( TQMouseEvent * );
private:
Calendar *mCalendar;
KOrg::IncidenceChangerBase *mChanger;
- QPoint mPressPos;
+ TQPoint mPressPos;
bool mMousePressed;
- QListViewItem *mOldCurrent;
+ TQListViewItem *mOldCurrent;
KOTodoListViewToolTip *tooltip;
};
@@ -113,7 +113,7 @@ class KOTodoView : public KOrg::BaseView
{
Q_OBJECT
public:
- KOTodoView( Calendar *cal, QWidget *parent = 0, const char *name = 0 );
+ KOTodoView( Calendar *cal, TQWidget *parent = 0, const char *name = 0 );
~KOTodoView();
void setCalendar( Calendar * );
@@ -128,12 +128,12 @@ class KOTodoView : public KOrg::BaseView
CalPrinterBase::PrintType printType();
- void setDocumentId( const QString & );
+ void setDocumentId( const TQString & );
- void saveLayout( KConfig *config, const QString &group ) const;
- void restoreLayout( KConfig *config, const QString &group );
+ void saveLayout( KConfig *config, const TQString &group ) const;
+ void restoreLayout( KConfig *config, const TQString &group );
/** Create a popup menu to set categories */
- QPopupMenu *getCategoryPopupMenu( KOTodoViewItem *todoItem );
+ TQPopupMenu *getCategoryPopupMenu( KOTodoViewItem *todoItem );
void setIncidenceChanger( IncidenceChangerBase *changer );
public slots:
@@ -142,16 +142,16 @@ class KOTodoView : public KOrg::BaseView
void changeIncidenceDisplay( Incidence *, int );
- void showDates( const QDate &start, const QDate &end );
+ void showDates( const TQDate &start, const TQDate &end );
void showIncidences( const Incidence::List &incidenceList );
void clearSelection();
- void editItem( QListViewItem *item, const QPoint &, int );
- void editItem( QListViewItem *item );
- void showItem( QListViewItem *item, const QPoint &, int );
- void showItem( QListViewItem *item );
- void popupMenu( QListViewItem *item, const QPoint &, int );
+ void editItem( TQListViewItem *item, const TQPoint &, int );
+ void editItem( TQListViewItem *item );
+ void showItem( TQListViewItem *item, const TQPoint &, int );
+ void showItem( TQListViewItem *item );
+ void popupMenu( TQListViewItem *item, const TQPoint &, int );
void newTodo();
void newSubTodo();
void showTodo();
@@ -163,13 +163,13 @@ class KOTodoView : public KOrg::BaseView
void setNewPriority( int );
void setNewPercentage( int );
- void setNewDate( QDate );
- void copyTodoToDate( QDate );
+ void setNewDate( TQDate );
+ void copyTodoToDate( TQDate );
void changedCategories( int );
void purgeCompleted();
- void itemStateChanged( QListViewItem * );
+ void itemStateChanged( TQListViewItem * );
void setNewPercentageDelayed( KOTodoViewItem *item, int percentage );
void processDelayedNewPercentage();
@@ -190,38 +190,38 @@ class KOTodoView : public KOrg::BaseView
* the TodoEditor approach is rather unscaling in the long
* run.
* Korganizer keeps it in memory and we need to update
- * 1. make KOTodoViewItem a QObject again?
+ * 1. make KOTodoViewItem a TQObject again?
* 2. add a public method for setting one todo modified?
* 3. add a private method for setting a todo modified + friend here?
* -- zecke 2002-07-08
*/
friend class KOTodoViewItem;
- QMap<Todo *,KOTodoViewItem *>::ConstIterator insertTodoItem( Todo *todo );
+ TQMap<Todo *,KOTodoViewItem *>::ConstIterator insertTodoItem( Todo *todo );
bool scheduleRemoveTodoItem( KOTodoViewItem *todoItem );
- void restoreItemState( QListViewItem * );
+ void restoreItemState( TQListViewItem * );
KOTodoListView *mTodoListView;
- QPopupMenu *mItemPopupMenu;
- QPopupMenu *mPopupMenu;
- QPopupMenu *mPriorityPopupMenu;
- QPopupMenu *mPercentageCompletedPopupMenu;
- QPopupMenu *mCategoryPopupMenu;
+ TQPopupMenu *mItemPopupMenu;
+ TQPopupMenu *mPopupMenu;
+ TQPopupMenu *mPriorityPopupMenu;
+ TQPopupMenu *mPercentageCompletedPopupMenu;
+ TQPopupMenu *mCategoryPopupMenu;
KDatePickerPopup *mMovePopupMenu;
KDatePickerPopup *mCopyPopupMenu;
- QMap<int, int> mPercentage;
- QMap<int, int> mPriority;
- QMap<int, QString> mCategory;
+ TQMap<int, int> mPercentage;
+ TQMap<int, int> mPriority;
+ TQMap<int, TQString> mCategory;
KOTodoViewItem *mActiveItem;
- QMap<Todo *,KOTodoViewItem *> mTodoMap;
- QPtrList<KOTodoViewItem> mItemsToDelete;
- QValueList< QPair<KOTodoViewItem *, int> > mPercentChangedMap;
+ TQMap<Todo *,KOTodoViewItem *> mTodoMap;
+ TQPtrList<KOTodoViewItem> mItemsToDelete;
+ TQValueList< QPair<KOTodoViewItem *, int> > mPercentChangedMap;
DocPrefs *mDocPrefs;
- QString mCurrentDoc;
+ TQString mCurrentDoc;
KPIM::ClickLineEdit *mQuickAdd;
public: