summaryrefslogtreecommitdiffstats
path: root/src/flowcodeview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:04:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:04:33 -0600
commit9aa2a73641f4d386c9667ac946cebfabca872940 (patch)
tree9d6d443b7e100cbe48a8747207f7f2db1d42e141 /src/flowcodeview.cpp
parent0f2dc8b9f38b8cbb3cd1769173a4f3ed32a7a189 (diff)
downloadktechlab-9aa2a73641f4d386c9667ac946cebfabca872940.tar.gz
ktechlab-9aa2a73641f4d386c9667ac946cebfabca872940.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/flowcodeview.cpp')
-rw-r--r--src/flowcodeview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/flowcodeview.cpp b/src/flowcodeview.cpp
index 38af6ef..dc58a38 100644
--- a/src/flowcodeview.cpp
+++ b/src/flowcodeview.cpp
@@ -21,13 +21,13 @@
FlowCodeView::FlowCodeView( FlowCodeDocument * flowCodeDocument, ViewContainer *viewContainer, uint viewAreaId, const char *name )
: ICNView( flowCodeDocument, viewContainer, viewAreaId, name )
{
- KActionCollection * ac = actionCollection();
+ TDEActionCollection * ac = actionCollection();
//BEGIN Convert To * Actions
- KToolBarPopupAction * pa = new KToolBarPopupAction( i18n("Convert to ..."), "fork", 0, 0, 0, ac, "program_convert" );
+ TDEToolBarPopupAction * pa = new TDEToolBarPopupAction( i18n("Convert to ..."), "fork", 0, 0, 0, ac, "program_convert" );
pa->setDelayed(false);
- KPopupMenu * m = pa->popupMenu();
+ TDEPopupMenu * m = pa->popupMenu();
m->insertTitle( i18n("Convert to") );
m->insertItem( TDEGlobal::iconLoader()->loadIcon( "convert_to_microbe", KIcon::Small ), i18n("Microbe"), FlowCodeDocument::MicrobeOutput );
@@ -40,10 +40,10 @@ FlowCodeView::FlowCodeView( FlowCodeDocument * flowCodeDocument, ViewContainer *
-// new KAction( i18n("Convert to Microbe"), "convert_to_microbe", TQt::Key_F7, flowCodeDocument, TQT_SLOT(convertToMicrobe()), ac, "tools_to_microbe" );
-// new KAction( i18n("Convert to Assembly"), "convert_to_assembly", TQt::Key_F8, flowCodeDocument, TQT_SLOT(convertToAssembly()), ac, "tools_to_assembly" );
-// new KAction( i18n("Convert to Hex"), "convert_to_hex", TQt::Key_F9, flowCodeDocument, TQT_SLOT(convertToHex()), ac, "tools_to_hex" );
-// new KAction( i18n("Upload PIC Program"), "convert_to_pic", 0, flowCodeDocument, TQT_SLOT(convertToPIC()), ac, "tools_to_pic" );
+// new TDEAction( i18n("Convert to Microbe"), "convert_to_microbe", TQt::Key_F7, flowCodeDocument, TQT_SLOT(convertToMicrobe()), ac, "tools_to_microbe" );
+// new TDEAction( i18n("Convert to Assembly"), "convert_to_assembly", TQt::Key_F8, flowCodeDocument, TQT_SLOT(convertToAssembly()), ac, "tools_to_assembly" );
+// new TDEAction( i18n("Convert to Hex"), "convert_to_hex", TQt::Key_F9, flowCodeDocument, TQT_SLOT(convertToHex()), ac, "tools_to_hex" );
+// new TDEAction( i18n("Upload PIC Program"), "convert_to_pic", 0, flowCodeDocument, TQT_SLOT(convertToPIC()), ac, "tools_to_pic" );