summaryrefslogtreecommitdiffstats
path: root/src/libgui/toplevel_ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/toplevel_ui.cpp')
-rw-r--r--src/libgui/toplevel_ui.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/libgui/toplevel_ui.cpp b/src/libgui/toplevel_ui.cpp
index 5e8db32..2bb50ee 100644
--- a/src/libgui/toplevel_ui.cpp
+++ b/src/libgui/toplevel_ui.cpp
@@ -8,18 +8,18 @@
***************************************************************************/
#include "toplevel_ui.h"
-#include <qstyle.h>
+#include <tqstyle.h>
#include <kiconloader.h>
#include "progs/list/prog_list.h"
#include "tools/list/tool_list.h"
//----------------------------------------------------------------------------
-ProgrammerStatusWidget::ProgrammerStatusWidget(QWidget *parent)
- : QObject(parent), KeyPopupButton<QString>(parent)
+ProgrammerStatusWidget::ProgrammerStatusWidget(TQWidget *tqparent)
+ : TQObject(tqparent), KeyPopupButton<TQString>(tqparent)
{
- connect(widget(), SIGNAL(activated(int)), SLOT(activatedSlot(int)));
- widget()->appendAction(i18n("Configure..."), "configure", this, SIGNAL(configure()));
+ connect(widget(), TQT_SIGNAL(activated(int)), TQT_SLOT(activatedSlot(int)));
+ widget()->appendAction(i18n("Configure..."), "configure", this, TQT_SIGNAL(configure()));
widget()->appendSeparator();
Programmer::Lister::ConstIterator it;
for (it=Programmer::lister().begin(); it!=Programmer::lister().end(); ++it)
@@ -32,12 +32,12 @@ void ProgrammerStatusWidget::activatedSlot(int id)
}
//----------------------------------------------------------------------------
-ToolStatusWidget::ToolStatusWidget(QWidget *parent)
- : QObject(parent), KeyPopupButton<QString>(parent)
+ToolStatusWidget::ToolStatusWidget(TQWidget *tqparent)
+ : TQObject(tqparent), KeyPopupButton<TQString>(tqparent)
{
- connect(widget(), SIGNAL(activated(int)), SLOT(activatedSlot(int)));
- widget()->appendAction(i18n("Configure Toolchain..."), "configure", this, SIGNAL(configureToolchain()));
- widget()->appendAction(i18n("Configure Compilation..."), "configure", this, SIGNAL(configure()));
+ connect(widget(), TQT_SIGNAL(activated(int)), TQT_SLOT(activatedSlot(int)));
+ widget()->appendAction(i18n("Configure Toolchain..."), "configure", this, TQT_SIGNAL(configureToolchain()));
+ widget()->appendAction(i18n("Configure Compilation..."), "configure", this, TQT_SIGNAL(configure()));
widget()->appendSeparator();
Tool::Lister::ConstIterator it;
for (it=Tool::lister().begin(); it!=Tool::lister().end(); ++it)
@@ -61,11 +61,11 @@ void ViewMenuAction::slotActivated()
}
//----------------------------------------------------------------------------
-MenuBarButton::MenuBarButton(const QString &icon, QWidget *parent)
- : QToolButton(parent, "menu_bar_button")
+MenuBarButton::MenuBarButton(const TQString &icon, TQWidget *tqparent)
+ : TQToolButton(tqparent, "menu_bar_button")
{
- QFontMetrics fm(font());
- int h = fm.height() + 2*style().pixelMetric(QStyle::PM_DefaultFrameWidth, this);
+ TQFontMetrics fm(font());
+ int h = fm.height() + 2*tqstyle().tqpixelMetric(TQStyle::PM_DefaultFrameWidth, this);
setFixedHeight(h);
KIconLoader loader;
setIconSet(loader.loadIconSet(icon, KIcon::Small, fm.height()-2));
@@ -73,7 +73,7 @@ MenuBarButton::MenuBarButton(const QString &icon, QWidget *parent)
setAutoRaise(true);
}
-QSize MenuBarButton::sizeHint() const
+TQSize MenuBarButton::tqsizeHint() const
{
- return QSize(QToolButton::sizeHint().width(), height());
+ return TQSize(TQToolButton::tqsizeHint().width(), height());
}