summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/projectview
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /korganizer/plugins/projectview
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/plugins/projectview')
-rw-r--r--korganizer/plugins/projectview/koprojectview.cpp10
-rw-r--r--korganizer/plugins/projectview/koprojectview.h2
-rw-r--r--korganizer/plugins/projectview/projectview.cpp8
3 files changed, 10 insertions, 10 deletions
diff --git a/korganizer/plugins/projectview/koprojectview.cpp b/korganizer/plugins/projectview/koprojectview.cpp
index 3c7678e1a..79b146b35 100644
--- a/korganizer/plugins/projectview/koprojectview.cpp
+++ b/korganizer/plugins/projectview/koprojectview.cpp
@@ -64,9 +64,9 @@ Todo *KOProjectViewItem::event()
}
-KOProjectView::KOProjectView(Calendar *calendar,TQWidget* tqparent,
+KOProjectView::KOProjectView(Calendar *calendar,TQWidget* parent,
const char* name) :
- KOrg::BaseView(calendar,tqparent,name)
+ KOrg::BaseView(calendar,parent,name)
{
TQBoxLayout *topLayout = new TQVBoxLayout(this);
@@ -183,7 +183,7 @@ void KOProjectView::updateView()
*/
// Put for each Event a KOProjectViewItem in the list view. Don't rely on a
- // specific order of events. That means that we have to generate tqparent items
+ // specific order of events. That means that we have to generate parent items
// recursively for proper hierarchical display of Todos.
mTodoMap.clear();
Todo::List::ConstIterator it;
@@ -216,7 +216,7 @@ TQMap<Todo *,KGanttItem *>::ConstIterator
}
}
-KGanttItem *KOProjectView::createTask(KGanttItem *tqparent,Todo *todo)
+KGanttItem *KOProjectView::createTask(KGanttItem *parent,Todo *todo)
{
TQDateTime startDt;
TQDateTime endDt;
@@ -237,7 +237,7 @@ KGanttItem *KOProjectView::createTask(KGanttItem *tqparent,Todo *todo)
endDt = todo->dtDue();
}
- KGanttItem *task = new KOProjectViewItem(todo,tqparent,todo->summary(),startDt,
+ KGanttItem *task = new KOProjectViewItem(todo,parent,todo->summary(),startDt,
endDt);
connect(task,TQT_SIGNAL(changed(KGanttItem*, KGanttItem::Change)),
TQT_SLOT(taskChanged(KGanttItem*,KGanttItem::Change)));
diff --git a/korganizer/plugins/projectview/koprojectview.h b/korganizer/plugins/projectview/koprojectview.h
index 21aa4b2b0..d05610527 100644
--- a/korganizer/plugins/projectview/koprojectview.h
+++ b/korganizer/plugins/projectview/koprojectview.h
@@ -68,7 +68,7 @@ class KOProjectView : public KOrg::BaseView
Q_OBJECT
TQ_OBJECT
public:
- KOProjectView(Calendar *, TQWidget* tqparent=0, const char* name=0 );
+ KOProjectView(Calendar *, TQWidget* parent=0, const char* name=0 );
~KOProjectView() {}
Incidence::List selectedIncidences();
diff --git a/korganizer/plugins/projectview/projectview.cpp b/korganizer/plugins/projectview/projectview.cpp
index d6a009c8e..2e7b3dc61 100644
--- a/korganizer/plugins/projectview/projectview.cpp
+++ b/korganizer/plugins/projectview/projectview.cpp
@@ -35,18 +35,18 @@ using namespace KOrg;
class ProjectViewFactory : public KOrg::PartFactory {
public:
- KOrg::Part *create(KOrg::MainWindow *tqparent, const char *name)
+ KOrg::Part *create(KOrg::MainWindow *parent, const char *name)
{
KGlobal::locale()->insertCatalogue( "kgantt" );
- return new ProjectView(tqparent,name);
+ return new ProjectView(parent,name);
}
};
K_EXPORT_COMPONENT_FACTORY( libkorg_projectview, ProjectViewFactory )
-ProjectView::ProjectView(KOrg::MainWindow *tqparent, const char *name) :
- KOrg::Part(tqparent,name), mView(0)
+ProjectView::ProjectView(KOrg::MainWindow *parent, const char *name) :
+ KOrg::Part(parent,name), mView(0)
{
setInstance( new KInstance( "korganizer" ) );