4
/****************************************************************************
5
** Form implementation generated from reading ui file '/root/gtk-qt-engine/gtk-qt-engine-0.8/kcm_gtk/mozillaprofile.ui'
7
** Created: Wed Jun 11 16:19:41 2008
9
** WARNING! All changes made in this file will be lost!
10
****************************************************************************/
12
#include "/root/gtk-qt-engine/gtk-qt-engine-0.8/kcm_gtk/mozillaprofile.h"
17
#include <klistview.h>
20
#include <qwhatsthis.h>
23
* Constructs a MozillaProfileWidget as a child of 'parent', with the
24
* name 'name' and widget flags set to 'f'.
26
MozillaProfileWidget::MozillaProfileWidget( QWidget* parent, const char* name, WFlags fl )
27
: QWidget( parent, name, fl )
30
setName( "MozillaProfileWidget" );
31
MozillaProfileWidgetLayout = new QVBoxLayout( this, 0, 6, "MozillaProfileWidgetLayout");
33
label = new QLabel( this, "label" );
34
label->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, label->sizePolicy().hasHeightForWidth() ) );
35
MozillaProfileWidgetLayout->addWidget( label );
37
profilesList = new KListView( this, "profilesList" );
38
profilesList->addColumn( tr2i18n( "Profile" ) );
39
profilesList->setProperty( "selectionMode", "Multi" );
40
profilesList->setRootIsDecorated( FALSE );
41
profilesList->setFullWidth( TRUE );
42
MozillaProfileWidgetLayout->addWidget( profilesList );
44
resize( QSize(309, 293).expandedTo(minimumSizeHint()) );
45
clearWState( WState_Polished );
49
* Destroys the object and frees any allocated resources
51
MozillaProfileWidget::~MozillaProfileWidget()
53
// no need to delete child widgets, Qt does it all for us
57
* Sets the strings of the subwidgets using the current
60
void MozillaProfileWidget::languageChange()
62
setCaption( tr2i18n( "Form2" ) );
63
label->setText( tr2i18n( "Please select the profiles that you want to fix:" ) );
64
profilesList->header()->setLabel( 0, tr2i18n( "Profile" ) );