diff options
Diffstat (limited to 'kplato/kptresourceview.cc')
-rw-r--r-- | kplato/kptresourceview.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kplato/kptresourceview.cc b/kplato/kptresourceview.cc index 13306105..d596ff44 100644 --- a/kplato/kptresourceview.cc +++ b/kplato/kptresourceview.cc @@ -48,8 +48,8 @@ namespace KPlato class ResListView : public KListView { public: - ResListView(TQWidget * tqparent = 0, const char* name=0) - : KListView(tqparent, name) + ResListView(TQWidget * parent = 0, const char* name=0) + : KListView(parent, name) {} int headerHeight() const { @@ -280,8 +280,8 @@ protected: class ResourceItemPrivate : public KListViewItem { public: - ResourceItemPrivate(Resource *r, TQListViewItem *tqparent) - : KListViewItem(tqparent, r->name()), + ResourceItemPrivate(Resource *r, TQListViewItem *parent) + : KListViewItem(parent, r->name()), resource(r) {} Resource *resource; @@ -304,14 +304,14 @@ private: class NodeItemPrivate : public KListViewItem { public: - NodeItemPrivate(Task *n, TQListView *tqparent) - : KListViewItem(tqparent, n->name()), + NodeItemPrivate(Task *n, TQListView *parent) + : KListViewItem(parent, n->name()), node(n) { init(); } - NodeItemPrivate(TQString name, TQListView *tqparent) - : KListViewItem(tqparent, name), + NodeItemPrivate(TQString name, TQListView *parent) + : KListViewItem(parent, name), node(0) { init(); } @@ -353,8 +353,8 @@ private: class AppointmentItem : public KListViewItem { public: - AppointmentItem(Appointment *a, TQDate &d, TQListViewItem *tqparent) - : KListViewItem(tqparent), + AppointmentItem(Appointment *a, TQDate &d, TQListViewItem *parent) + : KListViewItem(parent), appointment(a), date(d) {} @@ -366,8 +366,8 @@ TQSize ResourceView::tqsizeHint() const { return tqminimumSizeHint(); // HACK: koshell splitter tqminimumSize problem } -ResourceView::ResourceView(View *view, TQWidget *tqparent) - : TQSplitter(tqparent, "Resource view"), +ResourceView::ResourceView(View *view, TQWidget *parent) + : TQSplitter(parent, "Resource view"), m_mainview(view), m_selectedItem(0), m_currentNode(0) @@ -444,13 +444,13 @@ void ResourceView::draw(Project &project) } -void ResourceView::drawResources(const Project &proj, TQListViewItem *tqparent, ResourceGroup *group) +void ResourceView::drawResources(const Project &proj, TQListViewItem *parent, ResourceGroup *group) { //kdDebug()<<k_funcinfo<<"group: "<<group->name()<<" ("<<group<<")"<<endl; TQPtrListIterator<Resource> it(group->resources()); for (; it.current(); ++it) { Resource *r = it.current(); - ResourceItemPrivate *item = new ResourceItemPrivate(r, tqparent); + ResourceItemPrivate *item = new ResourceItemPrivate(r, parent); // set column colors item->setColumnState(0, 0); item->setColumnState(4, 0); |