summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 18:11:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-03 19:23:45 +0900
commit0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch)
tree962f6ea26d1fab041fe3476fbbd64132ab8ada1b /lib/kofficeui
parentcb258b7e39ffa5662b57e7d9006e69172a378d7e (diff)
downloadkoffice-r14.1.4.tar.gz
koffice-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cf85b9c285a2b9baa87c9d0cb9d683b48e82a475)
Diffstat (limited to 'lib/kofficeui')
-rw-r--r--lib/kofficeui/KoPartSelectDia.cpp6
-rw-r--r--lib/kofficeui/KoTemplateChooseDia.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/kofficeui/KoPartSelectDia.cpp b/lib/kofficeui/KoPartSelectDia.cpp
index 8119ade35..6b124182a 100644
--- a/lib/kofficeui/KoPartSelectDia.cpp
+++ b/lib/kofficeui/KoPartSelectDia.cpp
@@ -30,13 +30,13 @@
****************************************************/
KoPartSelectDia::KoPartSelectDia( TQWidget* parent, const char* name ) :
- KDialogBase( parent, name, TRUE, i18n("Insert Object"), KDialogBase::Ok | KDialogBase::Cancel )
+ KDialogBase( parent, name, true, i18n("Insert Object"), KDialogBase::Ok | KDialogBase::Cancel )
{
listview = new TQListView( this );
listview->addColumn( i18n( "Object" ) );
listview->addColumn( i18n( "Comment" ) );
- listview->setAllColumnsShowFocus( TRUE );
- listview->setShowSortIndicator( TRUE );
+ listview->setAllColumnsShowFocus( true );
+ listview->setShowSortIndicator( true );
setMainWidget( listview );
connect( listview, TQ_SIGNAL( doubleClicked( TQListViewItem * ) ),
this, TQ_SLOT( slotOk() ) );
diff --git a/lib/kofficeui/KoTemplateChooseDia.cpp b/lib/kofficeui/KoTemplateChooseDia.cpp
index fa9b52cd6..a33087f3d 100644
--- a/lib/kofficeui/KoTemplateChooseDia.cpp
+++ b/lib/kofficeui/KoTemplateChooseDia.cpp
@@ -366,7 +366,7 @@ void KoTemplateChooseDia::setupFileDialog(TQWidget * widgetbase, TQGridLayout *
}
delete l;
- d->m_filedialog->setSizeGripEnabled ( FALSE );
+ d->m_filedialog->setSizeGripEnabled ( false );
TQStringList mimeFilter = KoFilterManager::mimeFilter( d->m_format, KoFilterManager::Import );
TQStringList::Iterator mimeFilterIt = mimeFilter.at( 1 );
@@ -810,7 +810,7 @@ void KoTCDRecentFilesIconView::showToolTip( TQIconViewItem* item )
toolTip->move(toolTip->x(), screen.bottom()-toolTip->y()-toolTip->height()+toolTip->y());
}
toolTip->setFont( TQToolTip::font() );
- toolTip->setPalette( TQToolTip::palette(), TRUE );
+ toolTip->setPalette( TQToolTip::palette(), true );
toolTip->show();
}