summaryrefslogtreecommitdiffstats
path: root/yakuake/src/tab_bar.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:36:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-09 00:16:03 +0900
commit9e7f45da0cf8d3e505f8bfa7e801da01e117879b (patch)
tree8772c6fa471b0cbd725a01c9a39d5c3e23c4e89e /yakuake/src/tab_bar.cpp
parent3dc97a4798ea3c6802cc8aea8b82bb3393f26584 (diff)
downloadyakuake-9e7f45da0cf8d3e505f8bfa7e801da01e117879b.tar.gz
yakuake-9e7f45da0cf8d3e505f8bfa7e801da01e117879b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a71308e86c8cf4179b218a772a19e94553fa6aad)
Diffstat (limited to 'yakuake/src/tab_bar.cpp')
-rw-r--r--yakuake/src/tab_bar.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/yakuake/src/tab_bar.cpp b/yakuake/src/tab_bar.cpp
index 317243a..d33dc73 100644
--- a/yakuake/src/tab_bar.cpp
+++ b/yakuake/src/tab_bar.cpp
@@ -27,11 +27,11 @@ TabBar::TabBar(TQWidget* parent, const char* name, bool translucency, const TQSt
{
loadSkin(skin);
- connect(plus_button, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(addItem()));
- connect(minus_button, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(removeItem()));
- connect(tabs_widget, TQT_SIGNAL(itemSelected(int)), this, TQT_SIGNAL(itemSelected(int)));
- connect(tabs_widget, TQT_SIGNAL(addItem()), this, TQT_SIGNAL(addItem()));
- connect(this, TQT_SIGNAL(updateBackground()), this, TQT_SLOT(slotUpdateBackground()));
+ connect(plus_button, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(addItem()));
+ connect(minus_button, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(removeItem()));
+ connect(tabs_widget, TQ_SIGNAL(itemSelected(int)), this, TQ_SIGNAL(itemSelected(int)));
+ connect(tabs_widget, TQ_SIGNAL(addItem()), this, TQ_SIGNAL(addItem()));
+ connect(this, TQ_SIGNAL(updateBackground()), this, TQ_SLOT(slotUpdateBackground()));
}
TabBar::~TabBar()
@@ -150,18 +150,18 @@ void TabBar::loadSkin(const TQString& skin)
{
tabs_widget = new TabbedWidget(this, "Tabbed widget", useTranslucency());
TQWhatsThis::add(tabs_widget, i18n("The tab bar allows you to switch between sessions."));
- connect(this, TQT_SIGNAL(updateBackground()), tabs_widget, TQT_SLOT(slotUpdateBackground()));
+ connect(this, TQ_SIGNAL(updateBackground()), tabs_widget, TQ_SLOT(slotUpdateBackground()));
plus_button = new ImageButton(this, "Plus button", useTranslucency());
plus_button->setDelayedPopup(true);
TQToolTip::add(plus_button, i18n("New Session"));
TQWhatsThis::add(plus_button, i18n("Adds a new session. Press and hold to select session type from menu."));
- connect(this, TQT_SIGNAL(updateBackground()), plus_button, TQT_SLOT(slotUpdateBackground()));
+ connect(this, TQ_SIGNAL(updateBackground()), plus_button, TQ_SLOT(slotUpdateBackground()));
minus_button = new ImageButton(this, "Minus button", useTranslucency());
TQToolTip::add(minus_button, i18n("Close Session"));
TQWhatsThis::add(minus_button, i18n("Closes the active session."));
- connect(this, TQT_SIGNAL(updateBackground()), minus_button, TQT_SLOT(slotUpdateBackground()));
+ connect(this, TQ_SIGNAL(updateBackground()), minus_button, TQ_SLOT(slotUpdateBackground()));
setPixmaps(skin);