[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/utils/krecipes/src
From:       José Manuel Santamaría Lema <panfaust () gmail ! com>
Date:       2009-04-18 20:32:30
Message-ID: 1240086750.792704.21675.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 955918 by joselema:

Removed Q3GroupBox from sqlite server settings  dialog.


 M  +10 -4     pref.cpp  


--- trunk/extragear/utils/krecipes/src/pref.cpp #955917:955918
@@ -368,19 +368,25 @@
 	#endif
 
 	// Backup options
-	Q3GroupBox *backupGBox = new Q3GroupBox( this, "backupGBox" );
+	QGroupBox *backupGBox = new QGroupBox( this );
 	backupGBox->setTitle( i18n( "Backup" ) );
-	backupGBox->setColumns( 2 );
-	Form1Layout->addWidget( backupGBox );
 
 	QLabel *dumpPathLabel = new QLabel( backupGBox );
 	dumpPathLabel->setText( i18n( "Path to '%1':" ,sqliteBinary));
+	
+	dumpPathRequester = new KUrlRequester;
+	
+	QGridLayout *backupGBoxLayout = new QGridLayout;
+	backupGBox->setLayout( backupGBoxLayout );
+	backupGBoxLayout->addWidget( dumpPathLabel, 0, 0 );
+	backupGBoxLayout->addWidget( dumpPathRequester, 0, 1 );
+	Form1Layout->addWidget( backupGBox );
 
 	// Load & Save Current Settings
 	KConfigGroup config = KGlobal::config()->group( "Server" );
 	fileRequester = new KUrlRequester( config.readEntry( "DBFile", \
KStandardDirs::locateLocal( "appdata", "krecipes.krecdb" ) ), hbox );  \
                hbox->setStretchFactor( fileRequester, 2 );
-	dumpPathRequester = new KUrlRequester( config.readEntry( "SQLitePath", sqliteBinary \
), backupGBox ); +	dumpPathRequester->setUrl( config.readEntry( "SQLitePath", \
sqliteBinary ) );  dumpPathRequester->setFilter( sqliteBinary );
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic