2 * Copyright (C) 2010 Toni Gundogdu.
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #include <QInputDialog>
22 #include <QMessageBox>
23 #include <QStringList>
24 #include <QTranslator>
31 typedef QListIterator
<QPair
<QString
,QString
> > FeedIterator
;
32 typedef QList
< QPair
<QString
,QString
> > Feed
;
39 const QSize
& defaultSize
=QSize(400,350)
47 const QPoint
& defaultPos
=QPoint(200,200)
65 info (QWidget
*, const QString
&);
68 crit (QWidget
*, const QString
&);
70 #define DEFAULTBTNS QMessageBox::Yes|QMessageBox::No
72 QMessageBox::StandardButton
73 ask (QWidget
*, const QString
&, QMessageBox::StandardButtons
=DEFAULTBTNS
);
78 find_qm (QStringList
&);
81 choose_lang (QWidget
*, QString
&);
87 parse_quvi_version (const QString
& path
, QString
& output
);
90 parse_quvi_support (const QString
& path
, QString
& errmsg
);
95 const QString
& user_regexp
,
97 const QString
& suffix
,
104 to_process_errmsg (QProcess::ProcessError
);
107 choose_from_feed (QWidget
*, QString
&);
110 reverse_line_order(const QString
&, const QString
& sep
="\n");
112 } // End of namespace.
116 // vim: set ts=2 sw=2 tw=72 expandtab: