knotes
knoteutils.cpp
Go to the documentation of this file.
41 configPath = KGlobal::dirs()->saveLocation( "data", QLatin1String("knotes/") ) + QLatin1String("notes/") + journal->uid();
45 const bool newNote = !KIO::NetAccess::exists( KUrl( configPath ), KIO::NetAccess::DestinationSide, 0 );
47 KNoteConfig *config = new KNoteConfig( KSharedConfig::openConfig( configPath, KConfig::NoGlobals ) );
110 const QString configFile = KGlobal::dirs()->saveLocation( "data", QLatin1String("knotes/") ) + QLatin1String("notes/") + journal->uid();
131 const QStringList cmd_list = KNotesGlobalConfig::mailAction().split( QLatin1Char(' '), QString::SkipEmptyParts );
156 QPointer<KNoteHostDialog> hostDlg = new KNoteHostDialog( i18n( "Send \"%1\"", title ), parent );
Definition: knoteconfig.h:13
Definition: knotesnetsend.h:39
A dialog that allows to select network service or request a hostname or IP address.
Definition: knotehostdialog.h:46
KNOTES_EXPORT KNoteConfig * createConfig(KCal::Journal *journal, QString &configPath)
Definition: knoteutils.cpp:38
KNOTES_EXPORT void setProperty(KCal::Journal *journal, KNoteConfig *config)
Definition: knoteutils.cpp:80
KNOTES_EXPORT void removeNote(KCal::Journal *journal, QWidget *parent)
Definition: knoteutils.cpp:108
void setNote(const QString &title, const QString &text)
Definition: knotesnetsend.cpp:64
KNOTES_EXPORT void savePreferences(KCal::Journal *journal, KNoteConfig *config)
Definition: knoteutils.cpp:117
KNOTES_EXPORT void sendMail(QWidget *parent, const QString &title, const QString &message)
Definition: knoteutils.cpp:128
void setSenderId(const QString &sender)
Definition: knotesnetsend.cpp:58
KNOTES_EXPORT void sendToNetwork(QWidget *parent, const QString &title, const QString &message)
Definition: knoteutils.cpp:153
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.