Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

mbox.h

Go to the documentation of this file.
00001 /*
00002 Opie-sh.  convinience app to allow you to use qdialogs in scripts (mainly shell scripts)
00003 Copyright (C) 2002 Thomas Stephens
00004 
00005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
00006 License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
00007 version.
00008 
00009 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
00010 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
00011 Public License for more details.
00012 
00013 You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
00014 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00015 */
00016 
00017 #include <qdialog.h>
00018 #include <qstring.h>
00019 #include <qiconset.h>
00020 #include <qpixmap.h>
00021 #include <qlabel.h>
00022 #include <qlayout.h>
00023 #include <qpushbutton.h>
00024 #include <qwidget.h>
00025 
00026 #include <unistd.h>
00027 
00028 class MBox : public QDialog
00029 {
00030         Q_OBJECT
00031 public:
00032         MBox(int w, int h, int type, QString title, QString message, QString *btext0 = 0, QString *btext1= 0, QString *btext2 = 0, QWidget *parent=0, const char*name=0, bool modal=true, WFlags f=0);
00033 public slots:
00034         void b0pressed(){done(2);};
00035         void b1pressed(){done(3);};
00036         void b2pressed(){done(4);};
00037 };

Generated on Sat Nov 5 16:18:02 2005 for OPIE by  doxygen 1.4.2