summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpmainwindow_help.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kolourpaint/kpmainwindow_help.cpp
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-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_help.cpp')
-rw-r--r--kolourpaint/kpmainwindow_help.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kolourpaint/kpmainwindow_help.cpp b/kolourpaint/kpmainwindow_help.cpp
index 9d69143c..78ec0265 100644
--- a/kolourpaint/kpmainwindow_help.cpp
+++ b/kolourpaint/kpmainwindow_help.cpp
@@ -57,7 +57,7 @@ void kpMainWindow::setupHelpMenuActions ()
// -- Thurston
d->m_actionHelpTakingScreenshots = new KAction (
i18n ("Acquiring &Screenshots"), 0,
- this, TQT_SLOT (slotHelpTakingScreenshots ()),
+ TQT_TQOBJECT(this), TQT_SLOT (slotHelpTakingScreenshots ()),
ac, "help_taking_screenshots");
@@ -92,7 +92,7 @@ static TQString printScreenShortcutString ()
else
{
// (localised)
- return KKey (Qt::CTRL + Qt::Key_Print).toString ();
+ return KKey (TQt::CTRL + TQt::Key_Print).toString ();
}
}
@@ -114,7 +114,7 @@ void kpMainWindow::slotHelpTakingScreenshots ()
#if DEBUG_KP_MAIN_WINDOW
kdDebug () << "\tdcopApps=" << dcopApps << endl;
#endif
- bool isRunningKDE = (dcopApps.findIndex ("kwin") >= 0);
+ bool isRunningKDE = (dcopApps.tqfindIndex ("kwin") >= 0);
#if 0
{
@@ -188,7 +188,7 @@ void kpMainWindow::slotHelpTakingScreenshots ()
disconnect (messageLabel, TQT_SIGNAL (linkClicked (const TQString &)),
messageLabel, TQT_SLOT (openLink (const TQString &)));
connect (messageLabel, TQT_SIGNAL (linkClicked (const TQString &)),
- this, TQT_SLOT (slotHelpTakingScreenshotsFollowLink (const TQString &)));
+ TQT_TQOBJECT(this), TQT_SLOT (slotHelpTakingScreenshotsFollowLink (const TQString &)));
dlg.setMainWidget (messageLabel);