From: Reto Zingg Date: Sat, 18 Sep 2010 09:54:01 +0000 (+0300) Subject: fine tune support for new file formats X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=e6e26736a0eb2c5e0f08833a02e194f518b37f47;p=libqmvoc.git fine tune support for new file formats --- diff --git a/qmvocdocument.cpp b/qmvocdocument.cpp index a8125e4..4e0b47d 100644 --- a/qmvocdocument.cpp +++ b/qmvocdocument.cpp @@ -901,13 +901,16 @@ QString QmVocDocument::pattern( FileDialogMode mode ) const char* extensions; const char* description; } + + // removed filters + // { true, false, "*.wql", "KWordQuiz Document" }, + // { true, false, "*.xml.gz *.pau.gz", "Pauker Lesson" }, + // { true, false, "*.xdxf", "XML Dictionary Exchange Format" }, + filters[] = { { true, true, "*.kvtml", "KDE Vocabulary Document" }, - { true, false, "*.wql", "KWordQuiz Document" }, - { true, false, "*.xml.qz *.pau.gz", "Pauker Lesson" }, { true, false, "*.voc", "Vokabeltrainer" }, - { true, false, "*.xdxf", "XML Dictionary Exchange Format" }, - { true, true, "*.csv", "Comma Separated Values (CSV)" }, + { true, true, "*.tsv", "Tab Separated Values (TSV)" }, // last is marker for the end, do not remove it { false, false, 0, 0 } };