summaryrefslogtreecommitdiff
path: root/src/messagebox.cc
diff options
context:
space:
mode:
authordeva <deva>2005-07-28 11:23:25 +0000
committerdeva <deva>2005-07-28 11:23:25 +0000
commitdf6bde85bfd7206fc9dca3e84f6bd8a23056d051 (patch)
treec7e91844b2af4486c1bfa72ac273e596e01e89d6 /src/messagebox.cc
parent7e34d01db38e0af1bfdb5a20f2f20e8567bfa0b1 (diff)
*** empty log message ***
Diffstat (limited to 'src/messagebox.cc')
-rw-r--r--src/messagebox.cc29
1 files changed, 6 insertions, 23 deletions
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 <config.h>
#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);