MailImporter::FolderStructureBase

Search for usage in LXR

MailImporter::FolderStructureBase< size > Class Template Reference

#include <mailimporter_utils.h>

Public Types

typedef QString NString[size]
 

Public Member Functions

 FolderStructureBase ()
 
 FolderStructureBase (const FolderStructureBase &s)
 
 FolderStructureBase (const NString &s)
 
FolderStructureBaseoperator= (const FolderStructureBase &s)
 
QStringoperator[] (unsigned int i)
 
const QString operator[] (unsigned int i) const
 

Detailed Description

template<unsigned int size>
class MailImporter::FolderStructureBase< size >

Glorified QString[N] for (a) understandability (b) older gcc compatibility.

Definition at line 17 of file mailimporter_utils.h.

Member Typedef Documentation

◆ NString

template<unsigned int size>
QString MailImporter::FolderStructureBase< size >::NString[size]

Definition at line 20 of file mailimporter_utils.h.

Constructor & Destructor Documentation

◆ FolderStructureBase() [1/3]

template<unsigned int size>
MailImporter::FolderStructureBase< size >::FolderStructureBase ( )
inline

Constructor.

Need a default constructor for QValueList.

Definition at line 22 of file mailimporter_utils.h.

◆ FolderStructureBase() [2/3]

template<unsigned int size>
MailImporter::FolderStructureBase< size >::FolderStructureBase ( const NString & s)
inline

Constructor.

Turn N QStrings into a folder structure description.

Definition at line 29 of file mailimporter_utils.h.

◆ FolderStructureBase() [3/3]

template<unsigned int size>
MailImporter::FolderStructureBase< size >::FolderStructureBase ( const FolderStructureBase< size > & s)
inline

Copy Constructor.

Definition at line 37 of file mailimporter_utils.h.

Member Function Documentation

◆ operator=()

template<unsigned int size>
FolderStructureBase & MailImporter::FolderStructureBase< size >::operator= ( const FolderStructureBase< size > & s)
inline

Assignment operator.

Does the same thing as the copy constructor.

Definition at line 47 of file mailimporter_utils.h.

◆ operator[]() [1/2]

template<unsigned int size>
QString & MailImporter::FolderStructureBase< size >::operator[] ( unsigned int i)
inline

Access the different fields, for writing.

Definition at line 68 of file mailimporter_utils.h.

◆ operator[]() [2/2]

template<unsigned int size>
const QString MailImporter::FolderStructureBase< size >::operator[] ( unsigned int i) const
inline

Access the different fields.

There doesn't seem to be a real semantics for the fields.

Definition at line 58 of file mailimporter_utils.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:08:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.