Add (and install) svg for the new krunner interface.
[kdebase/uwolfer.git] / apps / kdialog / widgets.h
blob260ef0d885dcf6512f7d7f1e839b5e9adddc8288
1 //
2 // Copyright (C) 1998 Matthias Hoelzer <hoelzer@kde.org>
3 // Copyright (C) 2002-2005 David Faure <faure@kde.org>
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the7 implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef WIDGETS_H
22 #define WIDGETS_H
24 #include <QtCore/QByteRef>
25 #include <QtGui/QWidget>
26 #include <QtCore/QStringList>
28 namespace Widgets
30 bool inputBox(QWidget *parent, const QString& title, const QString& text, const QString& init, QString &result);
31 bool passwordBox(QWidget *parent, const QString& title, const QString& text, QString &result);
32 int textBox(QWidget *parent, int width, int height, const QString& title, const QString& file);
33 int textInputBox(QWidget *parent, int width, int height, const QString& title, const QStringList& args, QString &result);
34 bool listBox(QWidget *parent, const QString& title, const QString& text, const QStringList& args, const QString &defaultEntry, QString &result);
35 bool checkList(QWidget *parent, const QString& title, const QString& text, const QStringList& args, bool separateOutput, QStringList &result);
36 bool radioBox(QWidget *parent, const QString& title, const QString& text, const QStringList& args, QString &result);
37 bool comboBox(QWidget *parent, const QString& title, const QString& text, const QStringList& args, const QString& defaultEntry, QString &result);
38 bool progressBar(QWidget *parent, const QString& title, const QString& text, int totalSteps);
40 void handleXGeometry(QWidget * dlg);
44 #endif