summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner/kudesigner_view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/kudesigner/kudesigner_view.cpp')
-rw-r--r--kugar/kudesigner/kudesigner_view.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kugar/kudesigner/kudesigner_view.cpp b/kugar/kudesigner/kudesigner_view.cpp
index c1623518f..83d150e11 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" );
}