alertdialog.cpp

00001 /***************************************************************************
00002                           alertdialog.cpp  -  description
00003                              -------------------
00004     begin                : Sun Nov 4 2001
00005     copyright            : (C) 2001 by Eggert Ehmke
00006     email                : eggert.ehmke@berlin.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #include "alertdialog.h"
00019 
00020 AlertDialog::AlertDialog(QWidget *parent, const char *name ):
00021        AlertDlg(parent,name,true)
00022 {
00023        // position the dialog at the upper left corner of the main window.
00024        // if the main window is iconized, the last position on screen is used.
00025        setGeometry (parent->x (), parent->y (), width (), height ());
00026 
00027        // now show the dialog
00028        show ();
00029 }
00030 
00031 AlertDialog::~AlertDialog()
00032 {
00033 }
00034 
00035 void AlertDialog::slotOk ()
00036 {
00037        emit signalOk ();
00038 }
00039 

Generated on Thu Jul 5 19:36:06 2007 for kshowmail by  doxygen 1.5.0