PimCommon::Util

PimCommon::Util Namespace Reference

Functions

PIMCOMMON_EXPORT OrgKdeAkonadiImapSettingsInterface * createImapSettingsInterface (const QString &ident)
 
PIMCOMMON_EXPORT QString findExecutable (const QString &exec)
 
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 29 of file pimutil.cpp.

◆ findExecutable()

QString PimCommon::Util::findExecutable ( const QString & exec)
nodiscard

Definition at line 148 of file pimutil.cpp.

◆ generateEmailList()

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

Definition at line 131 of file pimutil.cpp.

◆ generateHelpUrl()

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

Definition at line 106 of file pimutil.cpp.

◆ invokeHelp()

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

Definition at line 122 of file pimutil.cpp.

◆ isImapResource()

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

Definition at line 100 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 73 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 40 of file pimutil.cpp.

◆ saveToFile()

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

Definition at line 61 of file pimutil.cpp.

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

KDE's Doxygen guidelines are available online.