summaryrefslogtreecommitdiffstats
path: root/kaddressbook/geowidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kaddressbook/geowidget.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/geowidget.cpp')
-rw-r--r--kaddressbook/geowidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kaddressbook/geowidget.cpp b/kaddressbook/geowidget.cpp
index 40631147..ec8c92f9 100644
--- a/kaddressbook/geowidget.cpp
+++ b/kaddressbook/geowidget.cpp
@@ -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->setAlignment( Qt::AlignTop );
+ label->tqsetAlignment( Qt::AlignTop );
topLayout->addMultiCellWidget( label, 0, 3, 0, 0 );
mGeoIsValid = new TQCheckBox( i18n( "Use geo data" ), this );
@@ -175,7 +175,7 @@ GeoDialog::GeoDialog( TQWidget *parent, const char *name )
topLayout->addWidget( mCityCombo, 0, 1 );
TQGroupBox *sexagesimalGroup = new TQGroupBox( 0, Vertical, i18n( "Sexagesimal" ), page );
- TQGridLayout *sexagesimalLayout = new TQGridLayout( sexagesimalGroup->layout(),
+ TQGridLayout *sexagesimalLayout = new TQGridLayout( sexagesimalGroup->tqlayout(),
2, 5, spacingHint() );
TQLabel *label = new TQLabel( i18n( "Latitude:" ), sexagesimalGroup );
@@ -404,7 +404,7 @@ void GeoDialog::loadCityList()
pos = name.search(line, pos);
if ( pos > 0 ) {
n = line.mid( pos, name.matchedLength() ).stripWhiteSpace();
- n.replace( '_', " " );
+ n.tqreplace( '_', " " );
}
if ( !c.isEmpty() && !n.isEmpty() ) {