summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/factories/containerfactory.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kexi/formeditor/factories/containerfactory.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kexi/formeditor/factories/containerfactory.cpp')
-rw-r--r--kexi/formeditor/factories/containerfactory.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/formeditor/factories/containerfactory.cpp b/kexi/formeditor/factories/containerfactory.cpp
index acc72c24..2e30d5f4 100644
--- a/kexi/formeditor/factories/containerfactory.cpp
+++ b/kexi/formeditor/factories/containerfactory.cpp
@@ -73,7 +73,7 @@ ContainerWidget::~ContainerWidget()
{
}
-TQSize ContainerWidget::tqsizeHint() const
+TQSize ContainerWidget::sizeHint() const
{
return TQSize(30,30); //default
}
@@ -125,7 +125,7 @@ KFDTabWidget::~KFDTabWidget()
}
TQSize
-KFDTabWidget::tqsizeHint() const
+KFDTabWidget::sizeHint() const
{
TQSize s(30,30); // default min size
for(int i=0; i < count(); i++)
@@ -218,10 +218,10 @@ VFlow::paintEvent(TQPaintEvent *)
}
TQSize
-VFlow::tqsizeHint() const
+VFlow::sizeHint() const
{
if(tqlayout())
- return tqlayout()->tqsizeHint();
+ return tqlayout()->sizeHint();
else
return TQSize(700, 50); // default
}
@@ -318,7 +318,7 @@ SubForm::SubForm(TQWidget *parent, const char *name)
: TQScrollView(parent, name), m_form(0), m_widget(0)
{
setFrameStyle(TQFrame::WinPanel | TQFrame::Sunken);
- viewport()->setPaletteBackgroundColor(tqcolorGroup().mid());
+ viewport()->setPaletteBackgroundColor(colorGroup().mid());
}
void
@@ -860,7 +860,7 @@ void ContainerFactory::renameTabPage()
#if TDE_VERSION < KDE_MAKE_VERSION(3,1,9)
TQLineEdit::Normal,
#endif
- tab->tabLabel(w), &ok, w->tqtopLevelWidget());
+ tab->tabLabel(w), &ok, w->topLevelWidget());
if(ok)
tab->changeTab(w, name);
}