diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 15:57:00 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 15:57:00 -0500 |
commit | b888c7edb54e483ec0e3c2e2ce0eafd73acdcc65 (patch) | |
tree | 7ca76d42f66fb21ea08142de9a8d3bf16e597404 /kshowmail/alertdialog.cpp | |
download | kshowmail-b888c7edb54e483ec0e3c2e2ce0eafd73acdcc65.tar.gz kshowmail-b888c7edb54e483ec0e3c2e2ce0eafd73acdcc65.zip |
Initial import from kshowmail 3.3.1 sources
Diffstat (limited to 'kshowmail/alertdialog.cpp')
-rw-r--r-- | kshowmail/alertdialog.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/kshowmail/alertdialog.cpp b/kshowmail/alertdialog.cpp new file mode 100644 index 0000000..b80f976 --- /dev/null +++ b/kshowmail/alertdialog.cpp @@ -0,0 +1,39 @@ +/*************************************************************************** + alertdialog.cpp - description + ------------------- + begin : Sun Nov 4 2001 + copyright : (C) 2001 by Eggert Ehmke + email : eggert.ehmke@berlin.de + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#include "alertdialog.h" + +AlertDialog::AlertDialog(QWidget *parent, const char *name ): + AlertDlg(parent,name,true) +{ + // position the dialog at the upper left corner of the main window. + // if the main window is iconized, the last position on screen is used. + setGeometry (parent->x (), parent->y (), width (), height ()); + + // now show the dialog + show (); +} + +AlertDialog::~AlertDialog() +{ +} + +void AlertDialog::slotOk () +{ + emit signalOk (); +} + |