#include <mimecontentformatter.h>
◆ MimeContentFormatter()
  
  | 
        
          | MimeContentFormatter::MimeContentFormatter | ( | int | max_length = 76 | ) |  |  | explicit | 
 
int max_length
Definition: mimecontentformatter.h:39
 
 
◆ format()
      
        
          | QByteArray MimeContentFormatter::format | ( | const QByteArray & | content, | 
        
          |  |  | int & | chars | 
        
          |  | ) |  | const | 
      
 
Références max_length.
   33     for (
int i = 0; i < content.length() ; ++i) {
    36             out.append(QByteArrayLiteral(
"\r\n"));
    40         out.append(content[i]);
 int max_length
Definition: mimecontentformatter.h:39
 
 
◆ formatQuotedPrintable()
      
        
          | QByteArray MimeContentFormatter::formatQuotedPrintable | ( | const QByteArray & | content, | 
        
          |  |  | int & | chars | 
        
          |  | ) |  | const | 
      
 
Références max_length.
   50     for (
int i = 0; i < content.length() ; ++i) {
    53         if (content[i] == 
'\n') {       
    54             out.append(content[i]);
    60                 || ((content[i] == 
'=') && (chars > 
max_length - 3) )) {
    61             out.append(QByteArrayLiteral(
"=\r\n"));
    65         out.append(content[i]);
 int max_length
Definition: mimecontentformatter.h:39
 
 
◆ maxLength()
      
        
          | int MimeContentFormatter::maxLength | ( |  | ) | const | 
      
 
Références max_length.
int max_length
Definition: mimecontentformatter.h:39
 
 
◆ setMaxLength()
      
        
          | void MimeContentFormatter::setMaxLength | ( | int | l | ) |  | 
      
 
Références max_length.
int max_length
Definition: mimecontentformatter.h:39
 
 
◆ max_length
  
  | 
        
          | int SimpleMail::MimeContentFormatter::max_length |  | protected | 
 
 
La documentation de cette classe a été générée à partir des fichiers suivants :