KIO
passworddialog.h
Go to the documentation of this file.
00001 /* This file is part of the KDE libraries 00002 Copyright (C) 2000 David Faure <faure@kde.org> 00003 Copyright (C) 2000 Dawit Alemayehu <adawit@kde.org> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License version 2 as published by the Free Software Foundation. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public 00015 License along with this library; see the file COPYING.LIB. If 00016 not, write to the Free Software Foundation, Inc., 51 Franklin Street, 00017 Fifth Floor, Boston, MA 02110-1301, USA. 00018 */ 00019 00020 #ifndef kio_pass_word_dialog_h 00021 #define kio_pass_word_dialog_h 00022 00023 #include <kio/kio_export.h> 00024 #include <kpassworddialog.h> 00025 00026 00027 namespace KIO { 00028 00037 class KIO_EXPORT_DEPRECATED PasswordDialog : public KPasswordDialog 00038 { 00039 Q_OBJECT 00040 00041 public: 00051 PasswordDialog( const QString& prompt, const QString& user, 00052 bool enableKeep = false, bool modal=true, 00053 QWidget* parent=0 ); 00054 00058 ~PasswordDialog(); 00059 00060 00077 static int getNameAndPassword( QString& user, QString& pass, bool* keep, 00078 const QString& prompt = QString(), 00079 bool readOnly = false, 00080 const QString& caption = QString(), 00081 const QString& comment = QString(), 00082 const QString& label = QString() ); 00083 00084 }; 00085 00086 } 00087 00088 #endif
KDE 4.6 API Reference