summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/cert/kfile_cert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/cert/kfile_cert.cpp')
-rw-r--r--kfile-plugins/cert/kfile_cert.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kfile-plugins/cert/kfile_cert.cpp b/kfile-plugins/cert/kfile_cert.cpp
index 8a711ba..4175240 100644
--- a/kfile-plugins/cert/kfile_cert.cpp
+++ b/kfile-plugins/cert/kfile_cert.cpp
@@ -39,8 +39,8 @@ typedef KGenericFactory<CertPlugin> CertFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_cert, CertFactory("kfile-cert"))
-CertPlugin::CertPlugin(TQObject *parent, const char *name, const TQStringList &args)
- : KFilePlugin(parent, name, args)
+CertPlugin::CertPlugin(TQObject *tqparent, const char *name, const TQStringList &args)
+ : KFilePlugin(tqparent, name, args)
{
//add the mimetype here - example:
//KFileMimeTypeInfo* info = addMimeTypeInfo( "text/html" );
@@ -110,10 +110,10 @@ static KSSLCertificate *readCertFromFile(const TQString &path)
KOSSL::self()->ERR_clear_error();
const char *begin_line = "-----BEGIN CERTIFICATE-----\n";
const char *end_line = "\n-----END CERTIFICATE-----";
- int begin_pos = file_string.find(begin_line);
+ int begin_pos = file_string.tqfind(begin_line);
if (begin_pos >= 0) {
begin_pos += strlen(begin_line);
- int end_pos = file_string.find(end_line, begin_pos);
+ int end_pos = file_string.tqfind(end_line, begin_pos);
if (end_pos >= 0) {
// read the data between begin and end lines
TQCString body = file_string.mid(begin_pos, end_pos - begin_pos);