summaryrefslogtreecommitdiffstats
path: root/src/settingssearchurl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settingssearchurl.cpp')
-rw-r--r--src/settingssearchurl.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/settingssearchurl.cpp b/src/settingssearchurl.cpp
index 03c8983..99831bf 100644
--- a/src/settingssearchurl.cpp
+++ b/src/settingssearchurl.cpp
@@ -129,11 +129,11 @@ namespace KBibTeX
m_listviewSearchURLs = new TDEListView( this );
layout->addMultiCellWidget( m_listviewSearchURLs, 0, 4, 0, 0 );
- m_listviewSearchURLs->setAllColumnsShowFocus( TRUE );
+ m_listviewSearchURLs->setAllColumnsShowFocus( true );
m_listviewSearchURLs->addColumn( i18n( "Description" ) );
m_listviewSearchURLs->addColumn( i18n( "Author" ) );
m_listviewSearchURLs->addColumn( i18n( "URL" ) );
- m_listviewSearchURLs->header()->setClickEnabled( FALSE );
+ m_listviewSearchURLs->header()->setClickEnabled( false );
m_listviewSearchURLs->setFullWidth( true );
m_listviewSearchURLs->setMinimumWidth( 384 );
@@ -153,21 +153,21 @@ namespace KBibTeX
m_pushbuttonReset->setIconSet( TQIconSet( SmallIcon( "reload" ) ) );
layout->addWidget( m_pushbuttonReset, 4, 1 );
- connect( m_pushbuttonNew, SIGNAL( clicked() ), this, SLOT( slotNew() ) );
- connect( m_pushbuttonEdit, SIGNAL( clicked() ), this, SLOT( slotEdit() ) );
- connect( m_listviewSearchURLs, SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int ) ), this, SLOT( slotEdit() ) );
- connect( m_pushbuttonDelete, SIGNAL( clicked() ), this, SLOT( slotDelete() ) );
- connect( m_pushbuttonReset, SIGNAL( clicked() ), this, SLOT( slotReset() ) );
- connect( m_listviewSearchURLs, SIGNAL( selectionChanged( TQListViewItem * ) ), this, SLOT( updateGUI() ) );
- connect( m_listviewSearchURLs, SIGNAL( currentChanged( TQListViewItem * ) ), this, SLOT( updateGUI() ) );
- connect( m_listviewSearchURLs, SIGNAL( onItem( TQListViewItem * ) ), this, SLOT( updateGUI() ) );
+ connect( m_pushbuttonNew, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotNew() ) );
+ connect( m_pushbuttonEdit, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEdit() ) );
+ connect( m_listviewSearchURLs, TQ_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int ) ), this, TQ_SLOT( slotEdit() ) );
+ connect( m_pushbuttonDelete, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDelete() ) );
+ connect( m_pushbuttonReset, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotReset() ) );
+ connect( m_listviewSearchURLs, TQ_SIGNAL( selectionChanged( TQListViewItem * ) ), this, TQ_SLOT( updateGUI() ) );
+ connect( m_listviewSearchURLs, TQ_SIGNAL( currentChanged( TQListViewItem * ) ), this, TQ_SLOT( updateGUI() ) );
+ connect( m_listviewSearchURLs, TQ_SIGNAL( onItem( TQListViewItem * ) ), this, TQ_SLOT( updateGUI() ) );
updateGUI();
}
void SettingsSearchURL::urlDialog( TQListViewItem * item )
{
- KDialogBase * dlg = new KDialogBase( this, "urldialog", TRUE, item == NULL ? i18n( "New URL" ) : i18n( "Edit URL" ), KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, TRUE );
+ KDialogBase * dlg = new KDialogBase( this, "urldialog", true, item == NULL ? i18n( "New URL" ) : i18n( "Edit URL" ), KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true );
TQWidget *container = new TQWidget( dlg, "container" );
TQGridLayout *layout = new TQGridLayout( container, 3, 2, 0, KDialog::spacingHint() );
TQLabel *label = new TQLabel( i18n( "Description:" ), container );
@@ -184,7 +184,7 @@ namespace KBibTeX
TQToolTip::add( url, i18n( "Within the URL, '%1' will be replaced by the search term." ) );
label = new TQLabel( i18n( "Include Author:" ), container );
layout->addWidget( label, 2, 0 );
- TQComboBox *cbIncludeAuthor = new TQComboBox( FALSE, container );
+ TQComboBox *cbIncludeAuthor = new TQComboBox( false, container );
layout->addWidget( cbIncludeAuthor, 2, 1 );
label->setBuddy( cbIncludeAuthor );
cbIncludeAuthor->insertItem( i18n( "Yes" ) );