|
|
|
@ -210,9 +210,9 @@ bool App::confirmRequest( entity::Package p, component::State::Action a )
|
|
|
|
|
KDialogBase *db = new KDialogBase( KDialogBase::Plain, i18n( "Confirm action" ),
|
|
|
|
|
KDialogBase::Ok | KDialogBase::Cancel,
|
|
|
|
|
KDialogBase::Ok, this );
|
|
|
|
|
TQVBoxLayout *tqlayout = new TQVBoxLayout( db->plainPage() );
|
|
|
|
|
tqlayout->setSpacing( 4 );
|
|
|
|
|
// db->plainPage()->setLayout( tqlayout = new TQVBoxLayout( db->plainPage() ) );
|
|
|
|
|
TQVBoxLayout *layout = new TQVBoxLayout( db->plainPage() );
|
|
|
|
|
layout->setSpacing( 4 );
|
|
|
|
|
// db->plainPage()->setLayout( layout = new TQVBoxLayout( db->plainPage() ) );
|
|
|
|
|
// TQVBox *vb = new TQVBox( db );
|
|
|
|
|
TQLabel *txt = new TQLabel( db->plainPage() );
|
|
|
|
|
txt->setAlignment( TQt::AlignLeft | TQt::AlignTop | TQt::WordBreak );
|
|
|
|
@ -225,8 +225,8 @@ bool App::confirmRequest( entity::Package p, component::State::Action a )
|
|
|
|
|
l->setMinimumHeight( 220 );
|
|
|
|
|
l->setMinimumWidth( 320 );
|
|
|
|
|
l->setDisplayCheckboxes( false );
|
|
|
|
|
tqlayout->addWidget( txt );
|
|
|
|
|
tqlayout->addWidget( l );
|
|
|
|
|
layout->addWidget( txt );
|
|
|
|
|
layout->addWidget( l );
|
|
|
|
|
l->insertRange( filteredRange( d.entries(),
|
|
|
|
|
Adaptor( &entity::Desktop::package, p ) ) );
|
|
|
|
|
db->adjustSize();
|
|
|
|
|