summaryrefslogtreecommitdiffstats
path: root/kgantt/kgantt/KGanttRelation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kgantt/kgantt/KGanttRelation.cpp')
-rw-r--r--kgantt/kgantt/KGanttRelation.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kgantt/kgantt/KGanttRelation.cpp b/kgantt/kgantt/KGanttRelation.cpp
index b9123acc..f95deea1 100644
--- a/kgantt/kgantt/KGanttRelation.cpp
+++ b/kgantt/kgantt/KGanttRelation.cpp
@@ -10,24 +10,24 @@
#include "KGanttItem.h"
-QPen KGanttRelation::_selectPen(QColor(255,0,0));
+TQPen KGanttRelation::_selectPen(TQColor(255,0,0));
KGanttRelation::KGanttRelation(KGanttItem* from, KGanttItem* to,
- const QString& text )
- : QObject()
+ const TQString& text )
+ : TQObject()
////////////////////////////////////////////////////////
{
_from = from;
_to = to;
_text = text;
- _pen = QPen(QColor(20,20,20),1);
+ _pen = TQPen(TQColor(20,20,20),1);
- connect(from, SIGNAL(destroyed(KGanttItem*)),
- this, SLOT(itemDestroyed(KGanttItem*)));
+ connect(from, TQT_SIGNAL(destroyed(KGanttItem*)),
+ this, TQT_SLOT(itemDestroyed(KGanttItem*)));
- connect(to, SIGNAL(destroyed(KGanttItem*)),
- this, SLOT(itemDestroyed(KGanttItem*)));
+ connect(to, TQT_SIGNAL(destroyed(KGanttItem*)),
+ this, TQT_SLOT(itemDestroyed(KGanttItem*)));
}
@@ -77,7 +77,7 @@ KGanttRelation::itemDestroyed(KGanttItem* /*item*/)
void
-KGanttRelation::setText(const QString& text)
+KGanttRelation::setText(const TQString& text)
///////////////////////////////////////
{
if(!_editable) return;
@@ -107,7 +107,7 @@ KGanttRelation::select(bool f)
void
-KGanttRelation::setPen(const QPen& pen)
+KGanttRelation::setPen(const TQPen& pen)
{
_pen = pen;
}
@@ -116,7 +116,7 @@ KGanttRelation::setPen(const QPen& pen)
void
-KGanttRelation::dump(QTextOStream& cout, const QString& pre)
+KGanttRelation::dump(TQTextOStream& cout, const TQString& pre)
{
cout << pre << "<Relation. text = [" << _text << "]>\n";
@@ -142,7 +142,7 @@ QString
KGanttRelation::ChangeAsString(Change c)
//////////////////////////////////
{
- QString ret;
+ TQString ret;
/*
if(c & StartChanged) ret += "StartChanged, ";