summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kbabel/commonui/projectprefwidgets.cpp2
-rw-r--r--kompare/komparepart/komparesplitter.cpp2
-rw-r--r--kompare/libdialogpages/pagebase.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kbabel/commonui/projectprefwidgets.cpp b/kbabel/commonui/projectprefwidgets.cpp
index 724ea538..ad58cc01 100644
--- a/kbabel/commonui/projectprefwidgets.cpp
+++ b/kbabel/commonui/projectprefwidgets.cpp
@@ -109,7 +109,7 @@ static TQSize sizeHintForWidget(const TQWidget* widget)
if( numChild > 0 )
{
- size.setHeight( size.height() + widget->tqlayout()->spacing()*(numChild-1) );
+ size.setHeight( size.height() + widget->layout()->spacing()*(numChild-1) );
size += TQSize( widget->layout()->margin()*2, widget->layout()->margin()*2 + 1 );
}
else
diff --git a/kompare/komparepart/komparesplitter.cpp b/kompare/komparepart/komparesplitter.cpp
index 7cf9d543..14fd6e96 100644
--- a/kompare/komparepart/komparesplitter.cpp
+++ b/kompare/komparepart/komparesplitter.cpp
@@ -184,7 +184,7 @@ void KompareSplitter::childEvent( TQChildEvent *c )
}
}
-// This is from a private qt header (kernel/qtqlayoutengine_p.h). sorry.
+// This is from a private qt header (kernel/qlayoutengine_p.h). sorry.
TQSize qSmartMinSize( TQWidget *w );
static TQPoint toggle( TQWidget *w, TQPoint pos )
diff --git a/kompare/libdialogpages/pagebase.cpp b/kompare/libdialogpages/pagebase.cpp
index 3e9708cf..4bf5cde0 100644
--- a/kompare/libdialogpages/pagebase.cpp
+++ b/kompare/libdialogpages/pagebase.cpp
@@ -72,7 +72,7 @@ TQSize PageBase::sizeHintForWidget( TQWidget* widget )
if( numChild > 0 )
{
- size.setHeight( size.height() + widget->tqlayout()->spacing()*(numChild-1) );
+ size.setHeight( size.height() + widget->layout()->spacing()*(numChild-1) );
size += TQSize( widget->layout()->margin()*2, widget->layout()->margin()*2 + 1 );
}
else