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 /quanta/src/quantaview.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 'quanta/src/quantaview.cpp')
-rw-r--r-- | quanta/src/quantaview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/quanta/src/quantaview.cpp b/quanta/src/quantaview.cpp index 5e939222..d214bab6 100644 --- a/quanta/src/quantaview.cpp +++ b/quanta/src/quantaview.cpp @@ -356,7 +356,7 @@ void QuantaView::slotSetSourceLayout() if(m_currentViewsLayout == SourceAndVPL) m_splitterSizes = m_splitter->sizes(); - KToggleAction *ta = (KToggleAction *) quantaApp->actionCollection()->action( "show_quanta_editor" ); + TDEToggleAction *ta = (TDEToggleAction *) quantaApp->actionCollection()->action( "show_quanta_editor" ); if (ta) ta->setChecked(true); @@ -391,12 +391,12 @@ void QuantaView::slotSetSourceAndVPLLayout() if (m_currentViewsLayout == SourceAndVPL || !m_document) return; - KToggleAction *ta = (KToggleAction *) quantaApp->actionCollection()->action( "show_kafka_and_quanta" ); + TDEToggleAction *ta = (TDEToggleAction *) quantaApp->actionCollection()->action( "show_kafka_and_quanta" ); if (m_document->defaultDTD()->name.contains("HTML", false) == 0) { KMessageBox::information(this, i18n("The VPL Mode does not support the current DTD, at the moment: %1").arg(m_document->defaultDTD()->nickName)); - KToggleAction *ta2 = (KToggleAction *) quantaApp->actionCollection()->action( "show_quanta_editor" ); + TDEToggleAction *ta2 = (TDEToggleAction *) quantaApp->actionCollection()->action( "show_quanta_editor" ); if (ta2) ta2->setChecked(true); return; @@ -440,12 +440,12 @@ void QuantaView::slotSetVPLOnlyLayout() if(m_currentViewsLayout == SourceAndVPL) m_splitterSizes = m_splitter->sizes(); - KToggleAction *ta = (KToggleAction *) quantaApp->actionCollection()->action( "show_kafka_view" ); + TDEToggleAction *ta = (TDEToggleAction *) quantaApp->actionCollection()->action( "show_kafka_view" ); if (m_document->defaultDTD()->name.contains("HTML", false) == 0) { KMessageBox::information(this, i18n("The VPL Mode does not support the current DTD, at the moment: %1").arg(m_document->defaultDTD()->nickName)); - KToggleAction *ta2 = (KToggleAction *) quantaApp->actionCollection()->action( "show_quanta_editor" ); + TDEToggleAction *ta2 = (TDEToggleAction *) quantaApp->actionCollection()->action( "show_quanta_editor" ); if (ta2) ta2->setChecked(true); return; @@ -502,7 +502,7 @@ void QuantaView::slotVPLGetFocus(bool focus) kdDebug(25001)<< "slotVPLGetFocus(" << focus << ")" << endl; #endif int contentsX, contentsY; - KAction *action; + TDEAction *action; if(focus) { @@ -570,7 +570,7 @@ void QuantaView::slotSourceGetFocus() #ifdef LIGHT_DEBUG kdDebug(25001)<< "slotSourceGetFocus(true)" << endl; #endif - KAction *action; + TDEAction *action; quantaApp->partManager()->setActivePart(m_document->doc(), m_document->view()); //We reload the quanta view from the Node Tree. @@ -1027,11 +1027,11 @@ void QuantaView::activated() //TEMP : If the activated document is not a (X)HTML document, disable smartTagInsertion //Will be removed when VPL will support every DTD - KAction *action = quantaApp->actionCollection()->action("smart_tag_insertion"); + TDEAction *action = quantaApp->actionCollection()->action("smart_tag_insertion"); if(action && m_document->defaultDTD()->name.contains("HTML", false) == 0) { qConfig.smartTagInsertion = false; - (static_cast<KToggleAction* >(action))->setChecked(false); + (static_cast<TDEToggleAction* >(action))->setChecked(false); } reloadLayout(); |