21 #ifndef __KENCODINGFILEDIALOG_H__
22 #define __KENCODINGFILEDIALOG_H__
24 #include <tdefiledialog.h>
26 struct KEncodingFileDialogPrivate;
45 TQStringList fileNames;
85 const TQString& encoding = TQString::null,
86 const TQString& filter = TQString::null,
88 TQWidget *parent= 0,
const char *name=
"",
bool modal =
true);
98 TQString selectedEncoding()
const;
128 static Result getOpenFileNameAndEncoding(
const TQString& encoding=TQString::null,
129 const TQString& startDir= TQString::null,
130 const TQString& filter= TQString::null,
132 const TQString& caption = TQString::null);
160 static Result getOpenFileNamesAndEncoding(
const TQString& encoding=TQString::null,
161 const TQString& startDir= TQString::null,
162 const TQString& filter= TQString::null,
163 TQWidget *parent = 0,
164 const TQString& caption= TQString::null);
192 static Result getOpenURLAndEncoding(
const TQString& encoding=TQString::null,
193 const TQString& startDir = TQString::null,
194 const TQString& filter= TQString::null,
196 const TQString& caption = TQString::null);
227 static Result getOpenURLsAndEncoding(
const TQString& encoding=TQString::null,
228 const TQString& startDir= TQString::null,
229 const TQString& filter= TQString::null,
230 TQWidget *parent = 0,
231 const TQString& caption= TQString::null);
263 static Result getSaveFileNameAndEncoding(
const TQString& encoding=TQString::null,
264 const TQString& startDir=TQString::null,
265 const TQString& filter= TQString::null,
267 const TQString& caption = TQString::null);
298 static Result getSaveURLAndEncoding(
const TQString& encoding=TQString::null,
299 const TQString& startDir= TQString::null,
300 const TQString& filter= TQString::null,
302 const TQString& caption = TQString::null);
307 virtual void virtual_hook(
int id,
void* data );
309 KEncodingFileDialogPrivate *d;
Provides a user (and developer) friendly way to select files with support for choosing encoding.
Provides a user (and developer) friendly way to select files and directories.
OperationMode
Defines some default behavior of the filedialog.