From df6bde85bfd7206fc9dca3e84f6bd8a23056d051 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 28 Jul 2005 11:23:25 +0000 Subject: *** empty log message *** --- src/messagebox.cc | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'src/messagebox.cc') diff --git a/src/messagebox.cc b/src/messagebox.cc index 0f4b803..df0e813 100644 --- a/src/messagebox.cc +++ b/src/messagebox.cc @@ -24,23 +24,6 @@ * along with MIaV; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ - -/* - * $Id$ - */ - -/* - * $Log$ - * Revision 1.9 2005/05/03 08:31:59 deva - * Removed the error object, and replaced it with a more generic info object. - * - * Revision 1.8 2005/05/01 16:45:48 deva - * Icons added to messagebox. - * - * Revision 1.7 2005/05/01 09:56:26 deva - * Added Id and Log tags to all files - * - */ #include #ifdef USE_GUI #include "messagebox.h" @@ -148,8 +131,8 @@ MessageBox::MessageBox(QWidget* parent, } case TYPE_YES_NO: { - QPushButton *byes = createButton(f, TXT_YES ); QPushButton *bno = createButton(f, TXT_NO ); + QPushButton *byes = createButton(f, TXT_YES ); QGridLayout *glayout = new QGridLayout(f, 1, 2, 20, 20); glayout->addWidget(bno, 0, 0); glayout->addWidget(byes, 0, 1); @@ -159,9 +142,9 @@ MessageBox::MessageBox(QWidget* parent, } case TYPE_YES_NO_MAYBE: { - QPushButton *byes = createButton(f, TXT_YES ); - QPushButton *bno = createButton(f, TXT_NO ); QPushButton *bmaybe = createButton(f, TXT_MAYBE ); + QPushButton *bno = createButton(f, TXT_NO ); + QPushButton *byes = createButton(f, TXT_YES ); QGridLayout *glayout = new QGridLayout(f, 1, 3, 20, 20); glayout->addWidget(bno, 0, 0); glayout->addWidget(byes, 0, 1); @@ -173,9 +156,9 @@ MessageBox::MessageBox(QWidget* parent, } case TYPE_YES_NO_CANCEL: { - QPushButton *byes = createButton(f, TXT_YES ); QPushButton *bcancel = createButton(f, TXT_CANCEL ); QPushButton *bno = createButton(f, TXT_NO ); + QPushButton *byes = createButton(f, TXT_YES ); QGridLayout *glayout = new QGridLayout(f, 1, 3, 20, 20); glayout->addWidget(bno, 0, 0); glayout->addWidget(bcancel, 0, 1); @@ -187,10 +170,10 @@ MessageBox::MessageBox(QWidget* parent, } case TYPE_YES_NO_MAYBE_CANCEL: { - QPushButton *byes = createButton(f, TXT_YES ); + QPushButton *bmaybe = createButton(f, TXT_MAYBE ); QPushButton *bcancel = createButton(f, TXT_CANCEL ); QPushButton *bno = createButton(f, TXT_NO ); - QPushButton *bmaybe = createButton(f, TXT_MAYBE ); + QPushButton *byes = createButton(f, TXT_YES ); QGridLayout *glayout = new QGridLayout(f, 1, 4, 20, 20); glayout->addWidget(bno, 0, 0); glayout->addWidget(bcancel, 0, 1); -- cgit v1.2.3