kio Library API Documentation

keygenwizard.cc

00001 #include <klocale.h>
00002 /****************************************************************************
00003 ** Form implementation generated from reading ui file './keygenwizard.ui'
00004 **
00005 ** Created: Wed Oct 8 11:50:07 2003
00006 **      by: The User Interface Compiler ($Id: qt/main.cpp   3.1.1   edited Nov 21 17:40 $)
00007 **
00008 ** WARNING! All changes made in this file will be lost!
00009 ****************************************************************************/
00010 
00011 #include "keygenwizard.h"
00012 
00013 #include <qvariant.h>
00014 #include <qlabel.h>
00015 #include <qlayout.h>
00016 #include <qtooltip.h>
00017 #include <qwhatsthis.h>
00018 
00019 /* 
00020  *  Constructs a KGWizardPage1 as a child of 'parent', with the 
00021  *  name 'name' and widget flags set to 'f'.
00022  */
00023 KGWizardPage1::KGWizardPage1( QWidget* parent, const char* name, WFlags fl )
00024     : QWidget( parent, name, fl )
00025 {
00026     if ( !name )
00027     setName( "KGWizardPage1" );
00028     KGWizardPage1Layout = new QGridLayout( this, 1, 1, 11, 6, "KGWizardPage1Layout"); 
00029 
00030     TextLabel1 = new QLabel( this, "TextLabel1" );
00031     TextLabel1->setTextFormat( QLabel::RichText );
00032     TextLabel1->setScaledContents( FALSE );
00033     TextLabel1->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) );
00034 
00035     KGWizardPage1Layout->addWidget( TextLabel1, 0, 0 );
00036     languageChange();
00037     resize( QSize(345, 142).expandedTo(minimumSizeHint()) );
00038 }
00039 
00040 /*
00041  *  Destroys the object and frees any allocated resources
00042  */
00043 KGWizardPage1::~KGWizardPage1()
00044 {
00045     // no need to delete child widgets, Qt does it all for us
00046 }
00047 
00048 /*
00049  *  Sets the strings of the subwidgets using the current
00050  *  language.
00051  */
00052 void KGWizardPage1::languageChange()
00053 {
00054     setCaption( tr2i18n( "Form2" ) );
00055     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." ) );
00056 }
00057 
00058 #include "keygenwizard.moc"
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:21:29 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001