summaryrefslogtreecommitdiffstats
path: root/kaddressbook/geowidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/geowidget.h')
-rw-r--r--kaddressbook/geowidget.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kaddressbook/geowidget.h b/kaddressbook/geowidget.h
index 85140849e..70b677232 100644
--- a/kaddressbook/geowidget.h
+++ b/kaddressbook/geowidget.h
@@ -45,7 +45,7 @@ class QPushButton;
typedef struct {
double latitude;
double longitude;
- QString country;
+ TQString country;
} GeoData;
class GeoWidget : public KAB::ContactEditorWidget
@@ -53,7 +53,7 @@ class GeoWidget : public KAB::ContactEditorWidget
Q_OBJECT
public:
- GeoWidget( KABC::AddressBook *ab, QWidget *parent, const char *name = 0 );
+ GeoWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
~GeoWidget();
void loadContact( KABC::Addressee *addr );
@@ -68,8 +68,8 @@ class GeoWidget : public KAB::ContactEditorWidget
KDoubleSpinBox *mLatitudeBox;
KDoubleSpinBox *mLongitudeBox;
- QCheckBox *mGeoIsValid;
- QPushButton *mExtendedButton;
+ TQCheckBox *mGeoIsValid;
+ TQPushButton *mExtendedButton;
bool mReadOnly;
};
@@ -79,7 +79,7 @@ class GeoDialog : public KDialogBase
Q_OBJECT
public:
- GeoDialog( QWidget *parent, const char *name = 0 );
+ GeoDialog( TQWidget *parent, const char *name = 0 );
~GeoDialog();
void setLatitude( double latitude );
@@ -97,25 +97,25 @@ class GeoDialog : public KDialogBase
private:
void loadCityList();
- double calculateCoordinate( const QString& ) const;
+ double calculateCoordinate( const TQString& ) const;
int nearestCity( double, double ) const;
GeoMapWidget *mMapWidget;
KComboBox *mCityCombo;
- QSpinBox *mLatDegrees;
- QSpinBox *mLatMinutes;
- QSpinBox *mLatSeconds;
+ TQSpinBox *mLatDegrees;
+ TQSpinBox *mLatMinutes;
+ TQSpinBox *mLatSeconds;
KComboBox *mLatDirection;
- QSpinBox *mLongDegrees;
- QSpinBox *mLongMinutes;
- QSpinBox *mLongSeconds;
+ TQSpinBox *mLongDegrees;
+ TQSpinBox *mLongMinutes;
+ TQSpinBox *mLongSeconds;
KComboBox *mLongDirection;
double mLatitude;
double mLongitude;
- QMap<QString, GeoData> mGeoDataMap;
+ TQMap<TQString, GeoData> mGeoDataMap;
bool mUpdateSexagesimalInput;
};
@@ -124,7 +124,7 @@ class GeoMapWidget : public QWidget
Q_OBJECT
public:
- GeoMapWidget( QWidget *parent, const char *name = 0 );
+ GeoMapWidget( TQWidget *parent, const char *name = 0 );
~GeoMapWidget();
void setLatitude( double latitude );
@@ -137,8 +137,8 @@ class GeoMapWidget : public QWidget
void changed();
protected:
- virtual void mousePressEvent( QMouseEvent* );
- virtual void paintEvent( QPaintEvent* );
+ virtual void mousePressEvent( TQMouseEvent* );
+ virtual void paintEvent( TQPaintEvent* );
private:
double mLatitude;
@@ -148,12 +148,12 @@ class GeoMapWidget : public QWidget
class GeoWidgetFactory : public KAB::ContactEditorWidgetFactory
{
public:
- KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, QWidget *parent, const char *name )
+ KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
{
return new GeoWidget( ab, parent, name );
}
- QString pageIdentifier() const { return "misc"; }
+ TQString pageIdentifier() const { return "misc"; }
};
#endif