summaryrefslogtreecommitdiffstats
path: root/kgantt
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 /kgantt
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 'kgantt')
-rw-r--r--kgantt/kgantt/KGantt.cpp4
-rw-r--r--kgantt/kgantt/KGantt.h2
-rw-r--r--kgantt/kgantt/KGanttBarConfig.cpp4
-rw-r--r--kgantt/kgantt/KGanttBarConfig.h2
-rw-r--r--kgantt/kgantt/xQGanttBarView.cpp4
-rw-r--r--kgantt/kgantt/xQGanttBarView.h2
-rw-r--r--kgantt/kgantt/xQGanttBarViewPort.cpp18
-rw-r--r--kgantt/kgantt/xQGanttBarViewPort.h4
-rw-r--r--kgantt/kgantt/xQGanttBarViewPort_Events.cpp2
-rw-r--r--kgantt/kgantt/xQGanttListView.cpp4
-rw-r--r--kgantt/kgantt/xQGanttListView.h2
-rw-r--r--kgantt/kgantt/xQGanttListViewPort.cpp4
-rw-r--r--kgantt/kgantt/xQGanttListViewPort.h2
13 files changed, 27 insertions, 27 deletions
diff --git a/kgantt/kgantt/KGantt.cpp b/kgantt/kgantt/KGantt.cpp
index a3360c7a5..249f11ad9 100644
--- a/kgantt/kgantt/KGantt.cpp
+++ b/kgantt/kgantt/KGantt.cpp
@@ -15,8 +15,8 @@
KGantt::KGantt(KGanttItem* toplevelitem,
- TQWidget* tqparent, const char * name, WFlags f)
- : TQWidget(tqparent,name,f)
+ TQWidget* parent, const char * name, WFlags f)
+ : TQWidget(parent,name,f)
{
#ifdef _DEBUG_
printf("KGantt::KGantt()\n");
diff --git a/kgantt/kgantt/KGantt.h b/kgantt/kgantt/KGantt.h
index 7448e01a3..5fc77fe4d 100644
--- a/kgantt/kgantt/KGantt.h
+++ b/kgantt/kgantt/KGantt.h
@@ -103,7 +103,7 @@ public:
*
*/
KGantt(KGanttItem* toplevelitem = 0,
- TQWidget* tqparent = 0, const char * name=0, WFlags f=0 );
+ TQWidget* parent = 0, const char * name=0, WFlags f=0 );
/// Destructor.
diff --git a/kgantt/kgantt/KGanttBarConfig.cpp b/kgantt/kgantt/KGanttBarConfig.cpp
index e41dc7c60..ff5f4ee8e 100644
--- a/kgantt/kgantt/KGanttBarConfig.cpp
+++ b/kgantt/kgantt/KGanttBarConfig.cpp
@@ -13,9 +13,9 @@
KGanttBarConfig::KGanttBarConfig(xQGanttBarView* barview,
- TQWidget* tqparent,
+ TQWidget* parent,
const char * name, WFlags f)
- : TQWidget(tqparent,name,f)
+ : TQWidget(parent,name,f)
{
_barview = barview;
KColorButton* b = new KColorButton(this);
diff --git a/kgantt/kgantt/KGanttBarConfig.h b/kgantt/kgantt/KGanttBarConfig.h
index e12475b1d..fae399d05 100644
--- a/kgantt/kgantt/KGanttBarConfig.h
+++ b/kgantt/kgantt/KGanttBarConfig.h
@@ -43,7 +43,7 @@ class KGanttBarConfig : public TQWidget
public:
KGanttBarConfig(xQGanttBarView* barview,
- TQWidget* tqparent = 0, const char* name=0, WFlags f=0);
+ TQWidget* parent = 0, const char* name=0, WFlags f=0);
protected slots:
diff --git a/kgantt/kgantt/xQGanttBarView.cpp b/kgantt/kgantt/xQGanttBarView.cpp
index f85fea6b4..60d25797d 100644
--- a/kgantt/kgantt/xQGanttBarView.cpp
+++ b/kgantt/kgantt/xQGanttBarView.cpp
@@ -12,9 +12,9 @@
xQGanttBarView::xQGanttBarView(KGanttItem* toplevelitem,
- TQWidget* tqparent,
+ TQWidget* parent,
const char * name, WFlags f)
- : TQScrollView(tqparent,name,f)
+ : TQScrollView(parent,name,f)
{
_config = NULL;
diff --git a/kgantt/kgantt/xQGanttBarView.h b/kgantt/kgantt/xQGanttBarView.h
index d9037b404..b22753c53 100644
--- a/kgantt/kgantt/xQGanttBarView.h
+++ b/kgantt/kgantt/xQGanttBarView.h
@@ -62,7 +62,7 @@ public:
/*!
*
*/
- xQGanttBarView(KGanttItem* toplevelitem, TQWidget* tqparent = 0,
+ xQGanttBarView(KGanttItem* toplevelitem, TQWidget* parent = 0,
const char * name=0, WFlags f=0 );
diff --git a/kgantt/kgantt/xQGanttBarViewPort.cpp b/kgantt/kgantt/xQGanttBarViewPort.cpp
index 6ac4daaee..536761eaa 100644
--- a/kgantt/kgantt/xQGanttBarViewPort.cpp
+++ b/kgantt/kgantt/xQGanttBarViewPort.cpp
@@ -22,12 +22,12 @@
xQGanttBarViewPort::xQGanttBarViewPort(KGanttItem* toplevelitem,
- xQGanttBarView* tqparent,
+ xQGanttBarView* parent,
const char * name, WFlags f)
- : TQFrame(tqparent,name,f)
+ : TQFrame(parent,name,f)
/////////////////////////////////////////////////////////////////////////////
{
- _tqparent = tqparent;
+ _parent = parent;
closedIcon = TQPixmap(open_xpm);
openedIcon = TQPixmap(close_xpm);
@@ -239,7 +239,7 @@ xQGanttBarViewPort::initMenu()
pix = _iconloader->loadIcon("configure.png", KIcon::Toolbar , 16 );
if(pix.isNull()) printf("configure.png not found !\n");
- _menu->insertItem(pix, i18n("Configure Gantt..."), _tqparent, TQT_SLOT(showConfig()));
+ _menu->insertItem(pix, i18n("Configure Gantt..."), _parent, TQT_SLOT(showConfig()));
}
@@ -839,7 +839,7 @@ xQGanttBarViewPort::zoom(double sfactor, int sx, int sy)
recalc();
adjustSize();
- _tqparent->center(screenX(wx), screenY(wy) );
+ _parent->center(screenX(wx), screenY(wy) );
TQWidget::update();
@@ -854,12 +854,12 @@ xQGanttBarViewPort::zoom(double sfactor)
{
printf("zoom %f \n", sfactor );
- int x = (int) (_tqparent->visibleWidth()/2 + 0.5);
- int y = (int) (_tqparent->visibleHeight()/2 + 0.5);
+ int x = (int) (_parent->visibleWidth()/2 + 0.5);
+ int y = (int) (_parent->visibleHeight()/2 + 0.5);
printf("dx/2 = %d, dy/2 = %d \n", x,y);
- zoom(sfactor, x + _tqparent->contentsX(), y + _tqparent->contentsY() );
+ zoom(sfactor, x + _parent->contentsX(), y + _parent->contentsY() );
}
@@ -872,7 +872,7 @@ xQGanttBarViewPort::zoomAll()
printf("zoom all. scaleX = %f\n", _scaleX );
#endif
- _scaleX = ((double) _tqparent->visibleWidth()*60)/
+ _scaleX = ((double) _parent->visibleWidth()*60)/
((double) (_toplevelitem->getStart().secsTo(_toplevelitem->getEnd()) + _marginX*120));
recalc();
diff --git a/kgantt/kgantt/xQGanttBarViewPort.h b/kgantt/kgantt/xQGanttBarViewPort.h
index e84761e14..fa6b7483e 100644
--- a/kgantt/kgantt/xQGanttBarViewPort.h
+++ b/kgantt/kgantt/xQGanttBarViewPort.h
@@ -104,7 +104,7 @@ public:
/*!
*
*/
- xQGanttBarViewPort(KGanttItem* toplevelitem, xQGanttBarView* tqparent = 0,
+ xQGanttBarViewPort(KGanttItem* toplevelitem, xQGanttBarView* parent = 0,
const char * name=0, WFlags f=0 );
@@ -245,7 +245,7 @@ private:
// this will be set by setParentScrollView()
- xQGanttBarView* _tqparent;
+ xQGanttBarView* _parent;
int _grid, _snapgrid;
bool _drawGrid, _drawHeader;
diff --git a/kgantt/kgantt/xQGanttBarViewPort_Events.cpp b/kgantt/kgantt/xQGanttBarViewPort_Events.cpp
index ffd85d305..52f017e27 100644
--- a/kgantt/kgantt/xQGanttBarViewPort_Events.cpp
+++ b/kgantt/kgantt/xQGanttBarViewPort_Events.cpp
@@ -245,7 +245,7 @@ xQGanttBarViewPort::mouseReleaseEvent(TQMouseEvent* e)
double sys_width = fabs(x2 - x1);
- double mass = (_tqparent->visibleWidth()/ sys_width);
+ double mass = (_parent->visibleWidth()/ sys_width);
zoom(mass, (int) (x1+(x2-x1)/2), (int) (y1+(y2-y1)/2) );
diff --git a/kgantt/kgantt/xQGanttListView.cpp b/kgantt/kgantt/xQGanttListView.cpp
index f5a587dab..3f5f44c28 100644
--- a/kgantt/kgantt/xQGanttListView.cpp
+++ b/kgantt/kgantt/xQGanttListView.cpp
@@ -10,9 +10,9 @@
#include <tqcolor.h>
#include <klocale.h>
-xQGanttListView::xQGanttListView(KGanttItem* toplevelitem, TQWidget* tqparent,
+xQGanttListView::xQGanttListView(KGanttItem* toplevelitem, TQWidget* parent,
const char * name, WFlags f)
- : TQScrollView(tqparent,name,f)
+ : TQScrollView(parent,name,f)
/////////////////////////////////////////////////////////
{
_toplevelitem = toplevelitem;
diff --git a/kgantt/kgantt/xQGanttListView.h b/kgantt/kgantt/xQGanttListView.h
index fa0f973da..3842abe88 100644
--- a/kgantt/kgantt/xQGanttListView.h
+++ b/kgantt/kgantt/xQGanttListView.h
@@ -59,7 +59,7 @@ public:
/*!
*
*/
- xQGanttListView(KGanttItem* toplevelitem, TQWidget* tqparent = 0,
+ xQGanttListView(KGanttItem* toplevelitem, TQWidget* parent = 0,
const char * name=0, WFlags f=0 );
diff --git a/kgantt/kgantt/xQGanttListViewPort.cpp b/kgantt/kgantt/xQGanttListViewPort.cpp
index 2549c8807..d643fe8cb 100644
--- a/kgantt/kgantt/xQGanttListViewPort.cpp
+++ b/kgantt/kgantt/xQGanttListViewPort.cpp
@@ -13,9 +13,9 @@
int xQGanttListViewPort::_ListViewCounter = 0;
-xQGanttListViewPort::xQGanttListViewPort(KGanttItem* toplevelitem, TQWidget* tqparent,
+xQGanttListViewPort::xQGanttListViewPort(KGanttItem* toplevelitem, TQWidget* parent,
const char * name, WFlags f )
- : TQFrame(tqparent,name,f)
+ : TQFrame(parent,name,f)
{
_toplevelitem = toplevelitem;
diff --git a/kgantt/kgantt/xQGanttListViewPort.h b/kgantt/kgantt/xQGanttListViewPort.h
index a2e97ca3b..365b316ba 100644
--- a/kgantt/kgantt/xQGanttListViewPort.h
+++ b/kgantt/kgantt/xQGanttListViewPort.h
@@ -61,7 +61,7 @@ public:
/*!
*
*/
- xQGanttListViewPort(KGanttItem* toplevelitem, TQWidget* tqparent = 0,
+ xQGanttListViewPort(KGanttItem* toplevelitem, TQWidget* parent = 0,
const char * name=0, WFlags f=0 );