diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:16:01 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:16:01 -0600 |
commit | 9771f17f8cc5252b12ec5f3edf47ff9bffdf997f (patch) | |
tree | b9e389db87bdba126010d03fb5bccdc748d0e6fa /quanta/src/quantadoc.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/quantadoc.cpp')
-rw-r--r-- | quanta/src/quantadoc.cpp | 6 |
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))); } |