diff options
Diffstat (limited to 'src/profilemanagerbase.cpp')
-rw-r--r-- | src/profilemanagerbase.cpp | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/profilemanagerbase.cpp b/src/profilemanagerbase.cpp new file mode 100644 index 0000000..bb769c1 --- /dev/null +++ b/src/profilemanagerbase.cpp @@ -0,0 +1,53 @@ +#include <kdialog.h> +#include <klocale.h> +/**************************************************************************** +** Form implementation generated from reading ui file './profilemanagerbase.ui' +** +** Created: Mon Aug 28 16:23:54 2006 +** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.6 edited Aug 31 2005 $) +** +** WARNING! All changes made in this file will be lost! +****************************************************************************/ + +#include "profilemanagerbase.h" + +#include <qvariant.h> +#include <qlayout.h> +#include <qtooltip.h> +#include <qwhatsthis.h> + +/* + * Constructs a ProfileManagerDialogBase as a child of 'parent', with the + * name 'name' and widget flags set to 'f'. + */ +ProfileManagerDialogBase::ProfileManagerDialogBase( QWidget* parent, const char* name, WFlags fl ) + : QWidget( parent, name, fl ) +{ + if ( !name ) + setName( "ProfileManagerDialogBase" ); + setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)3, 0, 0, sizePolicy().hasHeightForWidth() ) ); + setMinimumSize( QSize( 550, 450 ) ); + ProfileManagerDialogBaseLayout = new QGridLayout( this, 1, 1, 11, 6, "ProfileManagerDialogBaseLayout"); + languageChange(); + resize( QSize(622, 622).expandedTo(minimumSizeHint()) ); + clearWState( WState_Polished ); +} + +/* + * Destroys the object and frees any allocated resources + */ +ProfileManagerDialogBase::~ProfileManagerDialogBase() +{ + // no need to delete child widgets, Qt does it all for us +} + +/* + * Sets the strings of the subwidgets using the current + * language. + */ +void ProfileManagerDialogBase::languageChange() +{ + setCaption( tr2i18n( "Profile Manager" ) ); +} + +#include "profilemanagerbase.moc" |