diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:16:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:16:01 -0600 |
commit | 9771f17f8cc5252b12ec5f3edf47ff9bffdf997f (patch) | |
tree | b9e389db87bdba126010d03fb5bccdc748d0e6fa /kommander/editor/assoctexteditorimpl.cpp | |
parent | 9930e16dde86b7de9b792613d826f4f8648b9768 (diff) | |
download | tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.tar.gz tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kommander/editor/assoctexteditorimpl.cpp')
-rw-r--r-- | kommander/editor/assoctexteditorimpl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/editor/assoctexteditorimpl.cpp b/kommander/editor/assoctexteditorimpl.cpp index 9fbfe938..f02b779c 100644 --- a/kommander/editor/assoctexteditorimpl.cpp +++ b/kommander/editor/assoctexteditorimpl.cpp @@ -96,8 +96,8 @@ AssocTextEditor::AssocTextEditor(TQWidget *a_widget, FormWindow* a_form, partManager->addPart(doc, true); //trick to import all the KatePart actions into the dialog - KPopupMenu *invisiblePopup = new KPopupMenu(this); - KActionCollection *ac = view->actionCollection(); + TDEPopupMenu *invisiblePopup = new TDEPopupMenu(this); + TDEActionCollection *ac = view->actionCollection(); uint count = ac->count(); for (uint i = 0; i < count; i++) { @@ -105,8 +105,8 @@ AssocTextEditor::AssocTextEditor(TQWidget *a_widget, FormWindow* a_form, } //add those KatePart actions to a popup menu that are important - KPopupMenu *popup = new KPopupMenu(this); - KAction *a = view->actionCollection()->action("edit_undo"); + TDEPopupMenu *popup = new TDEPopupMenu(this); + TDEAction *a = view->actionCollection()->action("edit_undo"); if (a) a->plug(popup); a = view->actionCollection()->action("edit_redo"); @@ -137,7 +137,7 @@ AssocTextEditor::AssocTextEditor(TQWidget *a_widget, FormWindow* a_form, a->plug(popup); readOnlyAction = view->actionCollection()->action("tools_toggle_write_lock"); popup->insertSeparator(); - highlightPopup = new KPopupMenu(popup); + highlightPopup = new TDEPopupMenu(popup); connect(highlightPopup, TQT_SIGNAL(activated(int)), TQT_SLOT(slotHighlightingChanged(int))); popup->insertItem(i18n("&Highlighting"), highlightPopup); |