summaryrefslogtreecommitdiffstats
path: root/tdeui/kjanuswidget.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/kjanuswidget.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/kjanuswidget.cpp')
-rw-r--r--tdeui/kjanuswidget.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/tdeui/kjanuswidget.cpp b/tdeui/kjanuswidget.cpp
index 685301ab8..a17afc59c 100644
--- a/tdeui/kjanuswidget.cpp
+++ b/tdeui/kjanuswidget.cpp
@@ -115,8 +115,8 @@ KJanusWidget::KJanusWidget( TQWidget *parent, const char *name, int face )
mTreeList->header()->hide();
mTreeList->setRootIsDecorated(true);
mTreeList->setSorting( -1 );
- connect( mTreeList, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotShowPage()) );
- connect( mTreeList, TQT_SIGNAL(clicked(TQListViewItem *)), TQT_SLOT(slotItemClicked(TQListViewItem *)));
+ connect( mTreeList, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotShowPage()) );
+ connect( mTreeList, TQ_SIGNAL(clicked(TQListViewItem *)), TQ_SLOT(slotItemClicked(TQListViewItem *)));
//
// Page area. Title at top with a separator below and a pagestack using
@@ -143,8 +143,8 @@ KJanusWidget::KJanusWidget( TQWidget *parent, const char *name, int face )
mIconList->setFont( listFont );
mIconList->verticalScrollBar()->installEventFilter( this );
- connect( mIconList, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotShowPage()));
- connect( mIconList, TQT_SIGNAL(onItem(TQListBoxItem *)), TQT_SLOT(slotOnItem(TQListBoxItem *)));
+ connect( mIconList, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotShowPage()));
+ connect( mIconList, TQ_SIGNAL(onItem(TQListBoxItem *)), TQ_SLOT(slotOnItem(TQListBoxItem *)));
hbox->addSpacing( KDialog::marginHint() );
page = new TQFrame( this );
@@ -170,8 +170,8 @@ KJanusWidget::KJanusWidget( TQWidget *parent, const char *name, int face )
vbox->addWidget( mTitleSep );
mPageStack = new TQWidgetStack( page );
- connect(mPageStack, TQT_SIGNAL(aboutToShow(TQWidget *)),
- TQT_SIGNAL(aboutToShowPage(TQWidget *)));
+ connect(mPageStack, TQ_SIGNAL(aboutToShow(TQWidget *)),
+ TQ_SIGNAL(aboutToShowPage(TQWidget *)));
vbox->addWidget( mPageStack, 10 );
}
else if( mFace == Tabbed )
@@ -180,8 +180,8 @@ KJanusWidget::KJanusWidget( TQWidget *parent, const char *name, int face )
mTabControl = new TQTabWidget( this );
mTabControl->setMargin (KDialog::marginHint());
- connect(mTabControl, TQT_SIGNAL(currentChanged(TQWidget *)),
- TQT_SIGNAL(aboutToShowPage(TQWidget *)));
+ connect(mTabControl, TQ_SIGNAL(currentChanged(TQWidget *)),
+ TQ_SIGNAL(aboutToShowPage(TQWidget *)));
topLayout->addWidget( mTabControl, 10 );
}
else if( mFace == Swallow )
@@ -197,7 +197,7 @@ KJanusWidget::KJanusWidget( TQWidget *parent, const char *name, int face )
}
if ( kapp )
- connect(kapp,TQT_SIGNAL(tdedisplayFontChanged()),TQT_SLOT(slotFontChanged()));
+ connect(kapp,TQ_SIGNAL(tdedisplayFontChanged()),TQ_SLOT(slotFontChanged()));
mValid = true;
setSwallowedWidget(0); // Set default size if 'mFace' is Swallow.
@@ -430,7 +430,7 @@ void KJanusWidget::InsertTreeListItem(const TQStringList &items, const TQPixmap
void KJanusWidget::addPageWidget( TQFrame *page, const TQStringList &items,
const TQString &header,const TQPixmap &pixmap )
{
- connect(page, TQT_SIGNAL(destroyed(TQObject*)), TQT_SLOT(pageGone(TQObject*)));
+ connect(page, TQ_SIGNAL(destroyed(TQObject*)), TQ_SLOT(pageGone(TQObject*)));
if( mFace == Tabbed )
{
@@ -856,9 +856,9 @@ void KJanusWidget::unfoldTreeList( bool persist )
if( mFace == TreeList )
{
if( persist )
- connect( mTreeList, TQT_SIGNAL( collapsed( TQListViewItem * ) ), this, TQT_SLOT( slotReopen( TQListViewItem * ) ) );
+ connect( mTreeList, TQ_SIGNAL( collapsed( TQListViewItem * ) ), this, TQ_SLOT( slotReopen( TQListViewItem * ) ) );
else
- disconnect( mTreeList, TQT_SIGNAL( collapsed( TQListViewItem * ) ), this, TQT_SLOT( slotReopen( TQListViewItem * ) ) );
+ disconnect( mTreeList, TQ_SIGNAL( collapsed( TQListViewItem * ) ), this, TQ_SLOT( slotReopen( TQListViewItem * ) ) );
for( TQListViewItem * item = mTreeList->firstChild(); item; item = item->itemBelow() )
item->setOpen( true );
@@ -878,7 +878,7 @@ void KJanusWidget::addButtonBelowList( const TQString & text, TQObject * recv, c
if( ( mFace == TreeList || mFace == IconList ) && d->mListFrame )
{
TQPushButton * button = new TQPushButton( text, d->mListFrame, "KJanusWidget::buttonBelowList" );
- connect( button, TQT_SIGNAL( clicked() ), recv, slot );
+ connect( button, TQ_SIGNAL( clicked() ), recv, slot );
}
}
@@ -887,7 +887,7 @@ void KJanusWidget::addButtonBelowList( const KGuiItem & item, TQObject * recv, c
if( ( mFace == TreeList || mFace == IconList ) && d->mListFrame )
{
KPushButton * button = new KPushButton( item, d->mListFrame, "KJanusWidget::buttonBelowList" );
- connect( button, TQT_SIGNAL( clicked() ), recv, slot );
+ connect( button, TQ_SIGNAL( clicked() ), recv, slot );
}
}