summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/reports
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit7c71ab86d1f7e387fc3df63b48df07231f111862 (patch)
tree30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /kexi/plugins/reports
parentafbfdc507bfaafc8824a9808311d57a9ece87510 (diff)
downloadkoffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz
koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/plugins/reports')
-rw-r--r--kexi/plugins/reports/kexireportfactory.h2
-rw-r--r--kexi/plugins/reports/kexireportform.cpp10
-rw-r--r--kexi/plugins/reports/kexireportview.cpp6
-rw-r--r--kexi/plugins/reports/kexireportview.h2
-rw-r--r--kexi/plugins/reports/reportwidgets.cpp6
5 files changed, 13 insertions, 13 deletions
diff --git a/kexi/plugins/reports/kexireportfactory.h b/kexi/plugins/reports/kexireportfactory.h
index ab2ce7a1..1813fce7 100644
--- a/kexi/plugins/reports/kexireportfactory.h
+++ b/kexi/plugins/reports/kexireportfactory.h
@@ -42,7 +42,7 @@ class KexiReportFactory : public KFormDesigner::WidgetFactory
virtual bool previewWidget(const TQCString &, TQWidget *, KFormDesigner::Container *);
//virtual void saveSpecialProperty(const TQString &classname, const TQString &name, const TQVariant &value, TQWidget *w,
- //TQDomElement &tqparentNode, TQDomDocument &tqparent) {}
+ //TQDomElement &parentNode, TQDomDocument &tqparent) {}
//virtual void readSpecialProperty(const TQCString &classname, TQDomElement &node, TQWidget *w, KFormDesigner::ObjectTreeItem *item) {}
virtual TQValueList<TQCString> autoSaveProperties(const TQCString &classname);
diff --git a/kexi/plugins/reports/kexireportform.cpp b/kexi/plugins/reports/kexireportform.cpp
index 11c49c84..4e04beae 100644
--- a/kexi/plugins/reports/kexireportform.cpp
+++ b/kexi/plugins/reports/kexireportform.cpp
@@ -121,10 +121,10 @@ void
KexiReportForm::highlightWidgets(TQWidget *from, TQWidget *to)//, const TQPoint &point)
{
TQPoint fromPoint, toPoint;
- if(from && from->tqparentWidget() && (from != this))
- fromPoint = from->tqparentWidget()->mapTo(this, from->pos());
- if(to && to->tqparentWidget() && (to != this))
- toPoint = to->tqparentWidget()->mapTo(this, to->pos());
+ if(from && from->parentWidget() && (from != this))
+ fromPoint = from->parentWidget()->mapTo(this, from->pos());
+ if(to && to->parentWidget() && (to != this))
+ toPoint = to->parentWidget()->mapTo(this, to->pos());
TQPainter p;
p.begin(this, true);
@@ -144,7 +144,7 @@ KexiReportForm::highlightWidgets(TQWidget *from, TQWidget *to)//, const TQPoint
TQPixmap pix2 = TQPixmap::grabWidget(to);
if((from != this) && (to != this))
- p.drawLine( from->tqparentWidget()->mapTo(this, from->tqgeometry().center()), to->tqparentWidget()->mapTo(this, to->tqgeometry().center()) );
+ p.drawLine( from->parentWidget()->mapTo(this, from->tqgeometry().center()), to->parentWidget()->mapTo(this, to->tqgeometry().center()) );
p.drawPixmap(fromPoint.x(), fromPoint.y(), pix1);
p.drawPixmap(toPoint.x(), toPoint.y(), pix2);
diff --git a/kexi/plugins/reports/kexireportview.cpp b/kexi/plugins/reports/kexireportview.cpp
index 913a493e..403c0277 100644
--- a/kexi/plugins/reports/kexireportview.cpp
+++ b/kexi/plugins/reports/kexireportview.cpp
@@ -187,7 +187,7 @@ KexiReportView::initForm()
// Show the form wizard if this is a new Form
// KexiDB::FieldList *fields = 0;
- if(tqparentDialog()->id() < 0)
+ if(parentDialog()->id() < 0)
{
#ifndef NO_DSWIZARD
KexiDataSourceWizard *w = new KexiDataSourceWizard(mainWin(), (TQWidget*)mainWin(), "datasource_wizard");
@@ -220,7 +220,7 @@ KexiReportView::loadForm()
//@todo also load m_resizeMode !
- kexipluginsdbg << "KexiReportForm::loadForm() Loading the form with id : " << tqparentDialog()->id() << endl;
+ kexipluginsdbg << "KexiReportForm::loadForm() Loading the form with id : " << parentDialog()->id() << endl;
// If we are previewing the Form, use the tempData instead of the form stored in the db
if(viewMode()==Kexi::DataViewMode && !tempData()->tempForm.isNull() ) {
KFormDesigner::FormIO::loadFormFromString(form(), m_reportform, tempData()->tempForm);
@@ -322,7 +322,7 @@ tristate
KexiReportView::storeData(bool dontAsk)
{
Q_UNUSED(dontAsk)
- kexipluginsdbg << "KexiReportForm::storeData(): " << tqparentDialog()->partItem()->name() << " [" << tqparentDialog()->id() << "]" << endl;
+ kexipluginsdbg << "KexiReportForm::storeData(): " << parentDialog()->partItem()->name() << " [" << parentDialog()->id() << "]" << endl;
TQString data;
KFormDesigner::FormIO::saveFormToString(tempData()->form, data);
if (!storeDataBlock(data))
diff --git a/kexi/plugins/reports/kexireportview.h b/kexi/plugins/reports/kexireportview.h
index 02b4b48a..2b88c181 100644
--- a/kexi/plugins/reports/kexireportview.h
+++ b/kexi/plugins/reports/kexireportview.h
@@ -107,7 +107,7 @@ class KEXIREPORTUTILS_EXPORT KexiReportView : public KexiViewBase
virtual tristate storeData(bool dontAsk = false);
KexiReportPart::TempData* tempData() const {
- return static_cast<KexiReportPart::TempData*>(tqparentDialog()->tempData()); }
+ return static_cast<KexiReportPart::TempData*>(parentDialog()->tempData()); }
KexiReportPart* reportPart() const { return static_cast<KexiReportPart*>(part()); }
void disableWidgetActions();
diff --git a/kexi/plugins/reports/reportwidgets.cpp b/kexi/plugins/reports/reportwidgets.cpp
index 393beaad..c3ca65e4 100644
--- a/kexi/plugins/reports/reportwidgets.cpp
+++ b/kexi/plugins/reports/reportwidgets.cpp
@@ -145,16 +145,16 @@ KexiSubReport::setReportName(const TQString &name)
return;
// we need a KexiReportView*
- TQWidget *w = tqparentWidget();
+ TQWidget *w = parentWidget();
while(w && !w->isA("KexiReportView"))
- w = w->tqparentWidget();
+ w = w->parentWidget();
KexiReportView *view = (KexiReportView*)w;
if(!view)
return;
// we check if there is a form with this name
int id = KexiDB::idForObjectName(*(view->connection()), name, KexiPart::ReportObjectType);
- if((id == 0) || (id == view->tqparentDialog()->id())) // == our form
+ if((id == 0) || (id == view->parentDialog()->id())) // == our form
return; // because of recursion when loading
// we create the container widget