summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:02:43 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /kugar/kudesigner
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kugar/kudesigner')
-rw-r--r--kugar/kudesigner/kudesigner_view.cpp28
-rw-r--r--kugar/kudesigner/kudesigner_view.h48
2 files changed, 38 insertions, 38 deletions
diff --git a/kugar/kudesigner/kudesigner_view.cpp b/kugar/kudesigner/kudesigner_view.cpp
index 991d8304..a4a35e38 100644
--- a/kugar/kudesigner/kudesigner_view.cpp
+++ b/kugar/kudesigner/kudesigner_view.cpp
@@ -182,45 +182,45 @@ void KudesignerView::initActions()
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 KAction( i18n( "Delete" ), "editdelete", 0, TQT_TQOBJECT(this),
+ deleteAction = new TDEAction( i18n( "Delete" ), "editdelete", 0, TQT_TQOBJECT(this),
TQT_SLOT( deleteItems() ), actionCollection(), "edit_delete" );
cutAction->setEnabled( false );
copyAction->setEnabled( false );
pasteAction->setEnabled( false );
// deleteAction->setEnabled(false);
- sectionsReportHeader = new KAction( i18n( "Report Header" ), "irh", 0, TQT_TQOBJECT(this),
+ sectionsReportHeader = new TDEAction( i18n( "Report Header" ), "irh", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddReportHeader() ), actionCollection(), "rheader" );
- sectionsReportFooter = new KAction( i18n( "Report Footer" ), "irf", 0, TQT_TQOBJECT(this),
+ sectionsReportFooter = new TDEAction( i18n( "Report Footer" ), "irf", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddReportFooter() ), actionCollection(), "rfooter" );
- sectionsPageHeader = new KAction( i18n( "Page Header" ), "iph", 0, TQT_TQOBJECT(this),
+ sectionsPageHeader = new TDEAction( i18n( "Page Header" ), "iph", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddPageHeader() ), actionCollection(), "pheader" );
- sectionsPageFooter = new KAction( i18n( "Page Footer" ), "ipf", 0, TQT_TQOBJECT(this),
+ sectionsPageFooter = new TDEAction( i18n( "Page Footer" ), "ipf", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddPageFooter() ), actionCollection(), "pfooter" );
- sectionsDetailHeader = new KAction( i18n( "Detail Header" ), "idh", 0, TQT_TQOBJECT(this),
+ sectionsDetailHeader = new TDEAction( i18n( "Detail Header" ), "idh", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddDetailHeader() ), actionCollection(), "dheader" );
- sectionsDetail = new KAction( i18n( "Detail" ), "id", 0, TQT_TQOBJECT(this),
+ sectionsDetail = new TDEAction( i18n( "Detail" ), "id", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddDetail() ), actionCollection(), "detail" );
- sectionsDetailFooter = new KAction( i18n( "Detail Footer" ), "idf", 0, TQT_TQOBJECT(this),
+ sectionsDetailFooter = new TDEAction( i18n( "Detail Footer" ), "idf", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddDetailFooter() ), actionCollection(), "dfooter" );
- itemsNothing = new KRadioAction( i18n( "Clear Selection" ), "frame_edit", 0, TQT_TQOBJECT(this),
+ itemsNothing = new TDERadioAction( i18n( "Clear Selection" ), "frame_edit", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddItemNothing() ), actionCollection(), "nothing" );
itemsNothing->setExclusiveGroup( "itemsToolBar" );
itemsNothing->setChecked( true );
- itemsLabel = new KRadioAction( i18n( "Label" ), "frame_text", 0, TQT_TQOBJECT(this),
+ itemsLabel = new TDERadioAction( i18n( "Label" ), "frame_text", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddItemLabel() ), actionCollection(), "label" );
itemsLabel->setExclusiveGroup( "itemsToolBar" );
- itemsField = new KRadioAction( i18n( "Field" ), "frame_field", 0, TQT_TQOBJECT(this),
+ itemsField = new TDERadioAction( i18n( "Field" ), "frame_field", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddItemField() ), actionCollection(), "field" );
itemsField->setExclusiveGroup( "itemsToolBar" );
- itemsSpecial = new KRadioAction( i18n( "Special Field" ), "frame_query", 0, TQT_TQOBJECT(this),
+ itemsSpecial = new TDERadioAction( i18n( "Special Field" ), "frame_query", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddItemSpecial() ), actionCollection(), "special" );
itemsSpecial->setExclusiveGroup( "itemsToolBar" );
- itemsCalculated = new KRadioAction( i18n( "Calculated Field" ), "frame_formula", 0, TQT_TQOBJECT(this),
+ itemsCalculated = new TDERadioAction( i18n( "Calculated Field" ), "frame_formula", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddItemCalculated() ), actionCollection(), "calcfield" );
itemsCalculated->setExclusiveGroup( "itemsToolBar" );
- itemsLine = new KRadioAction( i18n( "Line" ), "frame_chart", 0, TQT_TQOBJECT(this),
+ itemsLine = new TDERadioAction( i18n( "Line" ), "frame_chart", 0, TQT_TQOBJECT(this),
TQT_SLOT( slotAddItemLine() ), actionCollection(), "line" );
itemsLine->setExclusiveGroup( "itemsToolBar" );
diff --git a/kugar/kudesigner/kudesigner_view.h b/kugar/kudesigner/kudesigner_view.h
index 387996f5..8eafe0bb 100644
--- a/kugar/kudesigner/kudesigner_view.h
+++ b/kugar/kudesigner/kudesigner_view.h
@@ -33,8 +33,8 @@ class TQPaintEvent;
class TQDockWindow;
class TQToolBar;
-class KAction;
-class KRadioAction;
+class TDEAction;
+class TDERadioAction;
class KWidgetAction;
class KudesignerDoc;
@@ -108,34 +108,34 @@ private:
KudesignerDoc *m_doc;
- KAction* sectionsReportHeader;
- KAction* sectionsReportFooter;
- KAction* sectionsPageFooter;
- KAction* sectionsPageHeader;
- KAction* sectionsDetailHeader;
- KAction* sectionsDetail;
- KAction* sectionsDetailFooter;
-
- KRadioAction* itemsNothing;
- KRadioAction* itemsLabel;
- KRadioAction* itemsField;
- KRadioAction* itemsSpecial;
- KRadioAction* itemsCalculated;
- KRadioAction* itemsLine;
-
- KAction* cutAction;
- KAction* copyAction;
- KAction* pasteAction;
- KAction* selectAllAction;
- KAction* deleteAction;
+ TDEAction* sectionsReportHeader;
+ TDEAction* sectionsReportFooter;
+ TDEAction* sectionsPageFooter;
+ TDEAction* sectionsPageHeader;
+ TDEAction* sectionsDetailHeader;
+ TDEAction* sectionsDetail;
+ TDEAction* sectionsDetailFooter;
+
+ TDERadioAction* itemsNothing;
+ TDERadioAction* itemsLabel;
+ TDERadioAction* itemsField;
+ TDERadioAction* itemsSpecial;
+ TDERadioAction* itemsCalculated;
+ TDERadioAction* itemsLine;
+
+ TDEAction* cutAction;
+ TDEAction* copyAction;
+ TDEAction* pasteAction;
+ TDEAction* selectAllAction;
+ TDEAction* deleteAction;
KWidgetAction *gridActionLabel;
KWidgetAction *gridAction;
TQLabel *gridLabel;
TQSpinBox *gridBox;
- KActionCollection *itemsCollection;
- KActionCollection *sectionsCollection;
+ TDEActionCollection *itemsCollection;
+ TDEActionCollection *sectionsCollection;
};
#endif