kmail Library API Documentation

adddirectoryservicedialogimpl.cpp

00001 #ifdef HAVE_CONFIG_H
00002 #include <config.h>
00003 #endif
00004 
00005 #include "adddirectoryservicedialogimpl.h"
00006 
00007 #include <qvalidator.h>
00008 #include <klineedit.h>
00009 
00010 /*
00011  *  Constructs a AddDirectoryServiceDialogImpl which is a child of 'parent', with the
00012  *  name 'name' and widget flags set to 'f'
00013  *
00014  *  The dialog will by default be modeless, unless you set 'modal' to
00015  *  TRUE to construct a modal dialog.
00016  */
00017 AddDirectoryServiceDialogImpl::AddDirectoryServiceDialogImpl( QWidget* parent,  const char* name, bool modal, WFlags fl )
00018     : AddDirectoryServiceDialog( parent, name, modal, fl )
00019 {
00020     portED->setValidator( new QIntValidator( 0, 65535, portED ) );
00021 }
00022 
00023 /*
00024  *  Destroys the object and frees any allocated resources
00025  */
00026 AddDirectoryServiceDialogImpl::~AddDirectoryServiceDialogImpl()
00027 {
00028     // no need to delete child widgets, Qt does it all for us
00029 }
00030 
00031 #include "adddirectoryservicedialogimpl.moc"
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:37:13 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003