API reference - Class QClipboardNotation used in Ruby API documentation Description: Binding of QClipboard Class hierarchy: QClipboard » QObject Sub-classes: Mode
Public constructors
Public methods
Public static methods and constants
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[static,const] new QClipboard_Mode ptr ClipboardDescription: Enum constant QClipboard::Clipboard [static,const] new QClipboard_Mode ptr FindBufferDescription: Enum constant QClipboard::FindBuffer [static,const] new QClipboard_Mode ptr LastModeDescription: Enum constant QClipboard::LastMode [static,const] new QClipboard_Mode ptr SelectionDescription: Enum constant QClipboard::Selection void _createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. [const] bool _destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool _is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. [event] void changed(const QClipboard_Mode mode)Description: Signal declaration for QClipboard::changed(QClipboard::Mode mode) You can bind a procedure to this signal. void clear(const QClipboard_Mode mode = QClipboard::Clipboard)Description: Method void QClipboard::clear(QClipboard::Mode mode) void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead [event] void dataChangedDescription: Signal declaration for QClipboard::dataChanged() You can bind a procedure to this signal. [event] void destroyed(QObject ptr arg1)Description: Signal declaration for QClipboard::destroyed(QObject *) You can bind a procedure to this signal. [event] void findBufferChangedDescription: Signal declaration for QClipboard::findBufferChanged() You can bind a procedure to this signal. [const] QImage image(const QClipboard_Mode mode = QClipboard::Clipboard)Description: Method QImage QClipboard::image(QClipboard::Mode mode) [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [const] const QMimeData ptr mimeData(const QClipboard_Mode mode = QClipboard::Clipboard)Description: Method const QMimeData *QClipboard::mimeData(QClipboard::Mode mode) [static] new QClipboard ptr newDescription: Creates a new object of this class Python specific notes:This method is the default initializer of the object [const] bool ownsClipboardDescription: Method bool QClipboard::ownsClipboard() [const] bool ownsFindBufferDescription: Method bool QClipboard::ownsFindBuffer() [const] bool ownsSelectionDescription: Method bool QClipboard::ownsSelection() [const] QPixmap pixmap(const QClipboard_Mode mode = QClipboard::Clipboard)Description: Method QPixmap QClipboard::pixmap(QClipboard::Mode mode) [event] void selectionChangedDescription: Signal declaration for QClipboard::selectionChanged() You can bind a procedure to this signal. void setImage(const QImage arg1,const QClipboard_Mode mode = QClipboard::Clipboard)Description: Method void QClipboard::setImage(const QImage &, QClipboard::Mode mode) void setMimeData(QMimeData ptr data,const QClipboard_Mode mode = QClipboard::Clipboard)Description: Method void QClipboard::setMimeData(QMimeData *data, QClipboard::Mode mode) void setPixmap(const QPixmap arg1,const QClipboard_Mode mode = QClipboard::Clipboard)Description: Method void QClipboard::setPixmap(const QPixmap &, QClipboard::Mode mode) void setText(string arg1,const QClipboard_Mode mode = QClipboard::Clipboard)Description: Method void QClipboard::setText(const QString &, QClipboard::Mode mode) [static] QMetaObject staticMetaObjectDescription: Obtains the static MetaObject for this class. [const] bool supportsFindBufferDescription: Method bool QClipboard::supportsFindBuffer() [const] bool supportsSelectionDescription: Method bool QClipboard::supportsSelection() [const] string text(const QClipboard_Mode mode = QClipboard::Clipboard)Description: Method QString QClipboard::text(QClipboard::Mode mode) [const] string text(string subtype,const QClipboard_Mode mode = QClipboard::Clipboard)Description: Method QString QClipboard::text(QString &subtype, QClipboard::Mode mode) [static] string tr(string s,string c = 0)Description: Static method QString QClipboard::tr(const char *s, const char *c) This method is static and can be called without an instance. [static] string tr(string s,string c,int n)Description: Static method QString QClipboard::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. [static] string trUtf8(string s,string c = 0)Description: Static method QString QClipboard::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. [static] string trUtf8(string s,string c,int n)Description: Static method QString QClipboard::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |