diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kolourpaint/kpmainwindow_tools.cpp | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/kpmainwindow_tools.cpp')
-rw-r--r-- | kolourpaint/kpmainwindow_tools.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kolourpaint/kpmainwindow_tools.cpp b/kolourpaint/kpmainwindow_tools.cpp index de48e1df..e4832f59 100644 --- a/kolourpaint/kpmainwindow_tools.cpp +++ b/kolourpaint/kpmainwindow_tools.cpp @@ -102,24 +102,24 @@ void kpMainWindow::setupToolActions () m_actionPrevToolOptionGroup1 = new kpSingleKeyTriggersAction ( i18n ("Previous Tool Option (Group #1)"), - kpTool::shortcutForKey (Qt::Key_1), - this, TQT_SLOT (slotActionPrevToolOptionGroup1 ()), + kpTool::shortcutForKey (TQt::Key_1), + TQT_TQOBJECT(this), TQT_SLOT (slotActionPrevToolOptionGroup1 ()), ac, "prev_tool_option_group_1"); m_actionNextToolOptionGroup1 = new kpSingleKeyTriggersAction ( i18n ("Next Tool Option (Group #1)"), - kpTool::shortcutForKey (Qt::Key_2), - this, TQT_SLOT (slotActionNextToolOptionGroup1 ()), + kpTool::shortcutForKey (TQt::Key_2), + TQT_TQOBJECT(this), TQT_SLOT (slotActionNextToolOptionGroup1 ()), ac, "next_tool_option_group_1"); m_actionPrevToolOptionGroup2 = new kpSingleKeyTriggersAction ( i18n ("Previous Tool Option (Group #2)"), - kpTool::shortcutForKey (Qt::Key_3), - this, TQT_SLOT (slotActionPrevToolOptionGroup2 ()), + kpTool::shortcutForKey (TQt::Key_3), + TQT_TQOBJECT(this), TQT_SLOT (slotActionPrevToolOptionGroup2 ()), ac, "prev_tool_option_group_2"); m_actionNextToolOptionGroup2 = new kpSingleKeyTriggersAction ( i18n ("Next Tool Option (Group #2)"), - kpTool::shortcutForKey (Qt::Key_4), - this, TQT_SLOT (slotActionNextToolOptionGroup2 ()), + kpTool::shortcutForKey (TQt::Key_4), + TQT_TQOBJECT(this), TQT_SLOT (slotActionNextToolOptionGroup2 ()), ac, "next_tool_option_group_2"); } @@ -289,7 +289,7 @@ void kpMainWindow::setSelectionTransparency (const kpSelectionTransparency &tran { #if DEBUG_KP_MAIN_WINDOW && 1 kdDebug () << "kpMainWindow::setSelectionTransparency() isOpaque=" << transparency.isOpaque () - << " color=" << (transparency.transparentColor ().isValid () ? (int *) transparency.transparentColor ().toQRgb () : 0) + << " color=" << (transparency.transparentColor ().isValid () ? (int *) transparency.transparentColor ().toTQRgb () : 0) << " forceColorChange=" << forceColorChange << endl; #endif |