summaryrefslogtreecommitdiffstats
path: root/src/settingsediting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settingsediting.cpp')
-rw-r--r--src/settingsediting.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/settingsediting.cpp b/src/settingsediting.cpp
index 4431789..493c8bd 100644
--- a/src/settingsediting.cpp
+++ b/src/settingsediting.cpp
@@ -63,7 +63,7 @@ namespace KBibTeX
TQToolTip::add( m_urlRequesterNewPath->button(), i18n( "Select a path to add" ) );
m_pushButtonAddDir = new KPushButton( i18n( "Add" ), this );
m_pushButtonAddDir->setIconSet( TQIconSet( SmallIcon( "add" ) ) );
- m_pushButtonAddDir->setEnabled( FALSE );
+ m_pushButtonAddDir->setEnabled( false );
TQToolTip::add( m_pushButtonAddDir, i18n( "Add chosen path to list" ) );
layout->addWidget( m_pushButtonAddDir, 1, 2 );
@@ -77,18 +77,18 @@ namespace KBibTeX
layout->addMultiCellWidget( m_listViewPathList, 3, 4, 0, 1 );
m_pushButtonDelDir = new KPushButton( i18n( "Delete" ), this );
layout->addWidget( m_pushButtonDelDir, 3, 2 );
- m_pushButtonDelDir->setEnabled( FALSE );
+ m_pushButtonDelDir->setEnabled( false );
m_pushButtonDelDir->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) );
TQToolTip::add( m_pushButtonDelDir, i18n( "Remove selected path from list" ) );
layout->setRowStretch( 4, 1 );
layout->setColStretch( 0, 1 );
- connect( m_urlRequesterNewPath, SIGNAL( textChanged( const TQString& ) ), this, SLOT( slotTextChanged( const TQString& ) ) );
- connect( m_urlRequesterNewPath, SIGNAL( urlSelected( const TQString& ) ), this, SLOT( slotTextChanged( const TQString& ) ) );
- connect( m_pushButtonAddDir, SIGNAL( clicked() ), this, SLOT( slotAddDir() ) );
- connect( m_listViewPathList, SIGNAL( selectionChanged() ), this, SLOT( slotSelectionChanged() ) );
- connect( m_pushButtonDelDir, SIGNAL( clicked() ), this, SLOT( slotDelDir() ) );
+ connect( m_urlRequesterNewPath, TQ_SIGNAL( textChanged( const TQString& ) ), this, TQ_SLOT( slotTextChanged( const TQString& ) ) );
+ connect( m_urlRequesterNewPath, TQ_SIGNAL( urlSelected( const TQString& ) ), this, TQ_SLOT( slotTextChanged( const TQString& ) ) );
+ connect( m_pushButtonAddDir, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAddDir() ) );
+ connect( m_listViewPathList, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( slotSelectionChanged() ) );
+ connect( m_pushButtonDelDir, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDelDir() ) );
for ( TQStringList::Iterator it = pathList.begin(); it != pathList.end(); ++it )
new TQListViewItem( m_listViewPathList, *it );
@@ -99,8 +99,8 @@ namespace KBibTeX
KDialogBase *dlg = new KDialogBase( parent, "SettingsEditingPathsDialog", true, i18n( "Edit Document Search Paths" ), KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, false );
SettingsEditingPaths *sep = new SettingsEditingPaths( pathList, dlg, "SettingsEditingPaths" );
dlg->setMainWidget( sep );
- connect( dlg, SIGNAL( apply() ), sep, SLOT( slotApply() ) );
- connect( dlg, SIGNAL( okClicked() ), sep, SLOT( slotApply() ) );
+ connect( dlg, TQ_SIGNAL( apply() ), sep, TQ_SLOT( slotApply() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), sep, TQ_SLOT( slotApply() ) );
bool result = dlg->exec() == TQDialog::Accepted;
delete dlg;
@@ -133,7 +133,7 @@ namespace KBibTeX
{
TQListViewItem *item = new TDEListViewItem( m_listViewPathList, path );
m_listViewPathList->ensureItemVisible( item );
- m_listViewPathList->setSelected( item, TRUE );
+ m_listViewPathList->setSelected( item, true );
slotSelectionChanged();
}
else
@@ -160,7 +160,7 @@ namespace KBibTeX
group = new TQGroupBox( 2, TQt::Horizontal, i18n( "Main List" ), this );
layout->addWidget( group );
TQLabel *label = new TQLabel( i18n( "&Sorting:" ), group );
- m_comboBoxSortingColumn = new TQComboBox( FALSE, group );
+ m_comboBoxSortingColumn = new TQComboBox( false, group );
m_comboBoxSortingColumn->insertItem( i18n( "Element Type" ) );
m_comboBoxSortingColumn->insertItem( i18n( "Entry Id" ) );
for ( int i = 0; i <= ( int ) BibTeX::EntryField::ftYear - ( int ) BibTeX::EntryField::ftAbstract; i++ )
@@ -172,19 +172,19 @@ namespace KBibTeX
label->setBuddy( m_comboBoxSortingColumn );
label = new TQLabel( i18n( "So&rting order:" ), group );
- m_comboBoxSortingOrder = new TQComboBox( FALSE, group );
+ m_comboBoxSortingOrder = new TQComboBox( false, group );
m_comboBoxSortingOrder->insertItem( i18n( "Ascending" ) );
m_comboBoxSortingOrder->insertItem( i18n( "Descending" ) );
label->setBuddy( m_comboBoxSortingOrder );
label = new TQLabel( i18n( "&Double click action:" ), group );
- m_comboBoxDoubleClickAction = new TQComboBox( FALSE, group );
+ m_comboBoxDoubleClickAction = new TQComboBox( false, group );
m_comboBoxDoubleClickAction->insertItem( i18n( "Edit element" ) );
m_comboBoxDoubleClickAction->insertItem( i18n( "Open document" ) );
label->setBuddy( m_comboBoxDoubleClickAction );
label = new TQLabel( i18n( "On dragging with mouse:" ), group );
- m_comboBoxDragAction = new TQComboBox( FALSE, group );
+ m_comboBoxDragAction = new TQComboBox( false, group );
m_comboBoxDragAction->insertItem( i18n( "Copy reference (\\cite{...})" ) );
m_comboBoxDragAction->insertItem( i18n( "Copy BibTeX text (@article{...})" ) );
label->setBuddy( m_comboBoxDragAction );
@@ -229,16 +229,16 @@ namespace KBibTeX
layout->addStretch();
- connect( m_checkBoxSearchBarClearField, SIGNAL( toggled( bool ) ), this, SLOT( slotConfigChanged() ) );
- connect( m_checkBoxEnableAllFields, SIGNAL( toggled( bool ) ), this, SLOT( slotConfigChanged() ) );
- connect( m_comboBoxDoubleClickAction, SIGNAL( activated( int ) ), this, SLOT( slotConfigChanged() ) );
- connect( m_comboBoxDragAction, SIGNAL( activated( int ) ), this, SLOT( slotConfigChanged() ) );
- connect( m_comboBoxSortingColumn, SIGNAL( activated( int ) ), this, SLOT( slotConfigChanged() ) );
- connect( m_comboBoxSortingOrder, SIGNAL( activated( int ) ), this, SLOT( slotConfigChanged() ) );
- connect( m_pushButtonSpecialFont, SIGNAL( clicked() ), this, SLOT( slotSelectSpecialFont() ) );
- connect( m_checkBoxUseSpecialFont, SIGNAL( toggled( bool ) ), m_pushButtonSpecialFont, SLOT( setEnabled( bool ) ) );
- connect( m_checkBoxUseSpecialFont, SIGNAL( toggled( bool ) ), this, SLOT( slotConfigChanged() ) );
- connect( btnSelectDocumentSearchPath, SIGNAL( clicked() ), this, SLOT( slotSelectDocumentSearchPath() ) );
+ connect( m_checkBoxSearchBarClearField, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotConfigChanged() ) );
+ connect( m_checkBoxEnableAllFields, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotConfigChanged() ) );
+ connect( m_comboBoxDoubleClickAction, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotConfigChanged() ) );
+ connect( m_comboBoxDragAction, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotConfigChanged() ) );
+ connect( m_comboBoxSortingColumn, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotConfigChanged() ) );
+ connect( m_comboBoxSortingOrder, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotConfigChanged() ) );
+ connect( m_pushButtonSpecialFont, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotSelectSpecialFont() ) );
+ connect( m_checkBoxUseSpecialFont, TQ_SIGNAL( toggled( bool ) ), m_pushButtonSpecialFont, TQ_SLOT( setEnabled( bool ) ) );
+ connect( m_checkBoxUseSpecialFont, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotConfigChanged() ) );
+ connect( btnSelectDocumentSearchPath, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotSelectDocumentSearchPath() ) );
}