diff options
author | Michele Calgaro <[email protected]> | 2023-12-14 21:19:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-15 00:43:41 +0900 |
commit | 3aab8aa05b954b80e336517f93463a9b5f50f3d6 (patch) | |
tree | be6bb581b1cb695d388cb4be10282514bb067401 /chalk/ui/kis_controlframe.cpp | |
parent | fb6b4d204d1155fa3a1bc7a128873340db1524f7 (diff) | |
download | koffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.tar.gz koffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'chalk/ui/kis_controlframe.cpp')
-rw-r--r-- | chalk/ui/kis_controlframe.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chalk/ui/kis_controlframe.cpp b/chalk/ui/kis_controlframe.cpp index 85f30454..9c90c68f 100644 --- a/chalk/ui/kis_controlframe.cpp +++ b/chalk/ui/kis_controlframe.cpp @@ -105,7 +105,7 @@ KisControlFrame::KisControlFrame( TDEMainWindow * /*window*/, KisView * view, co TDEAction * action = new KWidgetAction(m_brushWidget, i18n("&Brush"), 0, - TQT_TQOBJECT(view), + view, 0, view->actionCollection(), "brushes"); @@ -116,7 +116,7 @@ KisControlFrame::KisControlFrame( TDEMainWindow * /*window*/, KisView * view, co action = new KWidgetAction(m_patternWidget, i18n("&Patterns"), 0, - TQT_TQOBJECT(view), + view, 0, view->actionCollection(), "patterns"); @@ -126,7 +126,7 @@ KisControlFrame::KisControlFrame( TDEMainWindow * /*window*/, KisView * view, co action = new KWidgetAction(m_gradientWidget, i18n("&Gradients"), 0, - TQT_TQOBJECT(view), + view, 0, view->actionCollection(), "gradients"); @@ -135,7 +135,7 @@ KisControlFrame::KisControlFrame( TDEMainWindow * /*window*/, KisView * view, co action = new KWidgetAction(m_paintopBox, i18n("&Painter's Tools"), 0, - TQT_TQOBJECT(view), + view, 0, view->actionCollection(), "paintops"); @@ -290,10 +290,10 @@ void KisControlFrame::createPatternsChooser(KisView * view) m_patternsTab->addTab( customPatterns, i18n("Custom Pattern")); - m_patternMediator = new KisResourceMediator( chooser, TQT_TQOBJECT(view)); + m_patternMediator = new KisResourceMediator( chooser, view); connect( m_patternMediator, TQT_SIGNAL(activatedResource(KisResource*)), view, TQT_SLOT(patternActivated(KisResource*))); connect(customPatterns, TQT_SIGNAL(activatedResource(KisResource*)), - TQT_TQOBJECT(view), TQT_SLOT(patternActivated(KisResource*))); + view, TQT_SLOT(patternActivated(KisResource*))); KisResourceServerBase* rServer; rServer = KisResourceServerRegistry::instance()->get("PatternServer"); @@ -326,7 +326,7 @@ void KisControlFrame::createGradientsChooser(KisView * view) m_gradientChooser->setMinimumSize(200, 150); m_gradientTab->addTab( m_gradientChooser, i18n("Gradients")); - m_gradientMediator = new KisResourceMediator( m_gradientChooser, TQT_TQOBJECT(view)); + m_gradientMediator = new KisResourceMediator( m_gradientChooser, view); connect(m_gradientMediator, TQT_SIGNAL(activatedResource(KisResource*)), view, TQT_SLOT(gradientActivated(KisResource*))); KisResourceServerBase* rServer; |