summaryrefslogtreecommitdiffstats
path: root/akregator/src/tabwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/tabwidget.cpp')
-rw-r--r--akregator/src/tabwidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/akregator/src/tabwidget.cpp b/akregator/src/tabwidget.cpp
index 76c8b198..b1cbf9c5 100644
--- a/akregator/src/tabwidget.cpp
+++ b/akregator/src/tabwidget.cpp
@@ -70,15 +70,15 @@ TabWidget::TabWidget(TQWidget * parent, const char *name)
d->currentItem = 0;
setMinimumSize(250,150);
setTabReorderingEnabled(false);
- connect( this, TQT_SIGNAL( currentChanged(TQWidget *) ), this,
- TQT_SLOT( slotTabChanged(TQWidget *) ) );
- connect(this, TQT_SIGNAL(closeRequest(TQWidget*)), this, TQT_SLOT(slotCloseRequest(TQWidget*)));
+ connect( this, TQ_SIGNAL( currentChanged(TQWidget *) ), this,
+ TQ_SLOT( slotTabChanged(TQWidget *) ) );
+ connect(this, TQ_SIGNAL(closeRequest(TQWidget*)), this, TQ_SLOT(slotCloseRequest(TQWidget*)));
setHoverCloseButton(Settings::closeButtonOnTabs());
d->tabsClose = new TQToolButton(this);
d->tabsClose->setAccel(TQKeySequence("Ctrl+W"));
- connect( d->tabsClose, TQT_SIGNAL( clicked() ), this,
- TQT_SLOT( slotRemoveCurrentFrame() ) );
+ connect( d->tabsClose, TQ_SIGNAL( clicked() ), this,
+ TQ_SLOT( slotRemoveCurrentFrame() ) );
d->tabsClose->setIconSet( SmallIconSet( "tab_remove" ) );
d->tabsClose->adjustSize();
@@ -117,7 +117,7 @@ void TabWidget::addFrame(Frame *f)
return;
d->frames.insert(f->widget(), f);
addTab(f->widget(), f->title());
- connect(f, TQT_SIGNAL(titleChanged(Frame*, const TQString& )), this, TQT_SLOT(slotSetTitle(Frame*, const TQString& )));
+ connect(f, TQ_SIGNAL(titleChanged(Frame*, const TQString& )), this, TQ_SLOT(slotSetTitle(Frame*, const TQString& )));
slotSetTitle(f, f->title());
}
@@ -183,7 +183,7 @@ uint TabWidget::tabBarWidthForMaxChars( uint maxLength )
if ( tab->iconSet() )
iw = tab->iconSet()->pixmap( TQIconSet::Small, TQIconSet::Normal ).width() + 4;
- x += ( tabBar()->style().tqsizeFromContents( TQStyle::CT_TabBarTab, this, TQSize( TQMAX( lw + hframe + iw, TQApplication::globalStrut().width() ), 0 ), TQStyleOption( tab ) ) ).width();
+ x += ( tabBar()->style().sizeFromContents( TQStyle::CT_TabBarTab, this, TQSize( TQMAX( lw + hframe + iw, TQApplication::globalStrut().width() ), 0 ), TQStyleOption( tab ) ) ).width();
}
return x;
}