diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-18 16:43:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-20 13:18:04 +0900 |
commit | 4a6f4a17320917d60610036649b6192289c3f4a5 (patch) | |
tree | 27f568667018288fd8ba55ba98f8266867104db2 /kate/app | |
parent | 06606d2ade0b66ab64cee3da0ac9792f55359121 (diff) | |
download | tdebase-4a6f4a17320917d60610036649b6192289c3f4a5.tar.gz tdebase-4a6f4a17320917d60610036649b6192289c3f4a5.zip |
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8f924d271a4771b8046697fefd778d895a54d93d)
Diffstat (limited to 'kate/app')
-rw-r--r-- | kate/app/kateexternaltools.cpp | 8 | ||||
-rw-r--r-- | kate/app/katemdi.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kate/app/kateexternaltools.cpp b/kate/app/kateexternaltools.cpp index fcd0cf807..dcfc6494e 100644 --- a/kate/app/kateexternaltools.cpp +++ b/kate/app/kateexternaltools.cpp @@ -185,12 +185,12 @@ void KateExternalToolsCommand::reload () { } bool KateExternalToolsCommand::exec (Kate::View *view, const TQString &cmd, TQString &) { - TQWidget *wv=tqt_dynamic_cast<TQWidget*>(view); + TQWidget *wv=dynamic_cast<TQWidget*>(view); if (!wv) { // kdDebug(13001)<<"KateExternalToolsCommand::exec: Could not get view widget"<<endl; return false; } - KateMDI::MainWindow *dmw=tqt_dynamic_cast<KateMDI::MainWindow*>(wv->topLevelWidget()); + KateMDI::MainWindow *dmw=dynamic_cast<KateMDI::MainWindow*>(wv->topLevelWidget()); if (!dmw) { // kdDebug(13001)<<"KateExternalToolsCommand::exec: Could not get main window"<<endl; return false; @@ -200,7 +200,7 @@ bool KateExternalToolsCommand::exec (Kate::View *view, const TQString &cmd, TQSt if (actionName.isEmpty()) return false; // kdDebug(13001)<<"actionName is not empty:"<<actionName<<endl; KateExternalToolsMenuAction *a= - tqt_dynamic_cast<KateExternalToolsMenuAction*>(dmw->action("tools_external")); + dynamic_cast<KateExternalToolsMenuAction*>(dmw->action("tools_external")); if (!a) return false; // kdDebug(13001)<<"trying to find action"<<endl; TDEAction *a1=a->actionCollection()->action(static_cast<const char *>(actionName.utf8())); @@ -389,7 +389,7 @@ void KateExternalToolsMenuAction::slotDocumentChanged() TDEActionPtrList actions = m_actionCollection->actions(); for (TDEActionPtrList::iterator it = actions.begin(); it != actions.end(); ++it ) { - KateExternalToolAction *action = tqt_dynamic_cast<KateExternalToolAction*>(*it); + KateExternalToolAction *action = dynamic_cast<KateExternalToolAction*>(*it); if ( action ) { l = action->tool->mimetypes; diff --git a/kate/app/katemdi.cpp b/kate/app/katemdi.cpp index 0f4ae25b1..8d5532948 100644 --- a/kate/app/katemdi.cpp +++ b/kate/app/katemdi.cpp @@ -449,7 +449,7 @@ bool Sidebar::eventFilter(TQObject *obj, TQEvent *ev) if (ev->type()==TQEvent::ContextMenu) { TQContextMenuEvent *e = (TQContextMenuEvent *) ev; - KMultiTabBarTab *bt = tqt_dynamic_cast<KMultiTabBarTab*>(obj); + KMultiTabBarTab *bt = dynamic_cast<KMultiTabBarTab*>(obj); if (bt) { kdDebug()<<"Request for popup"<<endl; |