keygenwizard.cc

00001 #include <kdialog.h>
00002 #include <klocale.h>
00003 /****************************************************************************
00004 ** Form implementation generated from reading ui file './keygenwizard.ui'
00005 **
00006 ** Created: Mon Jul 16 17:43:54 2007
00007 **      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.8   edited Jan 11 14:47 $)
00008 **
00009 ** WARNING! All changes made in this file will be lost!
00010 ****************************************************************************/
00011 
00012 #include "keygenwizard.h"
00013 
00014 #include <qvariant.h>
00015 #include <kdialog.h>
00016 #include <qlabel.h>
00017 #include <qlayout.h>
00018 #include <qtooltip.h>
00019 #include <qwhatsthis.h>
00020 
00021 /*
00022  *  Constructs a KGWizardPage1 as a child of 'parent', with the
00023  *  name 'name' and widget flags set to 'f'.
00024  */
00025 KGWizardPage1::KGWizardPage1( QWidget* parent, const char* name, WFlags fl )
00026     : QWidget( parent, name, fl )
00027 {
00028     if ( !name )
00029     setName( "KGWizardPage1" );
00030     KGWizardPage1Layout = new QGridLayout( this, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "KGWizardPage1Layout"); 
00031 
00032     TextLabel1 = new QLabel( this, "TextLabel1" );
00033     TextLabel1->setTextFormat( QLabel::RichText );
00034     TextLabel1->setScaledContents( FALSE );
00035     TextLabel1->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) );
00036 
00037     KGWizardPage1Layout->addWidget( TextLabel1, 0, 0 );
00038     languageChange();
00039     resize( QSize(345, 142).expandedTo(minimumSizeHint()) );
00040     clearWState( WState_Polished );
00041 }
00042 
00043 /*
00044  *  Destroys the object and frees any allocated resources
00045  */
00046 KGWizardPage1::~KGWizardPage1()
00047 {
00048     // no need to delete child widgets, Qt does it all for us
00049 }
00050 
00051 /*
00052  *  Sets the strings of the subwidgets using the current
00053  *  language.
00054  */
00055 void KGWizardPage1::languageChange()
00056 {
00057     TextLabel1->setText( tr2i18n( "You have indicated that you wish to obtain or purchase a secure certificate. This wizard is intended to guide you through the procedure. You may cancel at any time, and this will abort the transaction." ) );
00058 }
00059 
00060 #include "keygenwizard.moc"
KDE Home | KDE Accessibility Home | Description of Access Keys