mailcommon
filteractionwithfolder.cpp
Go to the documentation of this file.
32 FilterActionWithFolder::FilterActionWithFolder( const QString &name, const QString &label, QObject *parent )
66 static_cast<FolderRequester*>( paramWidget )->setCollection( CommonKernel->draftsCollectionFolder() );
69 bool FilterActionWithFolder::argsFromStringInteractive( const QString &argsStr , const QString& name)
75 Akonadi::Collection::List lst = FilterActionMissingCollectionDialog::potentialCorrectFolders( argsStr, exactPath );
79 QPointer<FilterActionMissingCollectionDialog> dlg = new FilterActionMissingCollectionDialog( lst, name, argsStr );
126 bool FilterActionWithFolder::folderRemoved( const Akonadi::Collection &oldFolder, const Akonadi::Collection &newFolder )
virtual QString displayString() const
Returns a translated string describing this filter for visualization purposes, e.g.
Definition: filteractionwithfolder.cpp:117
virtual QString argsAsString() const
Return extra arguments as string.
Definition: filteractionwithfolder.cpp:108
virtual void clearParamWidget(QWidget *paramWidget) const
The filter action shall clear it's parameter widget's contents.
Definition: filteractionwithfolder.cpp:64
virtual void setParamWidgetValue(QWidget *paramWidget) const
The filter action shall set it's widget's contents from it's parameter.
Definition: filteractionwithfolder.cpp:59
virtual void applyParamWidgetValue(QWidget *paramWidget)
The filter action shall set it's parameter from the widget's contents.
Definition: filteractionwithfolder.cpp:54
virtual bool isEmpty() const
Determines whether this action is valid.
Definition: filteractionwithfolder.cpp:37
void setShowOutbox(bool show)
Definition: folderrequester.cpp:185
FilterActionWithFolder(const QString &name, const QString &label, QObject *parent=0)
Creates a new filter action.
Definition: filteractionwithfolder.cpp:32
A widget that contains a KLineEdit which shows the current folder and a button that fires a FolderSel...
Definition: folderrequester.h:59
virtual void argsFromString(const QString &argsStr)
Read extra arguments from given string.
Definition: filteractionwithfolder.cpp:97
virtual QString argsAsStringReal() const
Definition: filteractionwithfolder.cpp:90
MAILCOMMON_EXPORT Akonadi::Collection updatedCollection(const Akonadi::Collection &col)
Definition: mailutil.cpp:609
virtual bool argsFromStringInteractive(const QString &argsStr, const QString &filterName)
Read extra arguments from given string.
Definition: filteractionwithfolder.cpp:69
virtual QWidget * createParamWidget(QWidget *parent) const
Creates a widget for setting the filter action parameter.
Definition: filteractionwithfolder.cpp:42
Akonadi::Collection mFolder
Definition: filteractionwithfolder.h:102
MAILCOMMON_EXPORT QString fullCollectionPath(const Akonadi::Collection &collection)
Definition: mailutil.cpp:117
void filterActionModified()
Called to notify that the current FilterAction has had some value modification.
virtual bool folderRemoved(const Akonadi::Collection &aFolder, const Akonadi::Collection &aNewFolder)
Called from the filter when a folder is removed.
Definition: filteractionwithfolder.cpp:126
static Akonadi::Collection::List potentialCorrectFolders(const QString &path, bool &exactPath)
Definition: filteractionmissingargumentdialog.cpp:166
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:14 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:55:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.