Summary: | KCalc does not appear in Window List | ||
---|---|---|---|
Product: | [Applications] kcalc | Reporter: | R (Chandra) Chandrasekhar <chandra> |
Component: | general | Assignee: | Bernd Wuebben <wuebben> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
R (Chandra) Chandrasekhar
2003-02-15 13:07:02 UTC
Subject: KDE_3_1_BRANCH: kdeutils/kcalc CVS commit by staikos: Make kcalc a KMainWindow CCMAIL: 54671-done@bugs.kde.org M +3 -3 kcalc.cpp 1.75.2.2 M +3 -3 kcalc.h 1.39.2.1 --- kdeutils/kcalc/kcalc.cpp #1.75.2.1:1.75.2.2 @@ -85,5 +85,5 @@ extern bool display_error; //------------------------------------------------------------------------- QtCalculator::QtCalculator(QWidget *parent, const char *name) - : KDialog(parent, name), inverse(false), hyp_mode(false), eestate(false), + : KMainWindow(parent, name), inverse(false), hyp_mode(false), eestate(false), refresh_display(false), display_size(DEC_SIZE), angle_mode(ANG_DEGREE), input_limit(0), input_count(0), decimal_point(0), precedence_base(0), @@ -2307,5 +2307,5 @@ bool QtCalculator::eventFilter(QObject * else { - return KDialog::eventFilter(o, e); + return KMainWindow::eventFilter(o, e); } } --- kdeutils/kcalc/kcalc.h #1.39:1.39.2.1 @@ -43,5 +43,5 @@ class DLabel; class KPushButton; -#include <kdialog.h> +#include <kmainwindow.h> #include "stats.h" @@ -174,5 +174,5 @@ typedef struct _DefStruct -class QtCalculator : public KDialog +class QtCalculator : public KMainWindow { Q_OBJECT |