summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/locationdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/locationdialog.cpp')
-rw-r--r--kstars/kstars/locationdialog.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kstars/kstars/locationdialog.cpp b/kstars/kstars/locationdialog.cpp
index 57287329..2fe242f4 100644
--- a/kstars/kstars/locationdialog.cpp
+++ b/kstars/kstars/locationdialog.cpp
@@ -22,7 +22,7 @@
#include <kstandarddirs.h>
#include <klineedit.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
@@ -52,18 +52,18 @@ LocationDialog::LocationDialog( TQWidget* parent )
CityLay = new TQVBoxLayout( CityBox, 6, 4 ); //root mgr for CityBox
CityLay->setSpacing( 6 );
CityLay->setMargin( 6 );
- hlay = new TQHBoxLayout( 2 ); //this tqlayout will be added to CityLay
- vlay = new TQVBoxLayout( 2 ); //this tqlayout will be added to hlay
- glay = new TQGridLayout( 3, 2, 6 ); //this tqlayout will be added to vlay
+ hlay = new TQHBoxLayout( 2 ); //this layout will be added to CityLay
+ vlay = new TQVBoxLayout( 2 ); //this layout will be added to hlay
+ glay = new TQGridLayout( 3, 2, 6 ); //this layout will be added to vlay
CoordLay = new TQVBoxLayout( CoordBox, 6, 4 ); //root mgr for coordbox
CoordLay->setSpacing( 6 );
CoordLay->setMargin( 6 );
- glay2 = new TQGridLayout( 3, 4, 4 ); //this tqlayout will be added to CoordLay
- hlayCoord = new TQHBoxLayout( 2 ); //this tqlayout will be added to glay2
- hlayTZ = new TQHBoxLayout( 2 ); //this tqlayout will be added to glay2
- hlayButtons = new TQHBoxLayout( 2 ); //this tqlayout will be added to glay2
- hlay3 = new TQHBoxLayout( 2 ); //this tqlayout will be added to CoordLay
+ glay2 = new TQGridLayout( 3, 4, 4 ); //this layout will be added to CoordLay
+ hlayCoord = new TQHBoxLayout( 2 ); //this layout will be added to glay2
+ hlayTZ = new TQHBoxLayout( 2 ); //this layout will be added to glay2
+ hlayButtons = new TQHBoxLayout( 2 ); //this layout will be added to glay2
+ hlay3 = new TQHBoxLayout( 2 ); //this layout will be added to CoordLay
//Create widgets
CityFiltLabel = new TQLabel( CityBox );
@@ -283,7 +283,7 @@ void LocationDialog::filterCity( void ) {
if ( GeoBox->firstItem() ) // set first item in list as selected
GeoBox->setCurrentItem( GeoBox->firstItem() );
- MapView->tqrepaint();
+ MapView->repaint();
}
void LocationDialog::changeCity( void ) {
@@ -298,7 +298,7 @@ void LocationDialog::changeCity( void ) {
}
}
- MapView->tqrepaint();
+ MapView->repaint();
//Fill the fields at the bottom of the window with the selected city's data.
if ( SelectedCity ) {
@@ -437,7 +437,7 @@ void LocationDialog::findCitiesNear( int lng, int lat ) {
if ( GeoBox->firstItem() ) // set first item in list as selected
GeoBox->setCurrentItem( GeoBox->firstItem() );
- tqrepaint();
+ repaint();
}
bool LocationDialog::checkLongLat( void ) {