KexiBLOBBuffer::Handle Class Reference
#include <kexiblobbuffer.h>
Detailed Description
Object handle used by KexiBLOBBuffer.
Definition at line 97 of file kexiblobbuffer.h.
Public Member Functions | |
| Handle () | |
| Constructs a null handle. | |
| Handle (const Handle &handle) | |
| Constructs a copy of handle. | |
| ~Handle () | |
| Id_t | id () const |
| bool | stored () const |
| operator bool () const | |
| Handle & | operator= (const Handle &handle) |
| QByteArray | data () const |
| QPixmap | pixmap () const |
| void | setStoredWidthID (Id_t id) |
| QString | originalFileName () const |
| QString | mimeType () const |
| Id_t | folderId () const |
Protected Member Functions | |
| Handle (Item *item) | |
| Constructs a handle based on item. Null handle is constructed for null item. | |
Friends | |
| class | KexiBLOBBuffer |
Constructor & Destructor Documentation
|
|
Constructs a null handle. Null handles have empty pixap and data members, id == 0 and cast to boolean false. Definition at line 71 of file kexiblobbuffer.cpp. |
|
|
Constructs a copy of handle.
Definition at line 66 of file kexiblobbuffer.cpp. |
|
|
Definition at line 76 of file kexiblobbuffer.cpp. References KexiBLOBBuffer::self(). |
|
|
Constructs a handle based on item. Null handle is constructed for null item.
Definition at line 59 of file kexiblobbuffer.cpp. |
Member Function Documentation
|
|
Definition at line 119 of file kexiblobbuffer.h. Referenced by KexiDBImageBox::data(), and KexiFormView::storeData(). |
|
|
Definition at line 131 of file kexiblobbuffer.h. Referenced by KexiFormView::storeData(). |
|
|
Definition at line 108 of file kexiblobbuffer.h. Referenced by KexiImagePropertyEdit::selectPixmap(), and KexiDBImageBox::setData(). |
|
|
Definition at line 129 of file kexiblobbuffer.h. Referenced by KexiDBImageBox::handleAboutToSaveAsAction(), and KexiFormView::storeData(). |
|
|
Definition at line 115 of file kexiblobbuffer.h. |
|
|
Definition at line 85 of file kexiblobbuffer.cpp. References m_item. |
|
|
Definition at line 127 of file kexiblobbuffer.h. Referenced by KexiDBImageBox::handleAboutToSaveAsAction(), and KexiFormView::storeData(). |
|
|
Definition at line 121 of file kexiblobbuffer.h. Referenced by KexiImagePropertyEdit::drawViewer(), and KexiDBImageBox::pixmap(). |
|
|
Sets "stored" flag to true by setting non-temporary identifier. Only call this method for unstored (in memory) BLOBs Definition at line 93 of file kexiblobbuffer.cpp. References KexiBLOBBuffer::self(). Referenced by KexiFormView::storeData(). |
|
|
Definition at line 112 of file kexiblobbuffer.h. |
Friends And Related Function Documentation
|
|
Definition at line 138 of file kexiblobbuffer.h. |
The documentation for this class was generated from the following files:
