summaryrefslogtreecommitdiff
path: root/src/messagebox.cc
diff options
context:
space:
mode:
authordeva <deva>2005-03-24 16:47:23 +0000
committerdeva <deva>2005-03-24 16:47:23 +0000
commitfed5c1dbf6a6c01719efc686a3d966f810ab0ade (patch)
tree82958aea393b42e527559456a47aaad03cdbd42f /src/messagebox.cc
parent215a98d25d26ed5f1d38deced21da5d8daae69b7 (diff)
Made the configurationfile parser
Diffstat (limited to 'src/messagebox.cc')
-rw-r--r--src/messagebox.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/messagebox.cc b/src/messagebox.cc
index a636bd7..fe255ae 100644
--- a/src/messagebox.cc
+++ b/src/messagebox.cc
@@ -64,19 +64,15 @@ MessageBox::MessageBox(QWidget* parent,
{
switch(type) {
case TYPE_OK:
- printf("using info icon!\n");
pix_icon->load( "info.png" );
break;
case TYPE_OK_CANCEL:
- printf("using warning icon!\n");
pix_icon->load( "warning.png" );
break;
case TYPE_YES_NO:
- printf("using question icon!\n");
pix_icon->load( "question.png" );
break;
case TYPE_YES_NO_CANCEL:
- printf("using question icon!\n");
pix_icon->load( "question.png" );
break;
}
@@ -84,25 +80,21 @@ MessageBox::MessageBox(QWidget* parent,
}
case ICON_INFO: // An info icon (matching the ok button)
{
- printf("using info icon!\n");
pix_icon->load( "info.png" );
break;
}
case ICON_WARN: // An warning icon (matching the ok/cancel button)
{
- printf("using warning icon!\n");
pix_icon->load( "warning.png" );
break;
}
case ICON_ERROR: // An critical error icon
{
- printf("using error icon!\n");
pix_icon->load( "error.png" );
break;
}
case ICON_QUESTION:// An question icon (matching the yes/no and yes/no/cancel buttons)
{
- printf("using question icon!\n");
pix_icon->load( "question.png" );
break;
}