diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-04-09 20:52:09 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-04-09 20:52:09 +0200 |
commit | 91d2d7482c36e67cb36df9d1dcdbd989911e4ceb (patch) | |
tree | c842adfbb1a172d9b61241d7dde70354e821bb75 /src/qalculateresultdisplay.h | |
parent | 4870c0c8c53d3df6ba954b2b4d8ebd87a8c43060 (diff) | |
download | qalculate-tde-91d2d7482c36e67cb36df9d1dcdbd989911e4ceb.tar.gz qalculate-tde-91d2d7482c36e67cb36df9d1dcdbd989911e4ceb.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/qalculateresultdisplay.h')
-rw-r--r-- | src/qalculateresultdisplay.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/qalculateresultdisplay.h b/src/qalculateresultdisplay.h index c5c2af1..4117275 100644 --- a/src/qalculateresultdisplay.h +++ b/src/qalculateresultdisplay.h @@ -20,45 +20,45 @@ #ifndef QALCULATERESULTDISPLAY_H #define QALCULATERESULTDISPLAY_H -#include <qtextbrowser.h> +#include <tqtextbrowser.h> -class QPopupMenu; -class QToolTip; +class TQPopupMenu; +class TQToolTip; class MathStructure; /** @author Niklas Knutsson */ -class QalculateResultDisplay : public QTextBrowser { +class QalculateResultDisplay : public TQTextBrowser { Q_OBJECT public: - QalculateResultDisplay(QWidget *parent = 0, const char *name = 0); + QalculateResultDisplay(TQWidget *parent = 0, const char *name = 0); virtual ~QalculateResultDisplay(); - QPopupMenu *createPopupMenu(const QPoint & pos); + TQPopupMenu *createPopupMenu(const TQPoint & pos); - QToolTip *tooltip; + TQToolTip *tooltip; const MathStructure *m_under_pointer; - QString name_under_pointer; - QPoint curpos; + TQString name_under_pointer; + TQPoint curpos; - QSize minimumSizeHint() const; - QSize sizeHint() const; + TQSize minimumSizeHint() const; + TQSize sizeHint() const; void setRightMargin(int); public slots: - void onAnchorClicked(const QString&, const QString&); + void onAnchorClicked(const TQString&, const TQString&); void showParsedExpression(); private slots: void paletteChanged(); - void setSource(const QString &) {} + void setSource(const TQString &) {} void showInfo(); void editVector(); void editMatrix(); @@ -70,9 +70,9 @@ private slots: protected: void virtual_hook(int id, void* data); - void focusInEvent(QFocusEvent *fe); - void focusOutEvent(QFocusEvent *fe); - void keyPressEvent(QKeyEvent *e); + void focusInEvent(TQFocusEvent *fe); + void focusOutEvent(TQFocusEvent *fe); + void keyPressEvent(TQKeyEvent *e); }; |