kjsembed
#include "fileio.h"#include <QtCore/QFile>#include "kjseglobal.h"#include <QtCore/QTemporaryFile>#include <QtCore/QDebug>Go to the source code of this file.
Functions | |
| END_OBJECT_METHOD object | close () |
| if (file->open((QIODevice::OpenModeFlag) KJSEmbed::extractInt(exec, args, 0))) | |
| if (file->open()) | |
| file | setAutoRemove (KJSEmbed::extractBool(exec, args, 1)) |
| END_STATIC_OBJECT_METHOD | START_STATIC_METHOD_LUT (FileIO) |
Variables | |
| END_OBJECT_METHOD QFile * | file = new QFile( KJSEmbed::extractQString( exec, args, 0) ) |
| result = KJS::jsBoolean( object->open( (QIODevice::OpenModeFlag) KJSEmbed::extractInt(exec, args, 0))) | |
Function Documentation
§ close()
| END_OBJECT_METHOD object close | ( | ) |
§ if() [1/2]
| if | ( | file-> | open(QIODevice::OpenModeFlag) KJSEmbed::extractInt(exec, args, 0) | ) |
Definition at line 64 of file fileio.cpp.
§ if() [2/2]
| if | ( | file-> | open() | ) |
Definition at line 99 of file fileio.cpp.
§ setAutoRemove()
| file setAutoRemove | ( | KJSEmbed::extractBool(exec, args, 1) | ) |
§ START_STATIC_METHOD_LUT()
| END_STATIC_OBJECT_METHOD START_STATIC_METHOD_LUT | ( | FileIO | ) |
Definition at line 107 of file fileio.cpp.
Variable Documentation
§ file
| delete file = new QFile( KJSEmbed::extractQString( exec, args, 0) ) |
Definition at line 63 of file fileio.cpp.
§ result
| END_OBJECT_METHOD result = KJS::jsBoolean( object->open( (QIODevice::OpenModeFlag) KJSEmbed::extractInt(exec, args, 0))) |
Definition at line 39 of file fileio.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Sun Oct 16 2016 15:15:24 by doxygen 1.8.12 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2016 The KDE developers.
Generated on Sun Oct 16 2016 15:15:24 by doxygen 1.8.12 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.