|
|
|
@ -139,7 +139,7 @@ PreviewDialog::PreviewDialog( TQIODevice* device, Definition* d, TQString filena
|
|
|
|
|
connect( customerName, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( customerNameChanged(int) ) );
|
|
|
|
|
connect( customerId, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( customerIdChanged(int) ) );
|
|
|
|
|
|
|
|
|
|
KConfig* config = kapp->config();
|
|
|
|
|
TDEConfig* config = kapp->config();
|
|
|
|
|
config->setGroup( "PreviewDialog" );
|
|
|
|
|
resize( config->readNumEntry( "width", width() ), config->readNumEntry( "height", height() ) );
|
|
|
|
|
|
|
|
|
@ -149,7 +149,7 @@ PreviewDialog::PreviewDialog( TQIODevice* device, Definition* d, TQString filena
|
|
|
|
|
|
|
|
|
|
PreviewDialog::~PreviewDialog()
|
|
|
|
|
{
|
|
|
|
|
KConfig* config = kapp->config();
|
|
|
|
|
TDEConfig* config = kapp->config();
|
|
|
|
|
config->setGroup( "PreviewDialog" );
|
|
|
|
|
config->writeEntry( "width", width() );
|
|
|
|
|
config->writeEntry( "height", height() );
|
|
|
|
|