summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/linguist/linguist/trwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/linguist/linguist/trwindow.cpp')
-rw-r--r--tqtinterface/qt4/tools/linguist/linguist/trwindow.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tqtinterface/qt4/tools/linguist/linguist/trwindow.cpp b/tqtinterface/qt4/tools/linguist/linguist/trwindow.cpp
index 564845f..a198f64 100644
--- a/tqtinterface/qt4/tools/linguist/linguist/trwindow.cpp
+++ b/tqtinterface/qt4/tools/linguist/linguist/trwindow.cpp
@@ -176,7 +176,7 @@ public:
Action::Action( TQPopupMenu *pop, const TQString& menuText, TQObject *receiver,
const char *member, const TQString &imageName, int accel,
bool toggle )
- : TQAction( pop->tqparent(), (const char *) 0, toggle )
+ : TQAction( pop->parent(), (const char *) 0, toggle )
{
setMenuText( menuText );
setAccel( accel );
@@ -196,7 +196,7 @@ Action::Action( TQPopupMenu *pop, const TQString& menuText, TQObject *receiver,
Action::Action( TQPopupMenu *pop, const TQString& menuText, int accel,
bool toggle )
- : TQAction( pop->tqparent(), (const char *) 0, toggle )
+ : TQAction( pop->parent(), (const char *) 0, toggle )
{
TQAction::addTo( pop );
setMenuText( menuText );
@@ -1871,7 +1871,7 @@ void TrWindow::readConfig()
}
TQDockWindow * dw;
- dw = (TQDockWindow *) lv->tqparent();
+ dw = (TQDockWindow *) lv->parent();
int place;
place = config.readNumEntry( keybase + "Geometry/ContextwindowInTQt::Dock" );
r.setX( config.readNumEntry( keybase + "Geometry/ContextwindowX" ) );
@@ -1886,7 +1886,7 @@ void TrWindow::readConfig()
}
dw->setGeometry( r );
- dw = (TQDockWindow *) slv->tqparent();
+ dw = (TQDockWindow *) slv->parent();
place = config.readNumEntry( keybase + "Geometry/SourcewindowInTQt::Dock" );
r.setX( config.readNumEntry( keybase + "Geometry/SourcewindowX" ) );
r.setY( config.readNumEntry( keybase + "Geometry/SourcewindowY" ) );
@@ -1900,7 +1900,7 @@ void TrWindow::readConfig()
}
dw->setGeometry( r );
- dw = (TQDockWindow *) plv->tqparent()->tqparent();
+ dw = (TQDockWindow *) plv->parent()->parent();
place = config.readNumEntry( keybase + "Geometry/PhrasewindowInTQt::Dock" );
r.setX( config.readNumEntry( keybase + "Geometry/PhrasewindowX" ) );
r.setY( config.readNumEntry( keybase + "Geometry/PhrasewindowY" ) );
@@ -1931,14 +1931,14 @@ void TrWindow::writeConfig()
config.writeEntry( keybase + "Geometry/MainwindowWidth", width() );
config.writeEntry( keybase + "Geometry/MainwindowHeight", height() );
- TQDockWindow * dw =(TQDockWindow *) lv->tqparent();
+ TQDockWindow * dw =(TQDockWindow *) lv->parent();
config.writeEntry( keybase + "Geometry/ContextwindowInTQt::Dock", dw->place() );
config.writeEntry( keybase + "Geometry/ContextwindowX", dw->x() );
config.writeEntry( keybase + "Geometry/ContextwindowY", dw->y() );
config.writeEntry( keybase + "Geometry/ContextwindowWidth", dw->width() );
config.writeEntry( keybase + "Geometry/ContextwindowHeight", dw->height() );
- dw =(TQDockWindow *) slv->tqparent();
+ dw =(TQDockWindow *) slv->parent();
config.writeEntry( keybase + "Geometry/SourcewindowInTQt::Dock",
dw->place() );
config.writeEntry( keybase + "Geometry/SourcewindowX", dw->tqgeometry().x() );
@@ -1946,7 +1946,7 @@ void TrWindow::writeConfig()
config.writeEntry( keybase + "Geometry/SourcewindowWidth", dw->width() );
config.writeEntry( keybase + "Geometry/SourcewindowHeight", dw->height() );
- dw =(TQDockWindow *) plv->tqparent()->tqparent();
+ dw =(TQDockWindow *) plv->parent()->parent();
config.writeEntry( keybase + "Geometry/PhrasewindowInTQt::Dock",
dw->place() );
config.writeEntry( keybase + "Geometry/PhrasewindowX", dw->tqgeometry().x() );