diff options
author | Slávek Banko <[email protected]> | 2013-06-29 12:56:53 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-04 03:11:35 +0200 |
commit | 5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch) | |
tree | c8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/settingsdlg.cpp | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/settingsdlg.cpp')
-rw-r--r-- | src/settingsdlg.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/settingsdlg.cpp b/src/settingsdlg.cpp index 938dc6b..2ad3bba 100644 --- a/src/settingsdlg.cpp +++ b/src/settingsdlg.cpp @@ -18,7 +18,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include <qlayout.h> +#include <ntqlayout.h> #include <klocale.h> #include <kiconloader.h> @@ -36,48 +36,48 @@ namespace KBibTeX { - SettingsDlg::SettingsDlg( QWidget *parent, const char *name ) + SettingsDlg::SettingsDlg( TQWidget *parent, const char *name ) : KDialogBase( Tabbed, i18n( "Configure" ), Ok | Apply | Cancel, Ok, parent, name, true ) { - QFrame * page = addPage( i18n( "&Editing" ) ); - QVBoxLayout *layout = new QVBoxLayout( page, 0, spacingHint() ); + TQFrame * page = addPage( i18n( "&Editing" ) ); + TQVBoxLayout *layout = new TQVBoxLayout( page, 0, spacingHint() ); m_editing = new SettingsEditing( page ); layout->addWidget( m_editing ); connect( m_editing, SIGNAL( configChanged() ), this, SLOT( slotConfigChanged() ) ); page = addPage( i18n( "&File Open&&Save" ) ); - layout = new QVBoxLayout( page, 0, spacingHint() ); + layout = new TQVBoxLayout( page, 0, spacingHint() ); m_fileIO = new SettingsFileIO( page ); layout->addWidget( m_fileIO ); connect( m_fileIO, SIGNAL( configChanged() ), this, SLOT( slotConfigChanged() ) ); page = addPage( i18n( "&Search URLs" ) ); - layout = new QVBoxLayout( page, 0, spacingHint() ); + layout = new TQVBoxLayout( page, 0, spacingHint() ); m_searchURL = new SettingsSearchURL( page ); layout->addWidget( m_searchURL ); connect( m_searchURL, SIGNAL( configChanged() ), this, SLOT( slotConfigChanged() ) ); - page = addPage( i18n( "Global &Keywords" ), QString::null, SmallIcon( "package" ) ); - layout = new QVBoxLayout( page, 0, spacingHint() ); + page = addPage( i18n( "Global &Keywords" ), TQString::null, SmallIcon( "package" ) ); + layout = new TQVBoxLayout( page, 0, spacingHint() ); m_keyword = new SettingsKeyword( page ); layout->addWidget( m_keyword ); connect( m_keyword, SIGNAL( configChanged() ), this, SLOT( slotConfigChanged() ) ); page = addPage( i18n( "Id Suggestions" ) ); - layout = new QVBoxLayout( page, 0, spacingHint() ); + layout = new TQVBoxLayout( page, 0, spacingHint() ); m_idSuggestions = new SettingsIdSuggestions( page ); layout->addWidget( m_idSuggestions ); connect( m_idSuggestions, SIGNAL( configChanged() ), this, SLOT( slotConfigChanged() ) ); page = addPage( i18n( "User Defined Fields" ) ); - layout = new QVBoxLayout( page, 0, spacingHint() ); + layout = new TQVBoxLayout( page, 0, spacingHint() ); m_userDefinedInput = new SettingsUserDefinedInput( page ); layout->addWidget( m_userDefinedInput ); connect( m_userDefinedInput, SIGNAL( configChanged() ), this, SLOT( slotConfigChanged() ) ); #ifdef HAVE_YAZ page = addPage( i18n( "Z39.50" ) ); - layout = new QVBoxLayout( page, 0, spacingHint() ); + layout = new TQVBoxLayout( page, 0, spacingHint() ); m_z3950config = new SettingsZ3950( page ); layout->addWidget( m_z3950config ); connect( m_z3950config, SIGNAL( configChanged() ), this, SLOT( slotConfigChanged() ) ); |