summaryrefslogtreecommitdiffstats
path: root/src/qalculateresultdisplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qalculateresultdisplay.cpp')
-rw-r--r--src/qalculateresultdisplay.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/qalculateresultdisplay.cpp b/src/qalculateresultdisplay.cpp
index 03fed66..b8b95b2 100644
--- a/src/qalculateresultdisplay.cpp
+++ b/src/qalculateresultdisplay.cpp
@@ -237,10 +237,10 @@ QalculateResultDisplay::QalculateResultDisplay(TQWidget *parent, const char *nam
TQToolTipGroup *tgroup = new TQToolTipGroup(viewport());
tooltip = new QalculateExpressionToolTip(this, tgroup);
- //connect(this, SIGNAL(anchorClicked(const TQString&, const TQString&)), this, SLOT(onAnchorClicked(const TQString&, const TQString&)));
- connect(this, SIGNAL(doubleClicked(int, int)), this, SLOT(onDoubleClicked(int, int)));
+ //connect(this, TQ_SIGNAL(anchorClicked(const TQString&, const TQString&)), this, TQ_SLOT(onAnchorClicked(const TQString&, const TQString&)));
+ connect(this, TQ_SIGNAL(doubleClicked(int, int)), this, TQ_SLOT(onDoubleClicked(int, int)));
if(kapp) {
- connect(kapp, SIGNAL(tdedisplayPaletteChanged()), this, SLOT(paletteChanged()));
+ connect(kapp, TQ_SIGNAL(tdedisplayPaletteChanged()), this, TQ_SLOT(paletteChanged()));
}
}
@@ -288,13 +288,13 @@ TQPopupMenu *QalculateResultDisplay::createPopupMenu(const TQPoint &pos) {
}
int id = menu->insertItem(i18n("Normal"));
if(printops.min_exp == EXP_PRECISION) menu->setItemChecked(id, true);
- else menu->connectItem(id, this, SLOT(displayNormal()));
+ else menu->connectItem(id, this, TQ_SLOT(displayNormal()));
id = menu->insertItem(i18n("Engineering"));
if(printops.min_exp == EXP_BASE_3) menu->setItemChecked(id, true);
- else menu->connectItem(id, this, SLOT(displayEngineering()));
+ else menu->connectItem(id, this, TQ_SLOT(displayEngineering()));
id = menu->insertItem(i18n("Scientific"));
if(printops.min_exp == EXP_SCIENTIFIC) menu->setItemChecked(id, true);
- else menu->connectItem(id, this, SLOT(displayScientific()));
+ else menu->connectItem(id, this, TQ_SLOT(displayScientific()));
/*mainWin->ActionNumericalDisplayNormal->plug(menu);
mainWin->ActionNumericalDisplayEngineering->plug(menu);
mainWin->ActionNumericalDisplayScientific->plug(menu);*/
@@ -324,7 +324,7 @@ TQPopupMenu *QalculateResultDisplay::createPopupMenu(const TQPoint &pos) {
}
menu->insertSeparator();
TQPopupMenu *modes_menu = new TQPopupMenu(menu);
- TQObject::connect(modes_menu, SIGNAL(activated(int)), mainWin, SLOT(loadMode(int)));
+ TQObject::connect(modes_menu, TQ_SIGNAL(activated(int)), mainWin, TQ_SLOT(loadMode(int)));
for(size_t i = 0; i < modes.size(); i++) {
modes_menu->insertItem(modes[i].name, i, i);
}
@@ -334,24 +334,24 @@ TQPopupMenu *QalculateResultDisplay::createPopupMenu(const TQPoint &pos) {
menu->insertItem(i18n("Meta Modes"), modes_menu);
if(parsed_text.isEmpty()) return menu;
menu->insertSeparator();
- menu->insertItem(i18n("Show Parsed Expression"), this, SLOT(showParsedExpression()));
+ menu->insertItem(i18n("Show Parsed Expression"), this, TQ_SLOT(showParsedExpression()));
TQString str = anchorAt(pos, TQt::AnchorName);
if(!str.isEmpty()) {
if(str[0] == '+') {
name_under_pointer = str;
name_under_pointer.remove(0, 1);
- menu->insertItem(i18n("Show Object Info"), this, SLOT(showInfo()));
+ menu->insertItem(i18n("Show Object Info"), this, TQ_SLOT(showInfo()));
} else {
m_under_pointer = mainWin->getResultPart(str.toInt());
if(m_under_pointer) {
if(m_under_pointer->isVector()) {
if(m_under_pointer->isMatrix()) {
- menu->insertItem(i18n("View/Edit Matrix"), this, SLOT(editMatrix()));
+ menu->insertItem(i18n("View/Edit Matrix"), this, TQ_SLOT(editMatrix()));
} else {
- menu->insertItem(i18n("View/Edit Vector"), this, SLOT(editVector()));
+ menu->insertItem(i18n("View/Edit Vector"), this, TQ_SLOT(editVector()));
}
} else {
- menu->insertItem(i18n("Show Object Info"), this, SLOT(showInfo()));
+ menu->insertItem(i18n("Show Object Info"), this, TQ_SLOT(showInfo()));
}
}
}