diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kplato/kptcalendarlistdialog.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kplato/kptcalendarlistdialog.h')
-rw-r--r-- | kplato/kptcalendarlistdialog.h | 32 |
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); |