From 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Wed, 13 Jan 2021 19:30:17 +0200 Subject: Conversion Qt3->TQt Signed-off-by: Mavridis Philippe --- src/ktview.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/ktview.h') diff --git a/src/ktview.h b/src/ktview.h index 061b28a..4d73619 100644 --- a/src/ktview.h +++ b/src/ktview.h @@ -16,12 +16,12 @@ #include #endif -#include +#include #include "cthost.h" -class QString; -class QListView; -class QListViewItem; +class TQString; +class TQListView; +class TQListViewItem; class KTApp; class KTPrint; class KTListItem; @@ -33,7 +33,7 @@ class Schedule; /** * Main GUI view of the crontab entries. */ -class KTView : public QWidget +class KTView : public TQWidget { Q_OBJECT @@ -42,7 +42,7 @@ public: /** * Initializes view. */ - KTView (QWidget* parent = 0, const char* name=0); + KTView (TQWidget* parent = 0, const char* name=0); /** * Destructor. @@ -107,7 +107,7 @@ public: CTCron* getCTCron(); - QListViewItem* currentItem(); + TQListViewItem* currentItem(); void hideCommand(); signals: @@ -141,33 +141,33 @@ public slots: /** * Pop up context sensitive menu. */ - void slotMenu(QListViewItem* qlvi, const QPoint& qp, int i); + void slotMenu(TQListViewItem* qlvi, const TQPoint& qp, int i); /** * Default action, edit. */ - void slotEdit(QListViewItem* qlvi = 0); + void slotEdit(TQListViewItem* qlvi = 0); protected slots: /** * Set current and update menu */ - void slotSetCurrent (QListViewItem* qlvi); + void slotSetCurrent (TQListViewItem* qlvi); protected: /** * Resize view contents. */ - virtual void resizeEvent (QResizeEvent* = 0); + virtual void resizeEvent (TQResizeEvent* = 0); private: /** * Get absolute path of command. */ - QString absolute() const; + TQString absolute() const; /** @@ -179,7 +179,7 @@ private: /** * Tree view of the crontab entries. */ - QListView* listView; + TQListView* listView; /** * Current user's crontab. -- cgit v1.2.1