KLayout Manual: Main Index » Class Index » API reference - Class QTemporaryFileAPI reference - Class QTemporaryFileNotation used in Ruby API documentation Description: Binding of QTemporaryFile Class hierarchy: QTemporaryFile » QFile » QIODevice » QObject Public constructors
Public methods
Public static methods and constants
Detailed description[const] bool autoRemoveDescription: Method bool QTemporaryFile::autoRemove() void autoRemove=(bool b)Description: Method void QTemporaryFile::setAutoRemove(bool b) 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. [static] QTemporaryFile ptr createLocalFile(QFile file)Description: Static method QTemporaryFile * QTemporaryFile::createLocalFile(QFile &file) This method is static and can be called without an instance. [static] QTemporaryFile ptr createLocalFile(string fileName)Description: Static method QTemporaryFile * QTemporaryFile::createLocalFile(const QString &fileName) This method is static and can be called without an instance. void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [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] string fileNameDescription: Method QString QTemporaryFile::fileName() [const] string fileTemplateDescription: Method QString QTemporaryFile::fileTemplate() void fileTemplate=(string name)Description: Method void QTemporaryFile::setFileTemplate(const QString &name) [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. [static] new QTemporaryFile newDescription: Constructor QTemporaryFile::QTemporaryFile() This method creates an object of class QTemporaryFile. [static] new QTemporaryFile new(QObject ptr parent)Description: Constructor QTemporaryFile::QTemporaryFile(QObject *parent) This method creates an object of class QTemporaryFile. [static] new QTemporaryFile new(string templateName)Description: Constructor QTemporaryFile::QTemporaryFile(const QString &templateName) This method creates an object of class QTemporaryFile. [static] new QTemporaryFile new(string templateName,QObject ptr parent)Description: Constructor QTemporaryFile::QTemporaryFile(const QString &templateName, QObject *parent) This method creates an object of class QTemporaryFile. bool openDescription: Method bool QTemporaryFile::open() void setAutoRemove(bool b)Description: Method void QTemporaryFile::setAutoRemove(bool b) void setFileTemplate(string name)Description: Method void QTemporaryFile::setFileTemplate(const QString &name) [static] QMetaObject staticMetaObjectDescription: Obtains the static MetaObject for this class. [static] string tr(string s)Description: Static method QString QTemporaryFile::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)Description: Static method QString QTemporaryFile::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 QTemporaryFile::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)Description: Static method QString QTemporaryFile::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)Description: Static method QString QTemporaryFile::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 QTemporaryFile::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |