summaryrefslogtreecommitdiffstats
path: root/kaddressbook/geowidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/geowidget.cpp')
-rw-r--r--kaddressbook/geowidget.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kaddressbook/geowidget.cpp b/kaddressbook/geowidget.cpp
index ec8c92f9..4837a1ef 100644
--- a/kaddressbook/geowidget.cpp
+++ b/kaddressbook/geowidget.cpp
@@ -17,8 +17,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <kabc/geo.h>
@@ -44,8 +44,8 @@
#include "geowidget.h"
-GeoWidget::GeoWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
- : KAB::ContactEditorWidget( ab, parent, name ), mReadOnly( false )
+GeoWidget::GeoWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
+ : KAB::ContactEditorWidget( ab, tqparent, name ), mReadOnly( false )
{
TQLabel *label = 0;
@@ -56,7 +56,7 @@ GeoWidget::GeoWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name
label = new TQLabel( this );
label->setPixmap( KGlobal::iconLoader()->loadIcon( "package_network",
KIcon::Desktop, KIcon::SizeMedium ) );
- label->tqsetAlignment( Qt::AlignTop );
+ label->tqsetAlignment( TQt::AlignTop );
topLayout->addMultiCellWidget( label, 0, 3, 0, 0 );
mGeoIsValid = new TQCheckBox( i18n( "Use geo data" ), this );
@@ -157,9 +157,9 @@ void GeoWidget::editGeoData()
-GeoDialog::GeoDialog( TQWidget *parent, const char *name )
+GeoDialog::GeoDialog( TQWidget *tqparent, const char *name )
: KDialogBase( Plain, i18n( "Geo Data Input" ), Ok | Cancel, Ok,
- parent, name, true, true ),
+ tqparent, name, true, true ),
mUpdateSexagesimalInput( true )
{
TQFrame *page = plainPage();
@@ -408,9 +408,9 @@ void GeoDialog::loadCityList()
}
if ( !c.isEmpty() && !n.isEmpty() ) {
- pos = c.find( "+", 1 );
+ pos = c.tqfind( "+", 1 );
if ( pos < 0 )
- pos = c.find( "-", 1 );
+ pos = c.tqfind( "-", 1 );
if ( pos > 0 ) {
GeoData data;
data.latitude = calculateCoordinate( c.left( pos ) );
@@ -482,8 +482,8 @@ int GeoDialog::nearestCity( double x, double y ) const
}
-GeoMapWidget::GeoMapWidget( TQWidget *parent, const char *name )
- : TQWidget( parent, name ), mLatitude( 0 ), mLongitude( 0 )
+GeoMapWidget::GeoMapWidget( TQWidget *tqparent, const char *name )
+ : TQWidget( tqparent, name ), mLatitude( 0 ), mLongitude( 0 )
{
setBackgroundMode( NoBackground );