summaryrefslogtreecommitdiffstats
path: root/lib/compatibility/knewstuff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compatibility/knewstuff')
-rw-r--r--lib/compatibility/knewstuff/downloaddialog.cpp2
-rw-r--r--lib/compatibility/knewstuff/entry.cpp6
-rw-r--r--lib/compatibility/knewstuff/knewstuffgeneric.cpp2
-rw-r--r--lib/compatibility/knewstuff/security.cpp10
4 files changed, 10 insertions, 10 deletions
diff --git a/lib/compatibility/knewstuff/downloaddialog.cpp b/lib/compatibility/knewstuff/downloaddialog.cpp
index a4cfca68..581263e2 100644
--- a/lib/compatibility/knewstuff/downloaddialog.cpp
+++ b/lib/compatibility/knewstuff/downloaddialog.cpp
@@ -558,7 +558,7 @@ void DownloadDialog::slotPage(TQWidget *w)
kdDebug() << "changed widget!!!" << endl;
- if(m_map.tqfind(w) == m_map.end()) return;
+ if(m_map.find(w) == m_map.end()) return;
m_page = w;
diff --git a/lib/compatibility/knewstuff/entry.cpp b/lib/compatibility/knewstuff/entry.cpp
index eb953b0e..ba08f345 100644
--- a/lib/compatibility/knewstuff/entry.cpp
+++ b/lib/compatibility/knewstuff/entry.cpp
@@ -89,7 +89,7 @@ void Entry::setSummary( const TQString &text, const TQString &lang )
{
mSummaryMap.insert( lang, text );
- if ( mLangs.tqfind( lang ) == mLangs.end() ) mLangs.append( lang );
+ if ( mLangs.find( lang ) == mLangs.end() ) mLangs.append( lang );
}
TQString Entry::summary( const TQString &lang ) const
@@ -144,7 +144,7 @@ void Entry::setPayload( const KURL &url, const TQString &lang )
{
mPayloadMap.insert( lang, url );
- if ( mLangs.tqfind( lang ) == mLangs.end() ) mLangs.append( lang );
+ if ( mLangs.find( lang ) == mLangs.end() ) mLangs.append( lang );
}
KURL Entry::payload( const TQString &lang ) const
@@ -167,7 +167,7 @@ void Entry::setPreview( const KURL &url, const TQString &lang )
{
mPreviewMap.insert( lang, url );
- if ( mLangs.tqfind( lang ) == mLangs.end() ) mLangs.append( lang );
+ if ( mLangs.find( lang ) == mLangs.end() ) mLangs.append( lang );
}
KURL Entry::preview( const TQString &lang ) const
diff --git a/lib/compatibility/knewstuff/knewstuffgeneric.cpp b/lib/compatibility/knewstuff/knewstuffgeneric.cpp
index 90130944..66878137 100644
--- a/lib/compatibility/knewstuff/knewstuffgeneric.cpp
+++ b/lib/compatibility/knewstuff/knewstuffgeneric.cpp
@@ -70,7 +70,7 @@ bool KNewStuffGeneric::install( const TQString &fileName )
kdDebug(5850) << "InstallationCommand: " << cmd << endl;
list = TQStringList::split( " ", cmd );
for ( TQStringList::iterator it = list.begin(); it != list.end(); ++it) {
- list2 << (*it).tqreplace("%f", fileName);
+ list2 << (*it).replace("%f", fileName);
}
KProcess proc;
proc << list2;
diff --git a/lib/compatibility/knewstuff/security.cpp b/lib/compatibility/knewstuff/security.cpp
index 3e135e1f..9dc5615a 100644
--- a/lib/compatibility/knewstuff/security.cpp
+++ b/lib/compatibility/knewstuff/security.cpp
@@ -125,7 +125,7 @@ void Security::slotDataArrived(KProcIO *procIO)
key.mail=data.section('<', -1, -1);
key.mail.truncate(key.mail.length() - 1);
key.name=data.section('<',0,0);
- if (key.name.tqfind("(")!=-1)
+ if (key.name.find("(")!=-1)
key.name=key.name.section('(',0,0);
m_keys[shortId] = key;
}
@@ -137,7 +137,7 @@ void Security::slotDataArrived(KProcIO *procIO)
m_result &= SIGNED_BAD_CLEAR;
m_result |= SIGNED_OK;
TQString id = data.section(" ", 1 , 1).right(8);
- if (!m_keys.tqcontains(id))
+ if (!m_keys.contains(id))
{
m_result |= UNKNOWN;
} else
@@ -154,7 +154,7 @@ void Security::slotDataArrived(KProcIO *procIO)
{
m_result |= SIGNED_BAD;
TQString id = data.section(" ", 1 , 1).right(8);
- if (!m_keys.tqcontains(id))
+ if (!m_keys.contains(id))
{
m_result |= UNKNOWN;
} else
@@ -170,7 +170,7 @@ void Security::slotDataArrived(KProcIO *procIO)
break;
case Sign:
- if (data.tqfind("passphrase.enter") != -1)
+ if (data.find("passphrase.enter") != -1)
{
TQCString password;
KeyStruct key = m_keys[m_secretKey];
@@ -187,7 +187,7 @@ void Security::slotDataArrived(KProcIO *procIO)
return;
}
} else
- if (data.tqfind("BAD_PASSPHRASE") != -1)
+ if (data.find("BAD_PASSPHRASE") != -1)
{
m_result |= BAD_PASSPHRASE;
}