PimCommon::Util

PimCommon::Util Namespace Reference

Functions

PIMCOMMON_EXPORT OrgKdeAkonadiImapSettingsInterface * createImapSettingsInterface (const QString &ident)
 
PIMCOMMON_EXPORT QStringList generateEmailList (const QStringList &list)
 
PIMCOMMON_EXPORT QUrl generateHelpUrl (const QString &docfile, const QString &anchor=QString())
 
PIMCOMMON_EXPORT void invokeHelp (const QString &docfile, const QString &anchor=QString())
 
PIMCOMMON_EXPORT bool isImapResource (const QString &identifier)
 
PIMCOMMON_EXPORT QString loadToFile (const QString &filter, QWidget *parent, const QUrl &url=QUrl(), const QString &caption=QString())
 
PIMCOMMON_EXPORT void saveTextAs (const QString &text, const QString &filter, QWidget *parent, const QUrl &url=QUrl(), const QString &caption=QString())
 
PIMCOMMON_EXPORT bool saveToFile (const QString &filename, const QString &text)
 

Detailed Description

The Util namespace contains a collection of helper functions use in various places.

Function Documentation

◆ createImapSettingsInterface()

OrgKdeAkonadiImapSettingsInterface * PimCommon::Util::createImapSettingsInterface ( const QString & ident)
nodiscard

Definition at line 27 of file pimutil.cpp.

◆ generateEmailList()

QStringList PimCommon::Util::generateEmailList ( const QStringList & list)
nodiscard

Definition at line 129 of file pimutil.cpp.

◆ generateHelpUrl()

QUrl PimCommon::Util::generateHelpUrl ( const QString & docfile,
const QString & anchor = QString() )
nodiscard

Definition at line 104 of file pimutil.cpp.

◆ invokeHelp()

void PimCommon::Util::invokeHelp ( const QString & docfile,
const QString & anchor = QString() )

Definition at line 120 of file pimutil.cpp.

◆ isImapResource()

bool PimCommon::Util::isImapResource ( const QString & identifier)
nodiscard

Definition at line 98 of file pimutil.cpp.

◆ loadToFile()

QString PimCommon::Util::loadToFile ( const QString & filter,
QWidget * parent,
const QUrl & url = QUrl(),
const QString & caption = QString() )
nodiscard

Definition at line 71 of file pimutil.cpp.

◆ saveTextAs()

void PimCommon::Util::saveTextAs ( const QString & text,
const QString & filter,
QWidget * parent,
const QUrl & url = QUrl(),
const QString & caption = QString() )

Definition at line 38 of file pimutil.cpp.

◆ saveToFile()

bool PimCommon::Util::saveToFile ( const QString & filename,
const QString & text )
nodiscard

Definition at line 59 of file pimutil.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.