summaryrefslogtreecommitdiffstats
path: root/kivio
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 /kivio
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 'kivio')
-rw-r--r--kivio/kiviopart/kivio_icon_view.cpp8
-rw-r--r--kivio/kiviopart/kivio_view.cpp4
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_layers.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/kivio/kiviopart/kivio_icon_view.cpp b/kivio/kiviopart/kivio_icon_view.cpp
index 6e8e6b213..d9333bf3c 100644
--- a/kivio/kiviopart/kivio_icon_view.cpp
+++ b/kivio/kiviopart/kivio_icon_view.cpp
@@ -160,12 +160,12 @@ TQDragObject *KivioIconView::dragObject()
id.setData( TQCString(full.ascii()));
drag->append( id,
- TQRect( item->pixmapRect(FALSE).x() - orig.x(),
- item->pixmapRect(FALSE).y() - orig.y(),
+ TQRect( item->pixmapRect(false).x() - orig.x(),
+ item->pixmapRect(false).y() - orig.y(),
item->pixmapRect().width(),
item->pixmapRect().height() ),
- TQRect( item->textRect(FALSE).x() - orig.x(),
- item->textRect(FALSE).y() - orig.y(),
+ TQRect( item->textRect(false).x() - orig.x(),
+ item->textRect(false).y() - orig.y(),
item->textRect().width(),
item->textRect().height() ),
*(item->spawner()) );
diff --git a/kivio/kiviopart/kivio_view.cpp b/kivio/kiviopart/kivio_view.cpp
index 2c72e77d4..ed6201f4f 100644
--- a/kivio/kiviopart/kivio_view.cpp
+++ b/kivio/kiviopart/kivio_view.cpp
@@ -450,7 +450,7 @@ void KivioView::setupActions()
this, TQ_SLOT( textAlignCenter() ),
actionCollection(), "textAlignCenter" );
m_textAlignCenter->setExclusiveGroup( "align" );
- m_textAlignCenter->setChecked( TRUE );
+ m_textAlignCenter->setChecked( true );
m_textAlignRight = new TDEToggleAction( i18n( "Align &Right" ), "format-text-direction-rtl", CTRL + ALT + Key_R,
this, TQ_SLOT( textAlignRight() ),
actionCollection(), "textAlignRight" );
@@ -847,7 +847,7 @@ int KivioView::canvasYOffset() const
void KivioView::print(KPrinter& ptr)
{
- ptr.setFullPage(TRUE);
+ ptr.setFullPage(true);
m_pDoc->printContent( ptr );
}
diff --git a/kivio/kiviopart/kiviosdk/kivio_layers.h b/kivio/kiviopart/kiviosdk/kivio_layers.h
index 0cb3e4175..8d0471e66 100644
--- a/kivio/kiviopart/kiviosdk/kivio_layers.h
+++ b/kivio/kiviopart/kiviosdk/kivio_layers.h
@@ -29,7 +29,7 @@
void insertLayer( int i, KivioLayer *l ) { page->insertLayer(i,l); }
KivioLayer *layerAt( int i ) { return page->layerAt(i); }
- bool addStencil( KivioStencil *s ) { page->addStencil(s); return TRUE; }
+ bool addStencil( KivioStencil *s ) { page->addStencil(s); return true; }
void deleteSelectedStencils() { page->deleteSelectedStencils(); }
void groupSelectedStencils() { page->groupSelectedStencils(); }