kio Library API Documentation

keygenwizard.cc

00001 #include <klocale.h>
00002 /****************************************************************************
00003 ** Form implementation generated from reading ui file './keygenwizard.ui'
00004 **
00005 ** Created: Sun Feb 27 21:53:16 2005
00006 **      by: The User Interface Compiler ($Id: qt/main.cpp   3.1.2   edited Dec 19 11:45 $)
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     clearWState( WState_Polished );
00039 }
00040 
00041 /*
00042  *  Destroys the object and frees any allocated resources
00043  */
00044 KGWizardPage1::~KGWizardPage1()
00045 {
00046     // no need to delete child widgets, Qt does it all for us
00047 }
00048 
00049 /*
00050  *  Sets the strings of the subwidgets using the current
00051  *  language.
00052  */
00053 void KGWizardPage1::languageChange()
00054 {
00055     setCaption( tr2i18n( "Form2" ) );
00056     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." ) );
00057 }
00058 
00059 #include "keygenwizard.moc"
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 27 22:15:29 2005 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001