diff options
Diffstat (limited to 'quanta/dialogs/tagdialogs/tagmaildlg.cpp')
-rw-r--r-- | quanta/dialogs/tagdialogs/tagmaildlg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/dialogs/tagdialogs/tagmaildlg.cpp b/quanta/dialogs/tagdialogs/tagmaildlg.cpp index 3ed62c57..0aa689d2 100644 --- a/quanta/dialogs/tagdialogs/tagmaildlg.cpp +++ b/quanta/dialogs/tagdialogs/tagmaildlg.cpp @@ -34,8 +34,8 @@ #include <tqregexp.h> -TagMailDlg::TagMailDlg(TQWidget *parent, const char *name) - :TagMail(parent, name) +TagMailDlg::TagMailDlg(TQWidget *tqparent, const char *name) + :TagMail(tqparent, name) { setCaption(name); setModal(true); @@ -68,18 +68,18 @@ void TagMailDlg::slotSelectAddress() n = n.simplifyWhiteSpace(); for( unsigned int i = 0; i < emails.count(); ++i ) { if (!emails[i].isEmpty()) { - if (n.isEmpty() || (emails[i].find( "<" ) != -1)) + if (n.isEmpty() || (emails[i].tqfind( "<" ) != -1)) addr = ""; else { /* do we really need quotes around this name ? */ - if (n.find(TQRegExp("[^ 0-9A-Za-z\\x0080-\\xFFFF]")) != -1) + if (n.tqfind(TQRegExp("[^ 0-9A-Za-z\\x0080-\\xFFFF]")) != -1) addr = qConfig.attrValueQuotation + n + qConfig.attrValueQuotation + " "; else addr = n + " "; } email = emails[i]; - if (!addr.isEmpty() && (email.find( "<" ) == -1) - && (email.find( ">" ) == -1) - && (email.find( "," ) == -1)) + if (!addr.isEmpty() && (email.tqfind( "<" ) == -1) + && (email.tqfind( ">" ) == -1) + && (email.tqfind( "," ) == -1)) addr += "<" + email + ">"; else addr += email; |