summaryrefslogtreecommitdiffstats
path: root/tdeui/tdelistbox.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 11:17:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-15 11:09:32 +0900
commit7f03918f8df7479b0e1a88288066201a301e87bf (patch)
treeef42e0c7ecbd6d292ca5aa7f3aeca141dd65cdb1 /tdeui/tdelistbox.cpp
parentccaaecf59c0e607be633c45ad3b7bb1ef29e981f (diff)
downloadtdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.tar.gz
tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
Diffstat (limited to 'tdeui/tdelistbox.cpp')
-rw-r--r--tdeui/tdelistbox.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/tdeui/tdelistbox.cpp b/tdeui/tdelistbox.cpp
index a308f5cbe..256e1669d 100644
--- a/tdeui/tdelistbox.cpp
+++ b/tdeui/tdelistbox.cpp
@@ -30,22 +30,22 @@
TDEListBox::TDEListBox( TQWidget *parent, const char *name, WFlags f )
: TQListBox( parent, name, f ), d(0)
{
- connect( this, TQT_SIGNAL( onViewport() ),
- this, TQT_SLOT( slotOnViewport() ) );
- connect( this, TQT_SIGNAL( onItem( TQListBoxItem * ) ),
- this, TQT_SLOT( slotOnItem( TQListBoxItem * ) ) );
+ connect( this, TQ_SIGNAL( onViewport() ),
+ this, TQ_SLOT( slotOnViewport() ) );
+ connect( this, TQ_SIGNAL( onItem( TQListBoxItem * ) ),
+ this, TQ_SLOT( slotOnItem( TQListBoxItem * ) ) );
slotSettingsChanged(TDEApplication::SETTINGS_MOUSE);
if (kapp)
{
- connect( kapp, TQT_SIGNAL( settingsChanged(int) ), TQT_SLOT( slotSettingsChanged(int) ) );
+ connect( kapp, TQ_SIGNAL( settingsChanged(int) ), TQ_SLOT( slotSettingsChanged(int) ) );
kapp->addKipcEventMask( KIPC::SettingsChanged );
}
m_pCurrentItem = 0L;
m_pAutoSelect = new TQTimer( this );
- connect( m_pAutoSelect, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( slotAutoSelect() ) );
+ connect( m_pAutoSelect, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( slotAutoSelect() ) );
}
void TDEListBox::slotOnItem( TQListBoxItem *item )
@@ -75,27 +75,27 @@ void TDEListBox::slotSettingsChanged(int category)
return;
m_bUseSingle = TDEGlobalSettings::singleClick();
- disconnect( this, TQT_SIGNAL( mouseButtonClicked( int, TQListBoxItem *,
+ disconnect( this, TQ_SIGNAL( mouseButtonClicked( int, TQListBoxItem *,
const TQPoint & ) ),
- this, TQT_SLOT( slotMouseButtonClicked( int, TQListBoxItem *,
+ this, TQ_SLOT( slotMouseButtonClicked( int, TQListBoxItem *,
const TQPoint & ) ) );
-// disconnect( this, TQT_SIGNAL( doubleClicked( TQListBoxItem *,
+// disconnect( this, TQ_SIGNAL( doubleClicked( TQListBoxItem *,
// const TQPoint & ) ),
-// this, TQT_SLOT( slotExecute( TQListBoxItem *,
+// this, TQ_SLOT( slotExecute( TQListBoxItem *,
// const TQPoint & ) ) );
if( m_bUseSingle )
{
- connect( this, TQT_SIGNAL( mouseButtonClicked( int, TQListBoxItem *,
+ connect( this, TQ_SIGNAL( mouseButtonClicked( int, TQListBoxItem *,
const TQPoint & ) ),
- this, TQT_SLOT( slotMouseButtonClicked( int, TQListBoxItem *,
+ this, TQ_SLOT( slotMouseButtonClicked( int, TQListBoxItem *,
const TQPoint & ) ) );
}
else
{
-// connect( this, TQT_SIGNAL( doubleClicked( TQListBoxItem *,
+// connect( this, TQ_SIGNAL( doubleClicked( TQListBoxItem *,
// const TQPoint & ) ),
-// this, TQT_SLOT( slotExecute( TQListBoxItem *,
+// this, TQ_SLOT( slotExecute( TQListBoxItem *,
// const TQPoint & ) ) );
}