summaryrefslogtreecommitdiffstats
path: root/kdecore/kprotocolinfo_kdecore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kprotocolinfo_kdecore.cpp')
-rw-r--r--kdecore/kprotocolinfo_kdecore.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdecore/kprotocolinfo_kdecore.cpp b/kdecore/kprotocolinfo_kdecore.cpp
index 66ce97760..203f455a1 100644
--- a/kdecore/kprotocolinfo_kdecore.cpp
+++ b/kdecore/kprotocolinfo_kdecore.cpp
@@ -151,8 +151,8 @@ KProtocolInfo::load( TQDataStream& _str)
{
// You may add new fields at the end. Make sure to update the version
// number in ksycoca.h
- TQ_INT32 i_inputType, i_outputType;
- TQ_INT8 i_isSourceProtocol, i_isHelperProtocol,
+ Q_INT32 i_inputType, i_outputType;
+ Q_INT8 i_isSourceProtocol, i_isHelperProtocol,
i_supportsListing, i_supportsReading,
i_supportsWriting, i_supportsMakeDir,
i_supportsDeleting, i_supportsLinking,
@@ -206,8 +206,8 @@ KProtocolInfo::save( TQDataStream& _str)
// You may add new fields at the end. Make sure to update the version
// number in ksycoca.h
- TQ_INT32 i_inputType, i_outputType;
- TQ_INT8 i_isSourceProtocol, i_isHelperProtocol,
+ Q_INT32 i_inputType, i_outputType;
+ Q_INT8 i_isSourceProtocol, i_isHelperProtocol,
i_supportsListing, i_supportsReading,
i_supportsWriting, i_supportsMakeDir,
i_supportsDeleting, i_supportsLinking,
@@ -216,8 +216,8 @@ KProtocolInfo::save( TQDataStream& _str)
i_uriMode, i_canRenameFromFile, i_canRenameToFile,
i_canDeleteRecursive, i_fileNameUsedForCopying;
- i_inputType = (TQ_INT32) m_inputType;
- i_outputType = (TQ_INT32) m_outputType;
+ i_inputType = (Q_INT32) m_inputType;
+ i_outputType = (Q_INT32) m_outputType;
i_isSourceProtocol = m_isSourceProtocol ? 1 : 0;
i_isHelperProtocol = m_isHelperProtocol ? 1 : 0;
i_supportsListing = m_supportsListing ? 1 : 0;
@@ -392,7 +392,7 @@ TQString KProtocolInfo::icon( const TQString& _protocol )
{
KProtocolInfo::Ptr prot = KProtocolInfoFactory::self()->findProtocol(_protocol);
if ( !prot )
- return TQString::tqfromLatin1("unknown");
+ return TQString::fromLatin1("unknown");
return prot->m_icon;
}