• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/kssl
 

tdeio/kssl

ksslcertdlg.h

00001 /* This file is part of the KDE project
00002  *
00003  * Copyright (C) 2001-2003 George Staikos <staikos@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 as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Library General Public License
00016  * along with this library; see the file COPYING.LIB.  If not, write to
00017  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA 02110-1301, USA.
00019  */
00020 
00021 #ifndef _KSSLCERTDLG_H
00022 #define _KSSLCERTDLG_H
00023 
00024 #include <tqstringlist.h>
00025 #include <kdialog.h>
00026 
00027 class TQWidget;
00028 class TQCheckBox;
00029 class TQRadioButton;
00030 class TQListView;
00031 class TQPushButton;
00032 
00043 class TDEIO_EXPORT KSSLCertDlg : public KDialog {
00044     Q_OBJECT
00045 public:
00053     KSSLCertDlg(TQWidget *parent=0L, const char *name=0L, bool modal=false);
00054 
00058     virtual ~KSSLCertDlg();
00059 
00068     void setup(TQStringList certs, bool saveChecked = false, bool sendChecked = true) KDE_DEPRECATED;
00069 
00077     void setupDialog(const TQStringList& certs, bool saveChecked = false, bool sendChecked = true);
00078 
00084     TQString getChoice();
00085 
00091     bool wantsToSend();
00092 
00098     bool saveChoice();
00099 
00105     void setHost(const TQString& host);
00106 
00107 private slots:
00108     void slotSend();
00109     void slotDont();
00110 
00111 private:
00112     class KSSLCertDlgPrivate;
00113     KSSLCertDlgPrivate *d;
00114     TQCheckBox *_save;
00115     TQRadioButton *_send, *_dont;
00116     TQListView *_certs;
00117     TQPushButton *_ok;
00118     TQString _host;
00119 };
00120 
00121 
00122 class TDEIO_EXPORT KSSLCertDlgRet {
00123 public:
00124    bool ok;
00125    TQString choice;
00126    bool send;
00127    bool save;
00128 
00129 protected:
00130    class KSSLCertDlgRetPrivate;
00131    KSSLCertDlgRetPrivate *d;
00132 };
00133 
00134 TDEIO_EXPORT TQDataStream& operator<<(TQDataStream& s, const KSSLCertDlgRet& r);
00135 TDEIO_EXPORT TQDataStream& operator>>(TQDataStream& s, KSSLCertDlgRet& r);
00136 
00137 #endif
00138 

tdeio/kssl

Skip menu "tdeio/kssl"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeio/kssl

Skip menu "tdeio/kssl"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/kssl by doxygen 1.7.1
This website is maintained by Timothy Pearson.