summaryrefslogtreecommitdiffstats
path: root/quanta/src/quantadoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/src/quantadoc.cpp')
-rw-r--r--quanta/src/quantadoc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/src/quantadoc.cpp b/quanta/src/quantadoc.cpp
index eb463cf6..61a6db43 100644
--- a/quanta/src/quantadoc.cpp
+++ b/quanta/src/quantadoc.cpp
@@ -80,7 +80,7 @@ QuantaDoc::QuantaDoc(TQWidget *parent, const char *name) : TQObject(parent, name
{
fileWatcher = new KDirWatch(this);
- attribMenu = new KPopupMenu();
+ attribMenu = new TDEPopupMenu();
attribMenu->insertTitle(i18n("Tag"));
connect( attribMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotInsertAttrib(int)));
}
@@ -165,7 +165,7 @@ void QuantaDoc::openDocument(const KURL& urlToOpen, const TQString &a_encoding,
if (readOnly)
{
//might work only with Kate part
- KAction *writeLockAction = w->view()->actionCollection()->action("tools_toggle_write_lock");
+ TDEAction *writeLockAction = w->view()->actionCollection()->action("tools_toggle_write_lock");
if (writeLockAction)
writeLockAction->activate();
}
@@ -365,7 +365,7 @@ void QuantaDoc::slotInsertAttrib( int id )
}
delete attribMenu;
- attribMenu = new KPopupMenu();
+ attribMenu = new TDEPopupMenu();
attribMenu->insertTitle(i18n("Tag"));
connect( attribMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotInsertAttrib(int)));
}