diff options
Diffstat (limited to 'libk9copy/processList.cpp')
-rw-r--r-- | libk9copy/processList.cpp | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/libk9copy/processList.cpp b/libk9copy/processList.cpp deleted file mode 100644 index 742c694..0000000 --- a/libk9copy/processList.cpp +++ /dev/null @@ -1,81 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './processList.ui' -** -** Created: dim. oct. 26 08:55:59 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "processList.h" - -#include <tqvariant.h> -#include <tqheader.h> -#include <tqlistview.h> -#include <kpushbutton.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include "kpushbutton.h" - -/* - * Constructs a processList as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -processList::processList( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "processList" ); - processListLayout = new TQGridLayout( this, 1, 1, 11, 6, "processListLayout"); - - lProcess = new TQListView( this, "lProcess" ); - lProcess->addColumn( tr2i18n( "Processes" ) ); - lProcess->addColumn( tr2i18n( "Elapsed" ) ); - lProcess->addColumn( tr2i18n( "..." ) ); - - processListLayout->addMultiCellWidget( lProcess, 0, 0, 0, 1 ); - - bCancel = new KPushButton( this, "bCancel" ); - bCancel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bCancel->sizePolicy().hasHeightForWidth() ) ); - bCancel->setProperty( "stdItem", 2 ); - - processListLayout->addWidget( bCancel, 1, 1 ); - spacer1 = new TQSpacerItem( 361, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - processListLayout->addItem( spacer1, 1, 0 ); - languageChange(); - resize( TQSize(600, 480).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( bCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bCancelClick() ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -processList::~processList() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void processList::languageChange() -{ - setCaption( tr2i18n( "Process List" ) ); - lProcess->header()->setLabel( 0, tr2i18n( "Processes" ) ); - lProcess->header()->setLabel( 1, tr2i18n( "Elapsed" ) ); - lProcess->header()->setLabel( 2, tr2i18n( "..." ) ); - bCancel->setText( tr2i18n( "&Cancel" ) ); - bCancel->setAccel( TQKeySequence( tr2i18n( "Alt+C" ) ) ); -} - -void processList::bCancelClick() -{ - tqWarning( "processList::bCancelClick(): Not implemented yet" ); -} - -#include "processList.moc" |