summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_goalseek.h
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/dialogs/kspread_dlg_goalseek.h')
-rw-r--r--kspread/dialogs/kspread_dlg_goalseek.h69
1 files changed, 35 insertions, 34 deletions
diff --git a/kspread/dialogs/kspread_dlg_goalseek.h b/kspread/dialogs/kspread_dlg_goalseek.h
index 966bcf17..b3b01f19 100644
--- a/kspread/dialogs/kspread_dlg_goalseek.h
+++ b/kspread/dialogs/kspread_dlg_goalseek.h
@@ -27,16 +27,16 @@
#define __kspread_dlg_goalseek__
#include <kdialog.h>
-#include <qpoint.h>
-#include <qrect.h>
+#include <tqpoint.h>
+#include <tqrect.h>
-class QFrame;
-class QGridLayout;
-class QHBoxLayout;
-class QLabel;
-class QLineEdit;
-class QPushButton;
-class QVBoxLayout;
+class TQFrame;
+class TQGridLayout;
+class TQHBoxLayout;
+class TQLabel;
+class TQLineEdit;
+class TQPushButton;
+class TQVBoxLayout;
namespace KSpread
{
@@ -48,16 +48,17 @@ class View;
class GoalSeekDialog : public KDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- GoalSeekDialog( View * parent, QPoint const & marker, const char * name = 0,
+ GoalSeekDialog( View * tqparent, TQPoint const & marker, const char * name = 0,
bool modal = FALSE, WFlags fl = 0 );
~GoalSeekDialog();
/**
* Find out which widget got focus.
*/
- bool eventFilter( QObject* obj, QEvent* ev );
+ bool eventFilter( TQObject* obj, TQEvent* ev );
public slots:
void buttonOkClicked();
@@ -65,11 +66,11 @@ class GoalSeekDialog : public KDialog
void slotSelectionChanged();
protected:
- virtual void closeEvent ( QCloseEvent * );
+ virtual void closeEvent ( TQCloseEvent * );
- QGridLayout * GoalSeekDialogLayout;
- QGridLayout * m_startFrameLayout;
- QGridLayout * m_resultFrameLayout;
+ TQGridLayout * GoalSeekDialogLayout;
+ TQGridLayout * m_startFrameLayout;
+ TQGridLayout * m_resultFrameLayout;
private:
View * m_pView;
@@ -80,32 +81,32 @@ class GoalSeekDialog : public KDialog
bool m_restored;
double m_oldSource;
- QString m_oldText;
- QString m_sheetName;
-
- QFrame * m_startFrame;
- QLineEdit * m_targetValueEdit;
- QLineEdit * m_targetEdit;
- QLineEdit * m_sourceEdit;
- QPushButton * m_buttonOk;
- QPushButton * m_buttonCancel;
- QFrame * m_resultFrame;
- QLabel * m_newValueDesc;
- QLabel * m_currentValueLabel;
- QLabel * m_newValue;
- QLabel * m_currentValue;
- QLabel * m_resultText;
+ TQString m_oldText;
+ TQString m_sheetName;
+
+ TQFrame * m_startFrame;
+ TQLineEdit * m_targetValueEdit;
+ TQLineEdit * m_targetEdit;
+ TQLineEdit * m_sourceEdit;
+ TQPushButton * m_buttonOk;
+ TQPushButton * m_buttonCancel;
+ TQFrame * m_resultFrame;
+ TQLabel * m_newValueDesc;
+ TQLabel * m_currentValueLabel;
+ TQLabel * m_newValue;
+ TQLabel * m_currentValue;
+ TQLabel * m_resultText;
/**
* Tells which of the lineedits has the logical focus currently.
* It may happen that a lineedit does not have qt focus but
* logical focus but not the other way round.
*/
- QLineEdit * m_focus;
+ TQLineEdit * m_focus;
- QPoint m_anchor;
- QPoint m_marker;
- QRect m_selection;
+ TQPoint m_anchor;
+ TQPoint m_marker;
+ TQRect m_selection;
void startCalc(double _start, double _goal);
void chooseCleanup();