• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kio/kssl

keygenwizard2.cc

00001 #include <kdialog.h>
00002 #include <klocale.h>
00003 /****************************************************************************
00004 ** Form implementation generated from reading ui file './keygenwizard2.ui'
00005 **
00006 ** Created: 2010-02-08T15:28:06
00007 **
00008 ** WARNING! All changes made in this file will be lost!
00009 ****************************************************************************/
00010 
00011 #include "keygenwizard2.h"
00012 
00013 #include <qvariant.h>
00014 #include <kdialog.h>
00015 #include <qlabel.h>
00016 #include <qlineedit.h>
00017 #include <qlayout.h>
00018 #include <qtooltip.h>
00019 #include <qwhatsthis.h>
00020 
00021 /*
00022  *  Constructs a KGWizardPage2 as a child of 'parent', with the
00023  *  name 'name' and widget flags set to 'f'.
00024  */
00025 KGWizardPage2::KGWizardPage2( QWidget* parent, const char* name, WFlags fl )
00026     : QWidget( parent, name, fl )
00027 {
00028     if ( !name )
00029     setName( "KGWizardPage2" );
00030     KGWizardPage2Layout = new QGridLayout( this, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "KGWizardPage2Layout"); 
00031 
00032     TextLabel4 = new QLabel( this, "TextLabel4" );
00033     TextLabel4->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) );
00034 
00035     KGWizardPage2Layout->addMultiCellWidget( TextLabel4, 0, 0, 0, 1 );
00036 
00037     TextLabel6 = new QLabel( this, "TextLabel6" );
00038 
00039     KGWizardPage2Layout->addWidget( TextLabel6, 2, 0 );
00040 
00041     TextLabel5 = new QLabel( this, "TextLabel5" );
00042 
00043     KGWizardPage2Layout->addWidget( TextLabel5, 1, 0 );
00044 
00045     _password1 = new QLineEdit( this, "_password1" );
00046     _password1->setEchoMode( QLineEdit::Password );
00047 
00048     KGWizardPage2Layout->addWidget( _password1, 1, 1 );
00049 
00050     _password2 = new QLineEdit( this, "_password2" );
00051     _password2->setEchoMode( QLineEdit::Password );
00052 
00053     KGWizardPage2Layout->addWidget( _password2, 2, 1 );
00054     languageChange();
00055     resize( QSize(343, 155).expandedTo(minimumSizeHint()) );
00056     clearWState( WState_Polished );
00057 
00058     // buddies
00059     TextLabel6->setBuddy( _password2 );
00060     TextLabel5->setBuddy( _password1 );
00061 }
00062 
00063 /*
00064  *  Destroys the object and frees any allocated resources
00065  */
00066 KGWizardPage2::~KGWizardPage2()
00067 {
00068     // no need to delete child widgets, Qt does it all for us
00069 }
00070 
00071 /*
00072  *  Sets the strings of the subwidgets using the current
00073  *  language.
00074  */
00075 void KGWizardPage2::languageChange()
00076 {
00077     TextLabel4->setText( tr2i18n( "You must now provide a password for the certificate request. Please choose a very secure password as this will be used to encrypt your private key." ) );
00078     TextLabel6->setText( tr2i18n( "&Repeat password:" ) );
00079     TextLabel5->setText( tr2i18n( "&Choose password:" ) );
00080 }
00081 
00082 #include "keygenwizard2.moc"

kio/kssl

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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal