From 8155225c9be993acc0512956416d195edfef4eb9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 19 Jan 2011 01:42:14 +0000 Subject: Enable compilation with TQt for Qt4 3.4.0 TP2 This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslave/media/mounthelper/decryptdialog.ui | 32 +++++++++++----------- .../media/mounthelper/kio_media_mounthelper.cpp | 6 ++-- 2 files changed, 19 insertions(+), 19 deletions(-) (limited to 'kioslave/media/mounthelper') diff --git a/kioslave/media/mounthelper/decryptdialog.ui b/kioslave/media/mounthelper/decryptdialog.ui index 15790c8ef..dfb8c17d0 100644 --- a/kioslave/media/mounthelper/decryptdialog.ui +++ b/kioslave/media/mounthelper/decryptdialog.ui @@ -1,6 +1,6 @@ DecryptDialog - + DecryptDialog @@ -27,7 +27,7 @@ unnamed - + layout5 @@ -35,7 +35,7 @@ unnamed - + layout4 @@ -43,7 +43,7 @@ unnamed - + encryptedIcon @@ -55,13 +55,13 @@ 0 - + 48 48 - + 32 32 @@ -70,7 +70,7 @@ true - + AlignTop @@ -84,7 +84,7 @@ Expanding - + 31 41 @@ -93,7 +93,7 @@ - + descLabel @@ -109,13 +109,13 @@ <p><b>%1</b> is an encrypted storage device.</p> <p>Please enter the password to decrypt the storage device.</p> - + WordBreak|AlignTop - + layout4 @@ -123,7 +123,7 @@ unnamed - + textLabel1 @@ -134,7 +134,7 @@ passwordEdit - + passwordEdit @@ -155,7 +155,7 @@ - + errorBox @@ -174,7 +174,7 @@ unnamed - + errorLabel @@ -189,7 +189,7 @@ - + WordBreak|AlignTop diff --git a/kioslave/media/mounthelper/kio_media_mounthelper.cpp b/kioslave/media/mounthelper/kio_media_mounthelper.cpp index 01448f79d..83d57df85 100644 --- a/kioslave/media/mounthelper/kio_media_mounthelper.cpp +++ b/kioslave/media/mounthelper/kio_media_mounthelper.cpp @@ -88,8 +88,8 @@ MountHelper::MountHelper() : KApplication() TQString device = medium.deviceNode(); TQString mount_point = medium.mountPoint(); - m_isCdrom = medium.mimeType().find("dvd")!=-1 - || medium.mimeType().find("cd")!=-1; + m_isCdrom = medium.mimeType().tqfind("dvd")!=-1 + || medium.mimeType().tqfind("cd")!=-1; if (args->isSet("d")) { @@ -182,7 +182,7 @@ MountHelper::MountHelper() : KApplication() void MountHelper::invokeEject(const TQString &device, bool quiet) { - KProcess *proc = new KProcess(this); + KProcess *proc = new KProcess(TQT_TQOBJECT(this)); *proc << "kdeeject"; if (quiet) { -- cgit v1.2.1