diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-09-30 00:04:56 +0300 |
---|---|---|
committer | Philippe Mavridis <philippe.mavridis@yandex.com> | 2025-05-15 21:00:25 +0300 |
commit | 04e86613f67d171cc965fce64a4310c0d25c98e1 (patch) | |
tree | 08a85d43bc40568f94259601339ccd7e1de11773 /kplato/kpttaskappointmentsview.cpp | |
parent | cf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (diff) | |
download | koffice-feat/cmake-port.tar.gz koffice-feat/cmake-port.zip |
WIP: CMake portfeat/cmake-port
Signed-off-by: Philippe Mavridis <philippe.mavridis@yandex.com>
Diffstat (limited to 'kplato/kpttaskappointmentsview.cpp')
-rw-r--r-- | kplato/kpttaskappointmentsview.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kplato/kpttaskappointmentsview.cpp b/kplato/kpttaskappointmentsview.cpp index 669bf0654..0cab9cc4c 100644 --- a/kplato/kpttaskappointmentsview.cpp +++ b/kplato/kpttaskappointmentsview.cpp @@ -17,7 +17,7 @@ * Boston, MA 02110-1301, USA. */ -#include "kpttaskappointmentsview.h" +#include "kpttastdeAppointmentsview.h" #include "kptappointment.h" #include "kpttask.h" @@ -32,14 +32,14 @@ namespace KPlato { -TaskAppointmentsView::ResourceItem::ResourceItem(Resource *r, TQListView *parent, bool highlight) +TastdeAppointmentsView::ResourceItem::ResourceItem(Resource *r, TQListView *parent, bool highlight) : DoubleListViewBase::MasterListItem(parent, r->name(), highlight), resource(r) { setFormat(0, 'f', 1); //kdDebug()<<k_funcinfo<<endl; } -TaskAppointmentsView::ResourceItem::ResourceItem(Resource *r, TQListViewItem *p, bool highlight) +TastdeAppointmentsView::ResourceItem::ResourceItem(Resource *r, TQListViewItem *p, bool highlight) : DoubleListViewBase::MasterListItem(p, r->name(), highlight), resource(r) { @@ -47,7 +47,7 @@ TaskAppointmentsView::ResourceItem::ResourceItem(Resource *r, TQListViewItem *p, //kdDebug()<<k_funcinfo<<endl; } -TaskAppointmentsView::ResourceItem::ResourceItem(TQString text, TQListViewItem *parent, bool highlight) +TastdeAppointmentsView::ResourceItem::ResourceItem(TQString text, TQListViewItem *parent, bool highlight) : DoubleListViewBase::MasterListItem(parent, text, highlight), resource(0) { @@ -56,7 +56,7 @@ TaskAppointmentsView::ResourceItem::ResourceItem(TQString text, TQListViewItem * } //------------------------------------------- -TaskAppointmentsView::TaskAppointmentsView(TQWidget *parent) +TastdeAppointmentsView::TastdeAppointmentsView(TQWidget *parent) : DoubleListViewBase(parent), m_task(0) { @@ -70,17 +70,17 @@ TaskAppointmentsView::TaskAppointmentsView(TQWidget *parent) setSizes(list); } -void TaskAppointmentsView::zoom(double zoom) { +void TastdeAppointmentsView::zoom(double zoom) { Q_UNUSED(zoom); } -void TaskAppointmentsView::draw(Task *task) { +void TastdeAppointmentsView::draw(Task *task) { m_task = task; draw(); } -void TaskAppointmentsView::draw() { +void TastdeAppointmentsView::draw() { //kdDebug()<<k_funcinfo<<endl; clearLists(); if (!m_task) @@ -90,19 +90,19 @@ void TaskAppointmentsView::draw() { TQPtrListIterator<Appointment> it(lst); for (; it.current(); ++it) { Resource *r = it.current()->resource()->resource(); - TaskAppointmentsView::ResourceItem *item = new TaskAppointmentsView::ResourceItem(r, masterListView()); + TastdeAppointmentsView::ResourceItem *item = new TastdeAppointmentsView::ResourceItem(r, masterListView()); item->effortMap = it.current()->plannedPrDay(m_task->startTime().date(), m_task->endTime().date()); } slotUpdate(); } -void TaskAppointmentsView::drawContents(TQPainter* painter) +void TastdeAppointmentsView::drawContents(TQPainter* painter) { this->DoubleListViewBase::drawContents(painter); } -void TaskAppointmentsView::slotUpdate() { +void TastdeAppointmentsView::slotUpdate() { //kdDebug()<<k_funcinfo<<endl; if (!m_task) return; @@ -122,7 +122,7 @@ void TaskAppointmentsView::slotUpdate() { } TQListViewItemIterator it(masterListView()); for (;it.current(); ++it) { - TaskAppointmentsView::ResourceItem *item = static_cast<TaskAppointmentsView::ResourceItem*>(it.current()); + TastdeAppointmentsView::ResourceItem *item = static_cast<TastdeAppointmentsView::ResourceItem*>(it.current()); if (!item) { continue; } @@ -139,11 +139,11 @@ void TaskAppointmentsView::slotUpdate() { } -void TaskAppointmentsView::print(KPrinter &/*printer*/) { +void TastdeAppointmentsView::print(KPrinter &/*printer*/) { kdDebug()<<k_funcinfo<<endl; } -// bool TaskAppointmentsView::setContext(Context::TaskAppointmentsView &context) { +// bool TastdeAppointmentsView::setContext(Context::TastdeAppointmentsView &context) { // //kdDebug()<<k_funcinfo<<endl; // // TQValueList<int> list; @@ -158,7 +158,7 @@ void TaskAppointmentsView::print(KPrinter &/*printer*/) { // return true; // } // -// void TaskAppointmentsView::getContext(Context::TaskAppointmentsView &context) const { +// void TastdeAppointmentsView::getContext(Context::TastdeAppointmentsView &context) const { // //kdDebug()<<k_funcinfo<<endl; // context.accountsviewsize = m_dlv->sizes()[0]; // context.periodviewsize = m_dlv->sizes()[1]; @@ -168,15 +168,15 @@ void TaskAppointmentsView::print(KPrinter &/*printer*/) { // //kdDebug()<<k_funcinfo<<"sizes="<<sizes()[0]<<","<<sizes()[1]<<endl; // } -void TaskAppointmentsView::clear() { +void TastdeAppointmentsView::clear() { clearLists(); } -void TaskAppointmentsView::createSlaveItems() { +void TastdeAppointmentsView::createSlaveItems() { DoubleListViewBase::createSlaveItems(); setSlaveFormat(0, 'f', 1); } } //KPlato namespace -#include "kpttaskappointmentsview.moc" +#include "kpttastdeAppointmentsview.moc" |