summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpmainwindow_help.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/kpmainwindow_help.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/kpmainwindow_help.cpp')
-rw-r--r--kolourpaint/kpmainwindow_help.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kolourpaint/kpmainwindow_help.cpp b/kolourpaint/kpmainwindow_help.cpp
index fb1fc790..9d69143c 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, SLOT (slotHelpTakingScreenshots ()),
+ this, TQT_SLOT (slotHelpTakingScreenshots ()),
ac, "help_taking_screenshots");
@@ -71,18 +71,18 @@ void kpMainWindow::enableHelpMenuDocumentActions (bool /*enable*/)
// SYNC: kdebase/kwin/kwinbindings.cpp
-static QString printScreenShortcutString ()
+static TQString printScreenShortcutString ()
{
KConfigGroupSaver cfgGroupSaver (KGlobal::config (), "Global Shortcuts");
KConfigBase *cfg = cfgGroupSaver.config ();
// TODO: i18n() entry name? kwinbindings.cpp seems to but it doesn't
// make sense.
- const QString cfgEntryString = cfg->readEntry ("Desktop Screenshot");
+ const TQString cfgEntryString = cfg->readEntry ("Desktop Screenshot");
// (only use 1st key sequence, if it exists)
- const QString humanReadableShortcut =
+ const TQString humanReadableShortcut =
KShortcut (cfgEntryString).seq (0).toString ();
if (!humanReadableShortcut.isEmpty ())
@@ -125,7 +125,7 @@ void kpMainWindow::slotHelpTakingScreenshots ()
}
#endif
- QString message;
+ TQString message;
if (isRunningKDE)
{
message = i18n
@@ -185,10 +185,10 @@ void kpMainWindow::slotHelpTakingScreenshots ()
true/*separator line*/);
KActiveLabel *messageLabel = new KActiveLabel (message, &dlg);
- disconnect (messageLabel, SIGNAL (linkClicked (const QString &)),
- messageLabel, SLOT (openLink (const QString &)));
- connect (messageLabel, SIGNAL (linkClicked (const QString &)),
- this, SLOT (slotHelpTakingScreenshotsFollowLink (const QString &)));
+ 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 &)));
dlg.setMainWidget (messageLabel);
@@ -196,7 +196,7 @@ void kpMainWindow::slotHelpTakingScreenshots ()
}
// private
-void kpMainWindow::slotHelpTakingScreenshotsFollowLink (const QString &link)
+void kpMainWindow::slotHelpTakingScreenshotsFollowLink (const TQString &link)
{
#if DEBUG_KP_MAIN_WINDOW
kdDebug () << "kpMainWindow::slotHelpTakingScreenshotsFollowLink("