diff options
Diffstat (limited to 'kpilot/kpilot/listItems.cc')
-rw-r--r-- | kpilot/kpilot/listItems.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kpilot/kpilot/listItems.cc b/kpilot/kpilot/listItems.cc index 1c8315b86..9984f0047 100644 --- a/kpilot/kpilot/listItems.cc +++ b/kpilot/kpilot/listItems.cc @@ -30,9 +30,9 @@ #include "options.h" -#include <qstring.h> -#include <qlistbox.h> -#include <qlistview.h> +#include <tqstring.h> +#include <tqlistbox.h> +#include <tqlistview.h> #ifndef _KPILOT_LISTITEMS_H @@ -52,9 +52,9 @@ } #endif -PilotListItem::PilotListItem(const QString & text, +PilotListItem::PilotListItem(const TQString & text, recordid_t pilotid, void *r) : - QListBoxText(text), + TQListBoxText(text), fid(pilotid), fr(r) { @@ -94,8 +94,8 @@ PilotListItem::~PilotListItem() } #endif -PilotCheckListItem::PilotCheckListItem(QListView * parent, const QString & text, recordid_t pilotid, void *r) : - QCheckListItem(parent, text, QCheckListItem::CheckBox), +PilotCheckListItem::PilotCheckListItem(TQListView * parent, const TQString & text, recordid_t pilotid, void *r) : + TQCheckListItem(parent, text, TQCheckListItem::CheckBox), fid(pilotid), fr(r) { @@ -122,7 +122,7 @@ PilotCheckListItem::~PilotCheckListItem() void PilotCheckListItem::stateChange ( bool on) { // FUNCTIONSETUP; - QCheckListItem::stateChange(on); + TQCheckListItem::stateChange(on); } @@ -142,11 +142,11 @@ void PilotCheckListItem::stateChange ( bool on) } #endif -PilotListViewItem::PilotListViewItem( QListView * parent, - QString label1, QString label2, QString label3, QString label4, +PilotListViewItem::PilotListViewItem( TQListView * parent, + TQString label1, TQString label2, TQString label3, TQString label4, recordid_t pilotid, void *r): - QListViewItem(parent, label1, label2, label3, label4, - QString::null, QString::null, QString::null, QString::null), + TQListViewItem(parent, label1, label2, label3, label4, + TQString::null, TQString::null, TQString::null, TQString::null), fid(pilotid), fr(r), d(new PilotListViewItemData) @@ -204,7 +204,7 @@ unsigned long PilotListViewItem::colValue(int col, bool *ok) const return d->val; } -int PilotListViewItem::compare( QListViewItem *i, int col, bool ascending ) const +int PilotListViewItem::compare( TQListViewItem *i, int col, bool ascending ) const { // FUNCTIONSETUP; PilotListViewItem*item=dynamic_cast<PilotListViewItem*>(i); @@ -237,6 +237,6 @@ int PilotListViewItem::compare( QListViewItem *i, int col, bool ascending ) cons return res; } } - return QListViewItem::compare(i, col, ascending); + return TQListViewItem::compare(i, col, ascending); } |