summaryrefslogtreecommitdiffstats
path: root/kommander/editor/formsettingsimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/formsettingsimpl.cpp')
-rw-r--r--kommander/editor/formsettingsimpl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kommander/editor/formsettingsimpl.cpp b/kommander/editor/formsettingsimpl.cpp
index f3f7c3c2..9912634f 100644
--- a/kommander/editor/formsettingsimpl.cpp
+++ b/kommander/editor/formsettingsimpl.cpp
@@ -1,5 +1,5 @@
/**********************************************************************
- This file is based on Qt Designer, Copyright (C) 2000 Trolltech AS. All rights reserved.
+ This file is based on TQt Designer, Copyright (C) 2000 Trolltech AS. All rights reserved.
This file may be distributed and/or modified under the terms of the
GNU General Public License version 2 as published by the Free Software
@@ -27,16 +27,16 @@
#include <klineedit.h>
#include <tqspinbox.h>
-FormSettings::FormSettings( TQWidget *parent, FormWindow *fw )
- : FormSettingsBase( parent, 0, true ), formwindow( fw )
+FormSettings::FormSettings( TQWidget *tqparent, FormWindow *fw )
+ : FormSettingsBase( tqparent, 0, true ), formwindow( fw )
{
- MetaDataBase::MetaInfo info = MetaDataBase::metaInfo(fw);
+ MetaDataBase::MetaInfo info = MetaDataBase::metaInfo(TQT_TQOBJECT(fw));
editAuthor->setText(info.author);
editVersion->setText(info.version);
editLicense->setText(info.license);
editComment->setText(info.comment);
- spinSpacing->setValue(formwindow->layoutDefaultSpacing());
- spinMargin->setValue(formwindow->layoutDefaultMargin());
+ spinSpacing->setValue(formwindow->tqlayoutDefaultSpacing());
+ spinMargin->setValue(formwindow->tqlayoutDefaultMargin());
}
void FormSettings::okClicked()
@@ -46,7 +46,7 @@ void FormSettings::okClicked()
info.version = editVersion->text();
info.license = editLicense->text();
info.comment = editComment->text();
- MetaDataBase::setMetaInfo(formwindow, info);
+ MetaDataBase::setMetaInfo(TQT_TQOBJECT(formwindow), info);
formwindow->commandHistory()->setModified(true);
formwindow->setLayoutDefaultSpacing(spinSpacing->value());