summaryrefslogtreecommitdiffstats
path: root/src/entrywidgetexternal.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:29:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:29:06 +0900
commit0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06 (patch)
tree81b7f7a223d7304c91fde7e1deed6e928889a58f /src/entrywidgetexternal.cpp
parent702a473bc0db41979506a1bd7e1e5be31fb861a5 (diff)
downloadkbibtex-0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06.tar.gz
kbibtex-0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/entrywidgetexternal.cpp')
-rw-r--r--src/entrywidgetexternal.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/entrywidgetexternal.cpp b/src/entrywidgetexternal.cpp
index 3f5230a..c470483 100644
--- a/src/entrywidgetexternal.cpp
+++ b/src/entrywidgetexternal.cpp
@@ -89,9 +89,9 @@ namespace KBibTeX
void EntryWidgetExternal::reset( BibTeX::Entry *entry )
{
- disconnect( m_fieldLineEditURL, SIGNAL( textChanged() ), this, SLOT( updateGUI() ) );
- disconnect( m_fieldLineEditDoi, SIGNAL( textChanged() ), this, SLOT( updateGUI() ) );
- disconnect( m_fieldLineEditLocalFile, SIGNAL( textChanged() ), this, SLOT( updateGUI() ) );
+ disconnect( m_fieldLineEditURL, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( updateGUI() ) );
+ disconnect( m_fieldLineEditDoi, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( updateGUI() ) );
+ disconnect( m_fieldLineEditLocalFile, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( updateGUI() ) );
BibTeX::EntryField * field = entry->getField( BibTeX::EntryField::ftURL );
@@ -105,9 +105,9 @@ namespace KBibTeX
updateGUI();
- connect( m_fieldLineEditURL, SIGNAL( textChanged() ), this, SLOT( updateGUI() ) );
- connect( m_fieldLineEditDoi, SIGNAL( textChanged() ), this, SLOT( updateGUI() ) );
- connect( m_fieldLineEditLocalFile, SIGNAL( textChanged() ), this, SLOT( updateGUI() ) );
+ connect( m_fieldLineEditURL, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( updateGUI() ) );
+ connect( m_fieldLineEditDoi, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( updateGUI() ) );
+ connect( m_fieldLineEditLocalFile, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( updateGUI() ) );
}
void EntryWidgetExternal::updateWarnings( BibTeX::Entry::EntryType entryType, TQListView *listViewWarnings )
@@ -226,14 +226,14 @@ namespace KBibTeX
m_fieldLineEditURL->setFieldType( BibTeX::EntryField::ftURL );
gridLayout->addWidget( m_fieldLineEditURL, 0, 1 );
label->setBuddy( m_fieldLineEditURL );
- connect( m_fieldLineEditURL, SIGNAL( textChanged() ), this, SLOT( updateGUI() ) );
+ connect( m_fieldLineEditURL, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( updateGUI() ) );
m_pushButtonOpenURL = new KPushButton( this );
gridLayout->addWidget( m_pushButtonOpenURL, 0, 2 );
m_pushButtonOpenURL->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
m_pushButtonOpenURL->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
TQToolTip::add( m_pushButtonOpenURL, TQString( i18n( "Open %1" ) ).arg( i18n( "URL" ) ) );
- connect( m_pushButtonOpenURL, SIGNAL( clicked() ), this, SLOT( openURL() ) );
+ connect( m_pushButtonOpenURL, TQ_SIGNAL( clicked() ), this, TQ_SLOT( openURL() ) );
KURLLabel *urllabel = new KURLLabel( "http://www.doi.org/", TQString( "%1:" ).arg( i18n( "DOI" ) ), this );
TQToolTip::add( urllabel, i18n( "Digital Object Identifier" ) );
@@ -243,15 +243,15 @@ namespace KBibTeX
m_fieldLineEditDoi->setFieldType( BibTeX::EntryField::ftDoi );
gridLayout->addWidget( m_fieldLineEditDoi, 1, 1 );
urllabel->setBuddy( m_fieldLineEditDoi );
- connect( m_fieldLineEditDoi, SIGNAL( textChanged() ), this, SLOT( updateGUI() ) );
- connect( urllabel, SIGNAL( leftClickedURL( const TQString& ) ), this, SLOT( openURL( const TQString& ) ) );
+ connect( m_fieldLineEditDoi, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( updateGUI() ) );
+ connect( urllabel, TQ_SIGNAL( leftClickedURL( const TQString& ) ), this, TQ_SLOT( openURL( const TQString& ) ) );
m_pushButtonOpenDoi = new KPushButton( this );
gridLayout->addWidget( m_pushButtonOpenDoi, 1, 2 );
m_pushButtonOpenDoi->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
m_pushButtonOpenDoi->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
TQToolTip::add( m_pushButtonOpenDoi, i18n( "Open DOI" ) );
- connect( m_pushButtonOpenDoi, SIGNAL( clicked() ), this, SLOT( openDoi() ) );
+ connect( m_pushButtonOpenDoi, TQ_SIGNAL( clicked() ), this, TQ_SLOT( openDoi() ) );
label = new TQLabel( TQString( "%1:" ).arg( i18n( "Local File" ) ), this );
gridLayout->addWidget( label, 2, 0 );
@@ -259,14 +259,14 @@ namespace KBibTeX
m_fieldLineEditLocalFile->setFieldType( BibTeX::EntryField::ftLocalFile );
gridLayout->addWidget( m_fieldLineEditLocalFile, 2, 1 );
label->setBuddy( m_fieldLineEditLocalFile );
- connect( m_fieldLineEditLocalFile, SIGNAL( textChanged() ), this, SLOT( updateGUI() ) );
+ connect( m_fieldLineEditLocalFile, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( updateGUI() ) );
m_pushButtonOpenLocalFile = new KPushButton( this );
gridLayout->addWidget( m_pushButtonOpenLocalFile, 2, 2 );
m_pushButtonOpenLocalFile->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
m_pushButtonOpenLocalFile->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
TQToolTip::add( m_pushButtonOpenLocalFile, TQString( i18n( "Open %1" ) ).arg( i18n( "Local File" ) ) );
- connect( m_pushButtonOpenLocalFile, SIGNAL( clicked() ), this, SLOT( openLocalFile() ) );
+ connect( m_pushButtonOpenLocalFile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( openLocalFile() ) );
TQWidget *container = new TQWidget( this );
TQHBoxLayout *containerLayout = new TQHBoxLayout( container );
@@ -291,7 +291,7 @@ namespace KBibTeX
menu->insertItem( TQIconSet( SmallIcon( "folder" ) ), *it, i );
}
m_pushButtonBrowseLocalFile->setPopup( menu );
- connect( menu, SIGNAL( activated( int ) ), this, SLOT( browseLocalFile( int ) ) );
+ connect( menu, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( browseLocalFile( int ) ) );
}
}
#include "entrywidgetexternal.moc"