summaryrefslogtreecommitdiffstats
path: root/quanta/src/quantaview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/src/quantaview.cpp')
-rw-r--r--quanta/src/quantaview.cpp18
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();