summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoCustomVariablesDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoCustomVariablesDia.cpp')
-rw-r--r--lib/kotext/KoCustomVariablesDia.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kotext/KoCustomVariablesDia.cpp b/lib/kotext/KoCustomVariablesDia.cpp
index 41c2f5df7..ff18a1d41 100644
--- a/lib/kotext/KoCustomVariablesDia.cpp
+++ b/lib/kotext/KoCustomVariablesDia.cpp
@@ -38,14 +38,14 @@
******************************************************************/
KoVariableNameDia::KoVariableNameDia( TQWidget *parent )
- : KDialogBase( parent, "", TRUE,i18n( "Entry Name" ),Ok|Cancel )
+ : KDialogBase( parent, "", true,i18n( "Entry Name" ),Ok|Cancel )
{
init();
}
KoVariableNameDia::KoVariableNameDia( TQWidget *parent, const TQPtrList<KoVariable>& vars )
- : KDialogBase( parent, "", TRUE, i18n( "Variable Name" ), Ok|Cancel )
+ : KDialogBase( parent, "", true, i18n( "Variable Name" ), Ok|Cancel )
{
init();
@@ -68,7 +68,7 @@ void KoVariableNameDia::init()
TQLabel *l = new TQLabel( i18n( "Name:" ), row1 );
l->setFixedSize( l->sizeHint() );
- names = new TQComboBox( TRUE, row1 );
+ names = new TQComboBox( true, row1 );
names->setFocus();
connect( names, TQ_SIGNAL( textChanged ( const TQString & )),
@@ -161,7 +161,7 @@ int KoCustomVariablesListItem::width( const TQFontMetrics & fm, const TQListView
KoCustomVariablesList::KoCustomVariablesList( TQWidget *parent )
: TDEListView( parent )
{
- header()->setMovingEnabled( FALSE );
+ header()->setMovingEnabled( false );
addColumn( i18n( "Variable" ) );
addColumn( i18n( "Value" ) );
connect( header(), TQ_SIGNAL( sizeChange( int, int, int ) ),
@@ -205,7 +205,7 @@ void KoCustomVariablesList::updateItems()
******************************************************************/
KoCustomVariablesDia::KoCustomVariablesDia( TQWidget *parent, const TQPtrList<KoVariable> &variables )
- : KDialogBase( parent, "", TRUE,i18n( "Variable Value Editor" ), Ok|Cancel )
+ : KDialogBase( parent, "", true,i18n( "Variable Value Editor" ), Ok|Cancel )
{
back = makeVBoxMainWidget();
@@ -249,7 +249,7 @@ void KoCustomVariablesDia::slotOk()
******************************************************************/
KoCustomVarDialog::KoCustomVarDialog( TQWidget *parent )
- : KDialogBase( parent, "", TRUE,i18n( "Add Variable" ), Ok|Cancel )
+ : KDialogBase( parent, "", true,i18n( "Add Variable" ), Ok|Cancel )
{
init();
m_name->setFocus();
@@ -269,7 +269,7 @@ KoCustomVarDialog::KoCustomVarDialog( TQWidget *parent )
}
// edit existing variable
KoCustomVarDialog::KoCustomVarDialog( TQWidget *parent, KoCustomVariable *var )
- : KDialogBase( parent, "", TRUE,i18n( "Edit Variable" ), Ok|Cancel )
+ : KDialogBase( parent, "", true,i18n( "Edit Variable" ), Ok|Cancel )
{
m_var = var;
init();