kjsembed
filedialog_binding.cpp
Go to the documentation of this file.
35KJS::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);
45KJS::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);
57KJS::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);
71KJS::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);
static const Method FileDialogMethods[]
Definition: filedialog_binding.h:35
KJS::JSValue * callGetSaveFileName(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: filedialog_binding.cpp:71
KJS::JSValue * callGetExistingDirectory(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: filedialog_binding.cpp:35
KJS::JSValue * callGetOpenFileName(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: filedialog_binding.cpp:45
KJS::JSValue * callGetOpenFileNames(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: filedialog_binding.cpp:57
Definition: application.h:33
KJSEMBED_EXPORT KJS::JSValue * convertToValue(KJS::ExecState *exec, const QVariant &value)
Convert a QVariant to a KJS::JSValue.
Definition: variant_binding.cpp:298
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.