diff options
author | Michele Calgaro <[email protected]> | 2023-12-14 21:19:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-15 00:43:41 +0900 |
commit | 3aab8aa05b954b80e336517f93463a9b5f50f3d6 (patch) | |
tree | be6bb581b1cb695d388cb4be10282514bb067401 /kugar/kudesigner | |
parent | fb6b4d204d1155fa3a1bc7a128873340db1524f7 (diff) | |
download | koffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.tar.gz koffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kugar/kudesigner')
-rw-r--r-- | kugar/kudesigner/kudesigner_view.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kugar/kudesigner/kudesigner_view.cpp b/kugar/kudesigner/kudesigner_view.cpp index c1623518..83d150e1 100644 --- a/kugar/kudesigner/kudesigner_view.cpp +++ b/kugar/kudesigner/kudesigner_view.cpp @@ -178,56 +178,56 @@ void KudesignerView::resizeEvent( TQResizeEvent* /*_ev*/ ) void KudesignerView::initActions() { - cutAction = KStdAction::cut( TQT_TQOBJECT(this), TQT_SLOT( cut() ), actionCollection() ); - copyAction = KStdAction::copy( TQT_TQOBJECT(this), TQT_SLOT( copy() ), actionCollection() ); - pasteAction = KStdAction::paste( TQT_TQOBJECT(this), TQT_SLOT( paste() ), actionCollection() ); - selectAllAction = KStdAction::selectAll( TQT_TQOBJECT(this), TQT_SLOT( selectAll() ), actionCollection() ); - deleteAction = new TDEAction( i18n( "Delete" ), "edit-delete", 0, TQT_TQOBJECT(this), + cutAction = KStdAction::cut( this, TQT_SLOT( cut() ), actionCollection() ); + copyAction = KStdAction::copy( this, TQT_SLOT( copy() ), actionCollection() ); + pasteAction = KStdAction::paste( this, TQT_SLOT( paste() ), actionCollection() ); + selectAllAction = KStdAction::selectAll( this, TQT_SLOT( selectAll() ), actionCollection() ); + deleteAction = new TDEAction( i18n( "Delete" ), "edit-delete", 0, this, TQT_SLOT( deleteItems() ), actionCollection(), "edit_delete" ); cutAction->setEnabled( false ); copyAction->setEnabled( false ); pasteAction->setEnabled( false ); // deleteAction->setEnabled(false); - sectionsReportHeader = new TDEAction( i18n( "Report Header" ), "irh", 0, TQT_TQOBJECT(this), + sectionsReportHeader = new TDEAction( i18n( "Report Header" ), "irh", 0, this, TQT_SLOT( slotAddReportHeader() ), actionCollection(), "rheader" ); - sectionsReportFooter = new TDEAction( i18n( "Report Footer" ), "irf", 0, TQT_TQOBJECT(this), + sectionsReportFooter = new TDEAction( i18n( "Report Footer" ), "irf", 0, this, TQT_SLOT( slotAddReportFooter() ), actionCollection(), "rfooter" ); - sectionsPageHeader = new TDEAction( i18n( "Page Header" ), "iph", 0, TQT_TQOBJECT(this), + sectionsPageHeader = new TDEAction( i18n( "Page Header" ), "iph", 0, this, TQT_SLOT( slotAddPageHeader() ), actionCollection(), "pheader" ); - sectionsPageFooter = new TDEAction( i18n( "Page Footer" ), "ipf", 0, TQT_TQOBJECT(this), + sectionsPageFooter = new TDEAction( i18n( "Page Footer" ), "ipf", 0, this, TQT_SLOT( slotAddPageFooter() ), actionCollection(), "pfooter" ); - sectionsDetailHeader = new TDEAction( i18n( "Detail Header" ), "idh", 0, TQT_TQOBJECT(this), + sectionsDetailHeader = new TDEAction( i18n( "Detail Header" ), "idh", 0, this, TQT_SLOT( slotAddDetailHeader() ), actionCollection(), "dheader" ); - sectionsDetail = new TDEAction( i18n( "Detail" ), "id", 0, TQT_TQOBJECT(this), + sectionsDetail = new TDEAction( i18n( "Detail" ), "id", 0, this, TQT_SLOT( slotAddDetail() ), actionCollection(), "detail" ); - sectionsDetailFooter = new TDEAction( i18n( "Detail Footer" ), "idf", 0, TQT_TQOBJECT(this), + sectionsDetailFooter = new TDEAction( i18n( "Detail Footer" ), "idf", 0, this, TQT_SLOT( slotAddDetailFooter() ), actionCollection(), "dfooter" ); - itemsNothing = new TDERadioAction( i18n( "Clear Selection" ), "frame_edit", 0, TQT_TQOBJECT(this), + itemsNothing = new TDERadioAction( i18n( "Clear Selection" ), "frame_edit", 0, this, TQT_SLOT( slotAddItemNothing() ), actionCollection(), "nothing" ); itemsNothing->setExclusiveGroup( "itemsToolBar" ); itemsNothing->setChecked( true ); - itemsLabel = new TDERadioAction( i18n( "Label" ), "frame_text", 0, TQT_TQOBJECT(this), + itemsLabel = new TDERadioAction( i18n( "Label" ), "frame_text", 0, this, TQT_SLOT( slotAddItemLabel() ), actionCollection(), "label" ); itemsLabel->setExclusiveGroup( "itemsToolBar" ); - itemsField = new TDERadioAction( i18n( "Field" ), "frame_field", 0, TQT_TQOBJECT(this), + itemsField = new TDERadioAction( i18n( "Field" ), "frame_field", 0, this, TQT_SLOT( slotAddItemField() ), actionCollection(), "field" ); itemsField->setExclusiveGroup( "itemsToolBar" ); - itemsSpecial = new TDERadioAction( i18n( "Special Field" ), "frame_query", 0, TQT_TQOBJECT(this), + itemsSpecial = new TDERadioAction( i18n( "Special Field" ), "frame_query", 0, this, TQT_SLOT( slotAddItemSpecial() ), actionCollection(), "special" ); itemsSpecial->setExclusiveGroup( "itemsToolBar" ); - itemsCalculated = new TDERadioAction( i18n( "Calculated Field" ), "frame_formula", 0, TQT_TQOBJECT(this), + itemsCalculated = new TDERadioAction( i18n( "Calculated Field" ), "frame_formula", 0, this, TQT_SLOT( slotAddItemCalculated() ), actionCollection(), "calcfield" ); itemsCalculated->setExclusiveGroup( "itemsToolBar" ); - itemsLine = new TDERadioAction( i18n( "Line" ), "frame_chart", 0, TQT_TQOBJECT(this), + itemsLine = new TDERadioAction( i18n( "Line" ), "frame_chart", 0, this, TQT_SLOT( slotAddItemLine() ), actionCollection(), "line" ); itemsLine->setExclusiveGroup( "itemsToolBar" ); - gridActionLabel = new KWidgetAction( gridLabel, i18n( "Grid Label" ), 0, TQT_TQOBJECT(this), + gridActionLabel = new KWidgetAction( gridLabel, i18n( "Grid Label" ), 0, this, 0, actionCollection(), "gridlabel" ); - gridAction = new KWidgetAction( gridBox, i18n( "Grid Size" ), 0, TQT_TQOBJECT(this), + gridAction = new KWidgetAction( gridBox, i18n( "Grid Size" ), 0, this, 0, actionCollection(), "gridaction" ); } |