KPIM Namespace Reference
KDEPIM classes for drag and drop of mails. More...
Classes
- class SelectionItem
- Internal helper class. More...
- Internal helper class. More...
- class BroadcastStatus
- Provides a singleton which broadcasts status messages by emitting signals. More...
- Provides a singleton which broadcasts status messages by emitting signals. More...
- class ClickLineEdit
- This class provides a KLineEdit which contains a greyed-out hinting text as long as the user didn't enter any text LineEdit with customizable "Click here" text. More...
- This class provides a KLineEdit which contains a greyed-out hinting text as long as the user didn't enter any text LineEdit with customizable "Click here" text. More...
- class CollectingProcess
- An output collecting KProcess class. More...
- An output collecting KProcess class. More...
- class ConfigManager
- Class for managing a set of config options. More...
- Class for managing a set of config options. More...
- class DiffAlgoDisplay
- DiffAlgo and DiffAlgoDisplay work together for displaying differences between two PIM objects like contacts, events or todos. More...
- DiffAlgo and DiffAlgoDisplay work together for displaying differences between two PIM objects like contacts, events or todos. More...
- class KPixmapRegionSelectorDialog
- A dialog that uses a KPixmapRegionSelectorWidget to allow the user to select a region of an image. More...
- A dialog that uses a KPixmapRegionSelectorWidget to allow the user to select a region of an image. More...
- class KPixmapRegionSelectorWidget
- KPixmapRegionSelectorWidget is a widget that shows a picture and provides the user with a friendly way to select a rectangular subregion of the pixmap. More...
- KPixmapRegionSelectorWidget is a widget that shows a picture and provides the user with a friendly way to select a rectangular subregion of the pixmap. More...
- class LdapObject
- This class is internal. More...
- This class is internal. More...
- class LdapClient
- This class is internal. More...
- This class is internal. More...
- struct LdapResult
- Structure describing one result returned by a LDAP query. More...
- Structure describing one result returned by a LDAP query. More...
- class LdapSearch
- This class is internal. More...
- This class is internal. More...
- class OverlayWidget
- This is a widget that can align itself with another one, without using a layout, so that it can actually be on top of other widgets. More...
- This is a widget that can align itself with another one, without using a layout, so that it can actually be on top of other widgets. More...
- class PluginLoader
- A generic plugin loader for when KPart::Plugin is overkill. More...
- A generic plugin loader for when KPart::Plugin is overkill. More...
- class ProgressManager
- The ProgressManager singleton keeps track of all ongoing transactions and notifies observers (progress dialogs) when their progress percent value changes, when they are completed (by their owner), and when they are canceled. More...
- The ProgressManager singleton keeps track of all ongoing transactions and notifies observers (progress dialogs) when their progress percent value changes, when they are completed (by their owner), and when they are canceled. More...
- class ResourceABC
- This class is the implementation of subfolder resources for KABC. More...
- This class is the implementation of subfolder resources for KABC. More...
Namespaces
- namespace ThreadWeaver
Typedefs
- typedef QValueList< LdapResult > LdapResultList
- typedef QMap< QString, int > CompletionItemsMap
- typedef QValueList< QByteArray > LdapAttrValue
- typedef QMap< QString, LdapAttrValue > LdapAttrMap
- typedef QValueList< MailSummary > MailList
-
typedef QMap< ProgressItem *,
bool > ProgressItemMap
Functions
- static void swapItems (CompletionViewItem *one, CompletionViewItem *other)
- static void msgDialog (const QString &msg)
- KDE_EXPORT QCString kFileToString (const QString &aFileName, bool aEnsureNL, bool aVerbose)
- QByteArray kFileToBytes (const QString &aFileName, bool aVerbose)
- KDE_EXPORT bool kBytesToFile (const char *aBuffer, int len, const QString &aFileName, bool aAskIfExists, bool aBackup, bool aVerbose)
- KDE_EXPORT bool kCStringToFile (const QCString &aBuffer, const QString &aFileName, bool aAskIfExists, bool aBackup, bool aVerbose)
- KDE_EXPORT bool kByteArrayToFile (const QByteArray &aBuffer, const QString &aFileName, bool aAskIfExists, bool aBackup, bool aVerbose)
- QString checkAndCorrectPermissionsIfPossible (const QString &toCheck, const bool &recursive, const bool &wantItReadable, const bool &wantItWritable)
- bool checkAndCorrectPermissionsIfPossibleWithErrorHandling (QWidget *parent, const QString &toCheck, const bool &recursive, const bool &wantItReadable, const bool &wantItWritable)
Variables
- static KStaticDeleter< ProgressManager > progressManagerDeleter
Detailed Description
KDEPIM classes for drag and drop of mails.// Code example for drag and drop enabled widget
void SomeWidget::contentsDropEvent(QDropEvent *e) { if (e->provides(MailListDrag::format())) { MailList mailList; MailListDrag::decode( e, mailList ); ...
Function Documentation
|
Load a file. Returns a pointer to the memory-block that contains the loaded file. Returns a null string if the file could not be loaded. If withDialogs is FALSE no warning dialogs are opened if there are problems. The string returned is always zero-terminated and therefore one byte longer than the file itself. If ensureNewline is TRUE the string will always have a trailing newline. |
|
Save a file. If withDialogs is FALSE no warning dialogs are opened if there are problems. Returns TRUE on success and FALSE on failure. Replaces existing files without warning if askIfExists==FALSE. Makes a copy if the file exists to filename~ if createBackup==TRUE. |
|
Does not stop at NUL.
|
|
Checks and corrects the permissions of a file or folder, and if requested all files and folders below. It gives back a list of files which do not have the right permissions. This list can be used to show to the user.
|
|
Checks and corrects the permissions of a file or folder, and if requested all files and folders below. If the permissions are not ok, it tries to correct them. If that fails then a warning with detailled information is given.
|