Exemple #1
0
 /// <remarks>
 ///  Sets the operational mode of the filedialog to <code>Saving</code>, <code>Opening</code>
 ///  or <code>Other.</code> This will set some flags that are specific to loading
 ///  or saving files. E.g. setKeepLocation() makes mostly sense for
 ///  a save-as dialog. So setOperationMode( KFileDialog.Saving ); sets
 ///  setKeepLocation for example.
 ///  The mode <code>Saving</code>, together with a default filter set via
 ///  setMimeFilter() will make the filter combobox read-only.
 ///  The default mode is <code>Opening.</code>
 ///  Call this method right after instantiating KFileDialog.
 /// </remarks>        <short>    Sets the operational mode of the filedialog to <code>Saving</code>, <code>Opening</code>  or <code>Other.</code></short>
 ///         <see> operationMode</see>
 ///         <see> KFileDialog.OperationMode</see>
 public void SetOperationMode(KFileDialog.OperationMode arg1)
 {
     interceptor.Invoke("setOperationMode$", "setOperationMode(KFileDialog::OperationMode)", typeof(void), typeof(KFileDialog.OperationMode), arg1);
 }
Exemple #2
0
 public KEncodingFileDialog(string startDir, string encoding, string filter, string caption, KFileDialog.OperationMode type)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KEncodingFileDialog$$$$$", "KEncodingFileDialog(const QString&, const QString&, const QString&, const QString&, KFileDialog::OperationMode)", typeof(void), typeof(string), startDir, typeof(string), encoding, typeof(string), filter, typeof(string), caption, typeof(KFileDialog.OperationMode), type);
 }