kjsembed
filedialog_binding.cpp
Go to the documentation of this file.
35 KJS::JSValue *callGetExistingDirectory( KJS::ExecState *exec, KJS::JSObject * /*self*/, const KJS::List &args )
40 QFileDialog::Options options = (QFileDialog::Options)KJSEmbed::extractVariant<uint>(exec, args, 3, QFileDialog::ShowDirsOnly);
45 KJS::JSValue *callGetOpenFileName( KJS::ExecState *exec, KJS::JSObject * /*self*/, const KJS::List &args )
52 QFileDialog::Options options = (QFileDialog::Options)KJSEmbed::extractVariant<uint>(exec, args, 4, 0);
57 KJS::JSValue *callGetOpenFileNames( KJS::ExecState *exec, KJS::JSObject * /*self*/, const KJS::List &args )
64 QFileDialog::Options options = (QFileDialog::Options)KJSEmbed::extractVariant<uint>(exec, args, 4, 0);
71 KJS::JSValue *callGetSaveFileName( KJS::ExecState *exec, KJS::JSObject * /*self*/, const KJS::List &args )
78 QFileDialog::Options options = (QFileDialog::Options)KJSEmbed::extractVariant<uint>(exec, args, 4, 0);
KJS::JSValue * callGetOpenFileNames(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: filedialog_binding.cpp:57
static const Method FileDialogMethods[]
Definition: filedialog_binding.h:35
KJS::JSValue * callGetExistingDirectory(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: filedialog_binding.cpp:35
Definition: variant_binding.cpp:130
KJS::JSValue * callGetOpenFileName(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: filedialog_binding.cpp:45
KJSEMBED_EXPORT KJS::JSValue * convertToValue(KJS::ExecState *exec, const QVariant &value)
Convert a QVariant to a KJS::JSValue.
Definition: variant_binding.cpp:298
KJS::JSValue * callGetSaveFileName(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: filedialog_binding.cpp:71
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.