summaryrefslogtreecommitdiffstats
path: root/kformula
diff options
context:
space:
mode:
Diffstat (limited to 'kformula')
-rw-r--r--kformula/formulastring.cpp10
-rw-r--r--kformula/formulastring.h2
-rw-r--r--kformula/kformula_doc.cpp2
3 files changed, 7 insertions, 7 deletions
diff --git a/kformula/formulastring.cpp b/kformula/formulastring.cpp
index 0d07634e3..58e246e3e 100644
--- a/kformula/formulastring.cpp
+++ b/kformula/formulastring.cpp
@@ -42,7 +42,7 @@ FormulaString::FormulaString( KFormulaPartView* parent, const char* name, bool m
setName( "FormulaString" );
resize( 511, 282 );
setCaption( i18n( "Formula String" ) );
- setSizeGripEnabled( TRUE );
+ setSizeGripEnabled( true );
TQVBoxLayout* FormulaStringLayout = new TQVBoxLayout( this, 11, 6, "FormulaStringLayout");
textWidget = new TQTextEdit( this, "textWidget" );
@@ -61,20 +61,20 @@ FormulaString::FormulaString( KFormulaPartView* parent, const char* name, bool m
buttonHelp = new KPushButton( KStdGuiItem::help(), this, "buttonHelp" );
buttonHelp->setAccel( 4144 );
- buttonHelp->setAutoDefault( TRUE );
+ buttonHelp->setAutoDefault( true );
Layout1->addWidget( buttonHelp );
spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
Layout1->addItem( spacer );
buttonOk = new KPushButton( KStdGuiItem::ok(), this, "buttonOk" );
buttonOk->setAccel( 0 );
- buttonOk->setAutoDefault( TRUE );
- buttonOk->setDefault( TRUE );
+ buttonOk->setAutoDefault( true );
+ buttonOk->setDefault( true );
Layout1->addWidget( buttonOk );
buttonCancel = new KPushButton( KStdGuiItem::cancel(), this, "buttonCancel" );
buttonCancel->setAccel( 0 );
- buttonCancel->setAutoDefault( TRUE );
+ buttonCancel->setAutoDefault( true );
Layout1->addWidget( buttonCancel );
FormulaStringLayout->addLayout( Layout1 );
diff --git a/kformula/formulastring.h b/kformula/formulastring.h
index 95dd3d2b3..5060916f4 100644
--- a/kformula/formulastring.h
+++ b/kformula/formulastring.h
@@ -38,7 +38,7 @@ class FormulaString : public TQDialog
public:
- FormulaString( KFormulaPartView* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ FormulaString( KFormulaPartView* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~FormulaString();
TQTextEdit* textWidget;
diff --git a/kformula/kformula_doc.cpp b/kformula/kformula_doc.cpp
index 2ce07d1f5..2a175f03c 100644
--- a/kformula/kformula_doc.cpp
+++ b/kformula/kformula_doc.cpp
@@ -209,7 +209,7 @@ void KFormulaDoc::documentRestored()
bool KFormulaDoc::initDoc(InitDocFlags /*flags*/, TQWidget* /*parentWidget*/)
{
// If nothing is loaded, do initialize here
- return TRUE;
+ return true;
}
void KFormulaDoc::showStartUpWidget(KoMainWindow* parent, bool /*alwaysShow*/)