00001 /**************************************************************************** 00002 ** $Id: dlogin.ui.h,v 1.3 2004/08/23 07:22:32 leader Exp $ 00003 ** 00004 ** Code file of the Ananas Login window 00005 ** of Ananas applications 00006 ** 00007 ** Created : 20040823 00008 ** 00009 ** Copyright (C) 2003-2004 Leader InfoTech. All rights reserved. 00010 ** 00011 ** This file is part of the Library of the Ananas 00012 ** automation accounting system. 00013 ** 00014 ** This file may be distributed and/or modified under the terms of the 00015 ** GNU General Public License version 2 as published by the Free Software 00016 ** Foundation and appearing in the file LICENSE.GPL included in the 00017 ** packaging of this file. 00018 ** 00019 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00020 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00021 ** 00022 ** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru 00023 ** See http://www.leaderit.ru/gpl/ for GPL licensing information. 00024 ** 00025 ** Contact org@leaderit.ru if any conditions of this licensing are 00026 ** not clear to you. 00027 ** 00028 **********************************************************************/ 00029 00030 void dLogin::init() 00031 { 00032 username = ""; 00033 password = ""; 00034 } 00035 00036 00037 void dLogin::buttonOK() 00038 { 00039 username = eName->text(); 00040 password = ePassword->text(); 00041 accept(); 00042 }