summaryrefslogtreecommitdiffstats
path: root/kplato/kptcalendarlistdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptcalendarlistdialog.h')
-rw-r--r--kplato/kptcalendarlistdialog.h32
1 files changed, 17 insertions, 15 deletions
diff --git a/kplato/kptcalendarlistdialog.h b/kplato/kptcalendarlistdialog.h
index 0f9bf01d..32756371 100644
--- a/kplato/kptcalendarlistdialog.h
+++ b/kplato/kptcalendarlistdialog.h
@@ -26,7 +26,7 @@
#include <kdialogbase.h>
-#include <qstring.h>
+#include <tqstring.h>
class KCommand;
@@ -39,21 +39,22 @@ class Part;
class CalendarListDialogImpl : public CalendarListDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
- CalendarListDialogImpl(Project &project, QWidget *parent);
+ CalendarListDialogImpl(Project &project, TQWidget *tqparent);
void setBaseCalendars();
Calendar *getCalendar() { return calendar->getCalendar(); }
void setCalendar(Calendar *cal);
- QPtrList<CalendarListViewItem> &deletedItems();
+ TQPtrList<CalendarListViewItem> &deletedItems();
- void renameStopped(QListViewItem *item);
+ void renameStopped(TQListViewItem *item);
public slots:
void slotSelectionChanged();
- void slotSelectionChanged(QListViewItem *listItem);
+ void slotSelectionChanged(TQListViewItem *listItem);
private slots:
void slotBaseCalendarActivated(int id);
@@ -61,10 +62,10 @@ private slots:
void slotDeleteClicked();
void slotAddClicked();
void slotEnableButtonOk(bool on);
- void slotItemRenamed(QListViewItem *item, int col);
- void slotListDoubleClicked(QListViewItem *item, const QPoint&, int col);
- void slotStartRename(QListViewItem *item, int col);
- void slotRenameStarted(QListViewItem *item, int col);
+ void slotItemRenamed(TQListViewItem *item, int col);
+ void slotListDoubleClicked(TQListViewItem *item, const TQPoint&, int col);
+ void slotStartRename(TQListViewItem *item, int col);
+ void slotRenameStarted(TQListViewItem *item, int col);
signals:
void obligatedFieldsFilled(bool yes);
@@ -73,8 +74,8 @@ signals:
void enableButtonOk(bool on);
//internal
- void renameStarted(QListViewItem *, int);
- void startRename(QListViewItem *item, int col);
+ void renameStarted(TQListViewItem *, int);
+ void startRename(TQListViewItem *item, int col);
void selectionChanged();
protected:
@@ -82,15 +83,16 @@ protected:
private:
Project &project;
- QPtrList<CalendarListViewItem> m_deletedItems;
- QPtrList<CalendarListViewItem> baseCalendarList;
- QListViewItem *m_renameItem;
+ TQPtrList<CalendarListViewItem> m_deletedItems;
+ TQPtrList<CalendarListViewItem> baseCalendarList;
+ TQListViewItem *m_renameItem;
};
class CalendarListDialog : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
- CalendarListDialog(Project &project, QWidget *parent=0, const char *name=0);
+ CalendarListDialog(Project &project, TQWidget *tqparent=0, const char *name=0);
KCommand *buildCommand(Part *part);