diff options
Diffstat (limited to 'kicker-applets/math/mathapplet.h')
-rw-r--r-- | kicker-applets/math/mathapplet.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kicker-applets/math/mathapplet.h b/kicker-applets/math/mathapplet.h index 1a918c3..8b483f2 100644 --- a/kicker-applets/math/mathapplet.h +++ b/kicker-applets/math/mathapplet.h @@ -26,7 +26,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef __mathapplet_h__ #define __mathapplet_h__ -#include <qstring.h> +#include <tqstring.h> #include <kpanelapplet.h> class QLabel; @@ -40,19 +40,19 @@ class MathApplet : public KPanelApplet Q_OBJECT public: - MathApplet(const QString& configFile, Type t = Stretch, int actions = 0, - QWidget *parent = 0, const char *name = 0); + MathApplet(const TQString& configFile, Type t = Stretch, int actions = 0, + TQWidget *parent = 0, const char *name = 0); virtual ~MathApplet(); int widthForHeight(int height) const; int heightForWidth(int width) const; protected: - void resizeEvent(QResizeEvent*); + void resizeEvent(TQResizeEvent*); void positionChange(KPanelApplet::Position); protected slots: - void evaluate(const QString&); + void evaluate(const TQString&); void popup_combo(); void setButtonText(); void useDegrees(); @@ -61,12 +61,12 @@ protected slots: private: void initContextMenu(); - void mousePressEvent(QMouseEvent *e); + void mousePressEvent(TQMouseEvent *e); KHistoryCombo *_input; - QLabel *_label; - QPushButton *_btn; - QHBox *_hbox; + TQLabel *_label; + TQPushButton *_btn; + TQHBox *_hbox; KPopupMenu *mContextMenu; bool m_hasFocus; }; |