summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/tools
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
commit6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (patch)
treecc90a09df2d1fd6d956cc084529a62d354316ad3 /kstars/kstars/tools
parent174fd5e23c68598774706ea9b571d3d178e36b81 (diff)
downloadtdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.tar.gz
tdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kstars/kstars/tools')
-rw-r--r--kstars/kstars/tools/altvstime.cpp14
-rw-r--r--kstars/kstars/tools/altvstimeui.ui28
-rw-r--r--kstars/kstars/tools/argchangeviewoption.ui8
-rw-r--r--kstars/kstars/tools/argexportimage.ui34
-rw-r--r--kstars/kstars/tools/arglooktoward.ui6
-rw-r--r--kstars/kstars/tools/argprintimage.ui2
-rw-r--r--kstars/kstars/tools/argsetactionindi.ui10
-rw-r--r--kstars/kstars/tools/argsetaltaz.ui4
-rw-r--r--kstars/kstars/tools/argsetccdtempindi.ui10
-rw-r--r--kstars/kstars/tools/argsetcolor.ui30
-rw-r--r--kstars/kstars/tools/argsetfilternumindi.ui10
-rw-r--r--kstars/kstars/tools/argsetfocusspeedindi.ui4
-rw-r--r--kstars/kstars/tools/argsetfocustimeoutindi.ui10
-rw-r--r--kstars/kstars/tools/argsetframetypeindi.ui10
-rw-r--r--kstars/kstars/tools/argsetgeolocation.ui14
-rw-r--r--kstars/kstars/tools/argsetgeolocationindi.ui8
-rw-r--r--kstars/kstars/tools/argsetlocaltime.ui6
-rw-r--r--kstars/kstars/tools/argsetportindi.ui4
-rw-r--r--kstars/kstars/tools/argsetradec.ui4
-rw-r--r--kstars/kstars/tools/argsetscopeactionindi.ui10
-rw-r--r--kstars/kstars/tools/argsettargetcoordindi.ui8
-rw-r--r--kstars/kstars/tools/argsettargetnameindi.ui12
-rw-r--r--kstars/kstars/tools/argsettrack.ui6
-rw-r--r--kstars/kstars/tools/argsetutcindi.ui10
-rw-r--r--kstars/kstars/tools/argshutdownindi.ui6
-rw-r--r--kstars/kstars/tools/argstartexposureindi.ui10
-rw-r--r--kstars/kstars/tools/argstartfocusindi.ui10
-rw-r--r--kstars/kstars/tools/argstartindi.ui8
-rw-r--r--kstars/kstars/tools/argswitchindi.ui8
-rw-r--r--kstars/kstars/tools/argtimescale.ui6
-rw-r--r--kstars/kstars/tools/argwaitfor.ui6
-rw-r--r--kstars/kstars/tools/argwaitforkey.ui6
-rw-r--r--kstars/kstars/tools/argzoom.ui6
-rw-r--r--kstars/kstars/tools/astrocalc.cpp4
-rw-r--r--kstars/kstars/tools/astrocalc.h2
-rw-r--r--kstars/kstars/tools/jmoontool.cpp18
-rw-r--r--kstars/kstars/tools/kstarsplotwidget.cpp8
-rw-r--r--kstars/kstars/tools/lcgenerator.cpp18
-rw-r--r--kstars/kstars/tools/modcalcangdist.cpp6
-rw-r--r--kstars/kstars/tools/modcalcangdistdlg.ui34
-rw-r--r--kstars/kstars/tools/modcalcapcoord.cpp10
-rw-r--r--kstars/kstars/tools/modcalcapcoorddlg.ui44
-rw-r--r--kstars/kstars/tools/modcalcazel.cpp10
-rw-r--r--kstars/kstars/tools/modcalcazeldlg.ui56
-rw-r--r--kstars/kstars/tools/modcalcdaylength.cpp4
-rw-r--r--kstars/kstars/tools/modcalcdaylengthdlg.ui46
-rw-r--r--kstars/kstars/tools/modcalceclipticcoords.cpp6
-rw-r--r--kstars/kstars/tools/modcalceclipticcoordsdlg.ui48
-rw-r--r--kstars/kstars/tools/modcalcequinox.cpp12
-rw-r--r--kstars/kstars/tools/modcalcequinoxdlg.ui26
-rw-r--r--kstars/kstars/tools/modcalcgalcoord.cpp6
-rw-r--r--kstars/kstars/tools/modcalcgalcoorddlg.ui46
-rw-r--r--kstars/kstars/tools/modcalcgeodcoord.cpp6
-rw-r--r--kstars/kstars/tools/modcalcgeoddlg.ui28
-rw-r--r--kstars/kstars/tools/modcalcjd.cpp4
-rw-r--r--kstars/kstars/tools/modcalcjddlg.ui38
-rw-r--r--kstars/kstars/tools/modcalcplanets.cpp20
-rw-r--r--kstars/kstars/tools/modcalcplanetsdlg.ui86
-rw-r--r--kstars/kstars/tools/modcalcprec.cpp10
-rw-r--r--kstars/kstars/tools/modcalcprecdlg.ui32
-rw-r--r--kstars/kstars/tools/modcalcsidtime.cpp8
-rw-r--r--kstars/kstars/tools/modcalcsidtimedlg.ui48
-rw-r--r--kstars/kstars/tools/modcalcvlsr.cpp10
-rw-r--r--kstars/kstars/tools/modcalcvlsrdlg.ui60
-rw-r--r--kstars/kstars/tools/observinglist.cpp32
-rw-r--r--kstars/kstars/tools/observinglistui.ui36
-rw-r--r--kstars/kstars/tools/obslistwizard.cpp4
-rw-r--r--kstars/kstars/tools/obslistwizardui.ui56
-rw-r--r--kstars/kstars/tools/optionstreeview.ui4
-rw-r--r--kstars/kstars/tools/planetviewer.cpp8
-rw-r--r--kstars/kstars/tools/planetviewerui.ui6
-rw-r--r--kstars/kstars/tools/scriptbuilder.cpp208
-rw-r--r--kstars/kstars/tools/scriptbuilderui.ui58
-rw-r--r--kstars/kstars/tools/scriptfunction.cpp70
-rw-r--r--kstars/kstars/tools/scriptnamedialog.ui6
-rw-r--r--kstars/kstars/tools/wutdialog.cpp28
-rw-r--r--kstars/kstars/tools/wutdialogui.ui48
77 files changed, 823 insertions, 823 deletions
diff --git a/kstars/kstars/tools/altvstime.cpp b/kstars/kstars/tools/altvstime.cpp
index c271319d..f59fcad3 100644
--- a/kstars/kstars/tools/altvstime.cpp
+++ b/kstars/kstars/tools/altvstime.cpp
@@ -15,7 +15,7 @@
* *
***************************************************************************/
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpainter.h>
#include <klocale.h>
#include <klineedit.h>
@@ -53,7 +53,7 @@ AltVsTime::AltVsTime( TQWidget* parent) :
View = new AVTPlotWidget( -12.0, 12.0, -90.0, 90.0, page );
View->setMinimumSize( 400, 400 );
- View->tqsetSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding );
+ View->setSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding );
View->setXAxisType( KStarsPlotWidget::TIME );
View->setYAxisType( KStarsPlotWidget::ANGLE );
View->setShowGrid( false );
@@ -190,7 +190,7 @@ void AltVsTime::slotAddSource(void) {
avtUI->decBox->TQWidget::setFocus();
}
- View->tqrepaint(false);
+ View->repaint(false);
}
//Use find dialog to choose an object
@@ -201,7 +201,7 @@ void AltVsTime::slotBrowseObject(void) {
processObject( o );
}
- View->tqrepaint();
+ View->repaint();
}
void AltVsTime::processObject( SkyObject *o, bool forceAdd ) {
@@ -323,7 +323,7 @@ void AltVsTime::slotClear(void) {
avtUI->decBox->clear();
avtUI->epochName->clear();
View->clearObjectList();
- View->tqrepaint();
+ View->repaint();
}
void AltVsTime::slotClearBoxes(void) {
@@ -437,7 +437,7 @@ void AltVsTime::slotUpdateDateLoc(void) {
setLSTLimits();
slotHighlight();
- View->tqrepaint();
+ View->repaint();
delete num;
}
@@ -468,7 +468,7 @@ void AltVsTime::setLSTLimits(void) {
void AltVsTime::showCurrentDate (void)
{
- KStarsDateTime dt = KStarsDateTime::tqcurrentDateTime();
+ KStarsDateTime dt = KStarsDateTime::currentDateTime();
if ( dt.time() > TQTime( 12, 0, 0 ) ) dt = dt.addDays( 1 );
avtUI->dateBox->setDate( dt.date() );
}
diff --git a/kstars/kstars/tools/altvstimeui.ui b/kstars/kstars/tools/altvstimeui.ui
index 323c9fd7..629dc8d9 100644
--- a/kstars/kstars/tools/altvstimeui.ui
+++ b/kstars/kstars/tools/altvstimeui.ui
@@ -44,7 +44,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout30</cstring>
+ <cstring>layout30</cstring>
</property>
<grid>
<property name="name">
@@ -108,7 +108,7 @@
<property name="text">
<string>RA:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter</set>
</property>
</widget>
@@ -150,13 +150,13 @@
<property name="name">
<cstring>epochName</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>80</width>
<height>32767</height>
@@ -175,7 +175,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<vbox>
<property name="name">
@@ -228,7 +228,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -260,7 +260,7 @@
<property name="name">
<cstring>PlotList</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -285,7 +285,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout57</cstring>
+ <cstring>layout57</cstring>
</property>
<hbox>
<property name="name">
@@ -303,7 +303,7 @@
<property name="name">
<cstring>dateBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>90</width>
<height>0</height>
@@ -320,7 +320,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>257</width>
<height>20</height>
@@ -331,7 +331,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout25</cstring>
+ <cstring>layout25</cstring>
</property>
<hbox>
<property name="name">
@@ -421,7 +421,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -430,7 +430,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout26</cstring>
+ <cstring>layout26</cstring>
</property>
<hbox>
<property name="name">
@@ -446,7 +446,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
diff --git a/kstars/kstars/tools/argchangeviewoption.ui b/kstars/kstars/tools/argchangeviewoption.ui
index 1da77198..77629c58 100644
--- a/kstars/kstars/tools/argchangeviewoption.ui
+++ b/kstars/kstars/tools/argchangeviewoption.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<grid>
<property name="name">
@@ -45,7 +45,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -95,7 +95,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>160</width>
<height>20</height>
@@ -122,7 +122,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/kstars/kstars/tools/argexportimage.ui b/kstars/kstars/tools/argexportimage.ui
index 9228373b..b218bcda 100644
--- a/kstars/kstars/tools/argexportimage.ui
+++ b/kstars/kstars/tools/argexportimage.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout7</cstring>
+ <cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@@ -36,7 +36,7 @@
<property name="name">
<cstring>ExportFileName</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>160</width>
<height>0</height>
@@ -47,7 +47,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@@ -63,7 +63,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -72,7 +72,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -136,7 +136,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -179,14 +179,14 @@
<slot access="public" specifier="">update()</slot>
<slot access="public" specifier="">update(int,int,int,int)</slot>
<slot access="public" specifier="">update(const QRect&amp;)</slot>
- <slot access="public" specifier="">tqrepaint()</slot>
- <slot access="public" specifier="">tqrepaint(bool)</slot>
- <slot access="public" specifier="">tqrepaint(int,int,int,int)</slot>
- <slot access="public" specifier="">tqrepaint(int,int,int,int,bool)</slot>
- <slot access="public" specifier="">tqrepaint(const QRect&amp;)</slot>
- <slot access="public" specifier="">tqrepaint(const QRect&amp;,bool)</slot>
- <slot access="public" specifier="">tqrepaint(const QRegion&amp;)</slot>
- <slot access="public" specifier="">tqrepaint(const QRegion&amp;,bool)</slot>
+ <slot access="public" specifier="">repaint()</slot>
+ <slot access="public" specifier="">repaint(bool)</slot>
+ <slot access="public" specifier="">repaint(int,int,int,int)</slot>
+ <slot access="public" specifier="">repaint(int,int,int,int,bool)</slot>
+ <slot access="public" specifier="">repaint(const QRect&amp;)</slot>
+ <slot access="public" specifier="">repaint(const QRect&amp;,bool)</slot>
+ <slot access="public" specifier="">repaint(const QRegion&amp;)</slot>
+ <slot access="public" specifier="">repaint(const QRegion&amp;,bool)</slot>
<slot access="public" specifier="">show()</slot>
<slot access="public" specifier="">hide()</slot>
<slot access="public" specifier="">setShown(bool)</slot>
@@ -221,10 +221,10 @@
<slot access="private" specifier="">slotEmitRelativeValueChanged(int)</slot>
<property type="CString">name</property>
<property type="Bool">enabled</property>
- <property type="Rect">tqgeometry</property>
+ <property type="Rect">geometry</property>
<property type="SizePolicy">sizePolicy</property>
- <property type="Size">tqminimumSize</property>
- <property type="Size">tqmaximumSize</property>
+ <property type="Size">minimumSize</property>
+ <property type="Size">maximumSize</property>
<property type="Size">sizeIncrement</property>
<property type="Size">baseSize</property>
<property type="Color">paletteForegroundColor</property>
diff --git a/kstars/kstars/tools/arglooktoward.ui b/kstars/kstars/tools/arglooktoward.ui
index ea505d2c..a4e3f206 100644
--- a/kstars/kstars/tools/arglooktoward.ui
+++ b/kstars/kstars/tools/arglooktoward.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout12</cstring>
+ <cstring>layout12</cstring>
</property>
<hbox>
<property name="name">
@@ -125,7 +125,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -144,7 +144,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/kstars/kstars/tools/argprintimage.ui b/kstars/kstars/tools/argprintimage.ui
index 362e8289..dc50ac07 100644
--- a/kstars/kstars/tools/argprintimage.ui
+++ b/kstars/kstars/tools/argprintimage.ui
@@ -45,7 +45,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>70</height>
diff --git a/kstars/kstars/tools/argsetactionindi.ui b/kstars/kstars/tools/argsetactionindi.ui
index 9e8465ad..f1268bba 100644
--- a/kstars/kstars/tools/argsetactionindi.ui
+++ b/kstars/kstars/tools/argsetactionindi.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout50</cstring>
+ <cstring>layout50</cstring>
</property>
<hbox>
<property name="name">
@@ -29,7 +29,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout47</cstring>
+ <cstring>layout47</cstring>
</property>
<vbox>
<property name="name">
@@ -55,7 +55,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout48</cstring>
+ <cstring>layout48</cstring>
</property>
<vbox>
<property name="name">
@@ -83,7 +83,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>61</width>
<height>21</height>
@@ -102,7 +102,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
diff --git a/kstars/kstars/tools/argsetaltaz.ui b/kstars/kstars/tools/argsetaltaz.ui
index 1c373ebb..7c22bea4 100644
--- a/kstars/kstars/tools/argsetaltaz.ui
+++ b/kstars/kstars/tools/argsetaltaz.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout13</cstring>
+ <cstring>layout13</cstring>
</property>
<grid>
<property name="name">
@@ -100,7 +100,7 @@ The azimuth is one of the coordinates in the horizontal coordinate system. It i
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/kstars/kstars/tools/argsetccdtempindi.ui b/kstars/kstars/tools/argsetccdtempindi.ui
index ba6eed5a..dc4cd195 100644
--- a/kstars/kstars/tools/argsetccdtempindi.ui
+++ b/kstars/kstars/tools/argsetccdtempindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout64</cstring>
+ <cstring>layout64</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout63</cstring>
+ <cstring>layout63</cstring>
</property>
<vbox>
<property name="name">
@@ -52,7 +52,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout62</cstring>
+ <cstring>layout62</cstring>
</property>
<vbox>
<property name="name">
@@ -86,7 +86,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>27</width>
<height>21</height>
@@ -105,7 +105,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
diff --git a/kstars/kstars/tools/argsetcolor.ui b/kstars/kstars/tools/argsetcolor.ui
index e2e2f2e2..ac096c45 100644
--- a/kstars/kstars/tools/argsetcolor.ui
+++ b/kstars/kstars/tools/argsetcolor.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout11</cstring>
+ <cstring>layout11</cstring>
</property>
<grid>
<property name="name">
@@ -42,7 +42,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
- <cstring>tqlayout10</cstring>
+ <cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
@@ -66,7 +66,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -92,7 +92,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -139,14 +139,14 @@
<slot access="public" specifier="">update()</slot>
<slot access="public" specifier="">update(int,int,int,int)</slot>
<slot access="public" specifier="">update(const QRect&amp;)</slot>
- <slot access="public" specifier="">tqrepaint()</slot>
- <slot access="public" specifier="">tqrepaint(bool)</slot>
- <slot access="public" specifier="">tqrepaint(int,int,int,int)</slot>
- <slot access="public" specifier="">tqrepaint(int,int,int,int,bool)</slot>
- <slot access="public" specifier="">tqrepaint(const QRect&amp;)</slot>
- <slot access="public" specifier="">tqrepaint(const QRect&amp;,bool)</slot>
- <slot access="public" specifier="">tqrepaint(const QRegion&amp;)</slot>
- <slot access="public" specifier="">tqrepaint(const QRegion&amp;,bool)</slot>
+ <slot access="public" specifier="">repaint()</slot>
+ <slot access="public" specifier="">repaint(bool)</slot>
+ <slot access="public" specifier="">repaint(int,int,int,int)</slot>
+ <slot access="public" specifier="">repaint(int,int,int,int,bool)</slot>
+ <slot access="public" specifier="">repaint(const QRect&amp;)</slot>
+ <slot access="public" specifier="">repaint(const QRect&amp;,bool)</slot>
+ <slot access="public" specifier="">repaint(const QRegion&amp;)</slot>
+ <slot access="public" specifier="">repaint(const QRegion&amp;,bool)</slot>
<slot access="public" specifier="">show()</slot>
<slot access="public" specifier="">hide()</slot>
<slot access="public" specifier="">setShown(bool)</slot>
@@ -180,10 +180,10 @@
<slot access="protected" specifier="">chooseColor()</slot>
<property type="CString">name</property>
<property type="Bool">enabled</property>
- <property type="Rect">tqgeometry</property>
+ <property type="Rect">geometry</property>
<property type="SizePolicy">sizePolicy</property>
- <property type="Size">tqminimumSize</property>
- <property type="Size">tqmaximumSize</property>
+ <property type="Size">minimumSize</property>
+ <property type="Size">maximumSize</property>
<property type="Size">sizeIncrement</property>
<property type="Size">baseSize</property>
<property type="Color">paletteForegroundColor</property>
diff --git a/kstars/kstars/tools/argsetfilternumindi.ui b/kstars/kstars/tools/argsetfilternumindi.ui
index dbb9aff4..83d79f09 100644
--- a/kstars/kstars/tools/argsetfilternumindi.ui
+++ b/kstars/kstars/tools/argsetfilternumindi.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout64</cstring>
+ <cstring>layout64</cstring>
</property>
<hbox>
<property name="name">
@@ -29,7 +29,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout63</cstring>
+ <cstring>layout63</cstring>
</property>
<vbox>
<property name="name">
@@ -55,7 +55,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout62</cstring>
+ <cstring>layout62</cstring>
</property>
<vbox>
<property name="name">
@@ -89,7 +89,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>27</width>
<height>21</height>
@@ -108,7 +108,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
diff --git a/kstars/kstars/tools/argsetfocusspeedindi.ui b/kstars/kstars/tools/argsetfocusspeedindi.ui
index 07c37429..012ca14f 100644
--- a/kstars/kstars/tools/argsetfocusspeedindi.ui
+++ b/kstars/kstars/tools/argsetfocusspeedindi.ui
@@ -26,7 +26,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
@@ -43,7 +43,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>45</width>
<height>21</height>
diff --git a/kstars/kstars/tools/argsetfocustimeoutindi.ui b/kstars/kstars/tools/argsetfocustimeoutindi.ui
index 63d2e9c3..a736d577 100644
--- a/kstars/kstars/tools/argsetfocustimeoutindi.ui
+++ b/kstars/kstars/tools/argsetfocustimeoutindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout64</cstring>
+ <cstring>layout64</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout63</cstring>
+ <cstring>layout63</cstring>
</property>
<vbox>
<property name="name">
@@ -52,7 +52,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout62</cstring>
+ <cstring>layout62</cstring>
</property>
<vbox>
<property name="name">
@@ -86,7 +86,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>27</width>
<height>21</height>
@@ -105,7 +105,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
diff --git a/kstars/kstars/tools/argsetframetypeindi.ui b/kstars/kstars/tools/argsetframetypeindi.ui
index 31e7cf34..0a82d908 100644
--- a/kstars/kstars/tools/argsetframetypeindi.ui
+++ b/kstars/kstars/tools/argsetframetypeindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout55</cstring>
+ <cstring>layout55</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout47</cstring>
+ <cstring>layout47</cstring>
</property>
<vbox>
<property name="name">
@@ -52,7 +52,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout54</cstring>
+ <cstring>layout54</cstring>
</property>
<vbox>
<property name="name">
@@ -80,7 +80,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>56</width>
<height>21</height>
@@ -99,7 +99,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
diff --git a/kstars/kstars/tools/argsetgeolocation.ui b/kstars/kstars/tools/argsetgeolocation.ui
index 5318e530..ee80245d 100644
--- a/kstars/kstars/tools/argsetgeolocation.ui
+++ b/kstars/kstars/tools/argsetgeolocation.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout36</cstring>
+ <cstring>layout36</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout35</cstring>
+ <cstring>layout35</cstring>
</property>
<vbox>
<property name="name">
@@ -34,7 +34,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout34</cstring>
+ <cstring>layout34</cstring>
</property>
<grid>
<property name="name">
@@ -101,7 +101,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout33</cstring>
+ <cstring>layout33</cstring>
</property>
<hbox>
<property name="name">
@@ -117,7 +117,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>49</width>
<height>20</height>
@@ -152,7 +152,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>49</width>
<height>20</height>
@@ -171,7 +171,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/kstars/kstars/tools/argsetgeolocationindi.ui b/kstars/kstars/tools/argsetgeolocationindi.ui
index 127d7b8f..febc5a16 100644
--- a/kstars/kstars/tools/argsetgeolocationindi.ui
+++ b/kstars/kstars/tools/argsetgeolocationindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout34</cstring>
+ <cstring>layout34</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout32</cstring>
+ <cstring>layout32</cstring>
</property>
<vbox>
<property name="name">
@@ -60,7 +60,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout33</cstring>
+ <cstring>layout33</cstring>
</property>
<vbox>
<property name="name">
@@ -129,7 +129,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>23</height>
diff --git a/kstars/kstars/tools/argsetlocaltime.ui b/kstars/kstars/tools/argsetlocaltime.ui
index 623d263d..a1c4ea04 100644
--- a/kstars/kstars/tools/argsetlocaltime.ui
+++ b/kstars/kstars/tools/argsetlocaltime.ui
@@ -23,7 +23,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout43</cstring>
+ <cstring>layout43</cstring>
</property>
<hbox>
<property name="name">
@@ -39,7 +39,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>70</width>
<height>20</height>
@@ -69,7 +69,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/kstars/kstars/tools/argsetportindi.ui b/kstars/kstars/tools/argsetportindi.ui
index 8472c2d0..43b9e538 100644
--- a/kstars/kstars/tools/argsetportindi.ui
+++ b/kstars/kstars/tools/argsetportindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout23</cstring>
+ <cstring>layout23</cstring>
</property>
<grid>
<property name="name">
@@ -62,7 +62,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
diff --git a/kstars/kstars/tools/argsetradec.ui b/kstars/kstars/tools/argsetradec.ui
index e47fd936..5ad32a80 100644
--- a/kstars/kstars/tools/argsetradec.ui
+++ b/kstars/kstars/tools/argsetradec.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout13</cstring>
+ <cstring>layout13</cstring>
</property>
<grid>
<property name="name">
@@ -100,7 +100,7 @@ Right Ascension is one of the coordinates in the Equatorial coordinate system.
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/kstars/kstars/tools/argsetscopeactionindi.ui b/kstars/kstars/tools/argsetscopeactionindi.ui
index 3aea9afe..3c69cb6c 100644
--- a/kstars/kstars/tools/argsetscopeactionindi.ui
+++ b/kstars/kstars/tools/argsetscopeactionindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout55</cstring>
+ <cstring>layout55</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout47</cstring>
+ <cstring>layout47</cstring>
</property>
<vbox>
<property name="name">
@@ -52,7 +52,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout54</cstring>
+ <cstring>layout54</cstring>
</property>
<vbox>
<property name="name">
@@ -80,7 +80,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>56</width>
<height>21</height>
@@ -99,7 +99,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
diff --git a/kstars/kstars/tools/argsettargetcoordindi.ui b/kstars/kstars/tools/argsettargetcoordindi.ui
index a047a74b..d40cf07c 100644
--- a/kstars/kstars/tools/argsettargetcoordindi.ui
+++ b/kstars/kstars/tools/argsettargetcoordindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout34</cstring>
+ <cstring>layout34</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout32</cstring>
+ <cstring>layout32</cstring>
</property>
<vbox>
<property name="name">
@@ -60,7 +60,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout33</cstring>
+ <cstring>layout33</cstring>
</property>
<vbox>
<property name="name">
@@ -129,7 +129,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>24</height>
diff --git a/kstars/kstars/tools/argsettargetnameindi.ui b/kstars/kstars/tools/argsettargetnameindi.ui
index 344ebd59..844df2f6 100644
--- a/kstars/kstars/tools/argsettargetnameindi.ui
+++ b/kstars/kstars/tools/argsettargetnameindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout44</cstring>
+ <cstring>layout44</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout40</cstring>
+ <cstring>layout40</cstring>
</property>
<vbox>
<property name="name">
@@ -52,7 +52,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout41</cstring>
+ <cstring>layout41</cstring>
</property>
<vbox>
<property name="name">
@@ -72,7 +72,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout42</cstring>
+ <cstring>layout42</cstring>
</property>
<vbox>
<property name="name">
@@ -88,7 +88,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>52</width>
<height>20</height>
@@ -128,7 +128,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>8</height>
diff --git a/kstars/kstars/tools/argsettrack.ui b/kstars/kstars/tools/argsettrack.ui
index b6467496..c8abd448 100644
--- a/kstars/kstars/tools/argsettrack.ui
+++ b/kstars/kstars/tools/argsettrack.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout24</cstring>
+ <cstring>layout24</cstring>
</property>
<hbox>
<property name="name">
@@ -50,7 +50,7 @@ If unchecked, then Tracking will be forced off, even if an object has been cente
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -69,7 +69,7 @@ If unchecked, then Tracking will be forced off, even if an object has been cente
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/kstars/kstars/tools/argsetutcindi.ui b/kstars/kstars/tools/argsetutcindi.ui
index 7a9d5f6a..09fa447b 100644
--- a/kstars/kstars/tools/argsetutcindi.ui
+++ b/kstars/kstars/tools/argsetutcindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout88</cstring>
+ <cstring>layout88</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout86</cstring>
+ <cstring>layout86</cstring>
</property>
<vbox>
<property name="name">
@@ -52,7 +52,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout87</cstring>
+ <cstring>layout87</cstring>
</property>
<vbox>
<property name="name">
@@ -80,7 +80,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>51</width>
<height>20</height>
@@ -99,7 +99,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
diff --git a/kstars/kstars/tools/argshutdownindi.ui b/kstars/kstars/tools/argshutdownindi.ui
index d09a9ce5..126b5777 100644
--- a/kstars/kstars/tools/argshutdownindi.ui
+++ b/kstars/kstars/tools/argshutdownindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -59,7 +59,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>33</height>
diff --git a/kstars/kstars/tools/argstartexposureindi.ui b/kstars/kstars/tools/argstartexposureindi.ui
index 7b6d0a78..efc59043 100644
--- a/kstars/kstars/tools/argstartexposureindi.ui
+++ b/kstars/kstars/tools/argstartexposureindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout64</cstring>
+ <cstring>layout64</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout63</cstring>
+ <cstring>layout63</cstring>
</property>
<vbox>
<property name="name">
@@ -52,7 +52,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout62</cstring>
+ <cstring>layout62</cstring>
</property>
<vbox>
<property name="name">
@@ -86,7 +86,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>27</width>
<height>21</height>
@@ -105,7 +105,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
diff --git a/kstars/kstars/tools/argstartfocusindi.ui b/kstars/kstars/tools/argstartfocusindi.ui
index 8f014162..2c52cab0 100644
--- a/kstars/kstars/tools/argstartfocusindi.ui
+++ b/kstars/kstars/tools/argstartfocusindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout55</cstring>
+ <cstring>layout55</cstring>
</property>
<hbox>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout47</cstring>
+ <cstring>layout47</cstring>
</property>
<vbox>
<property name="name">
@@ -52,7 +52,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout54</cstring>
+ <cstring>layout54</cstring>
</property>
<vbox>
<property name="name">
@@ -80,7 +80,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>56</width>
<height>21</height>
@@ -99,7 +99,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>9</height>
diff --git a/kstars/kstars/tools/argstartindi.ui b/kstars/kstars/tools/argstartindi.ui
index 540441b0..166fd7d4 100644
--- a/kstars/kstars/tools/argstartindi.ui
+++ b/kstars/kstars/tools/argstartindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -57,7 +57,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>61</width>
<height>20</height>
@@ -108,7 +108,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/kstars/kstars/tools/argswitchindi.ui b/kstars/kstars/tools/argswitchindi.ui
index f998c4be..efba3fa9 100644
--- a/kstars/kstars/tools/argswitchindi.ui
+++ b/kstars/kstars/tools/argswitchindi.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -57,7 +57,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>61</width>
<height>20</height>
@@ -111,7 +111,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>33</height>
diff --git a/kstars/kstars/tools/argtimescale.ui b/kstars/kstars/tools/argtimescale.ui
index cd55da63..1039f9fd 100644
--- a/kstars/kstars/tools/argtimescale.ui
+++ b/kstars/kstars/tools/argtimescale.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -39,7 +39,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>150</width>
<height>20</height>
@@ -58,7 +58,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/kstars/kstars/tools/argwaitfor.ui b/kstars/kstars/tools/argwaitfor.ui
index 77ea5077..24733f4c 100644
--- a/kstars/kstars/tools/argwaitfor.ui
+++ b/kstars/kstars/tools/argwaitfor.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout17</cstring>
+ <cstring>layout17</cstring>
</property>
<hbox>
<property name="name">
@@ -53,7 +53,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -72,7 +72,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/kstars/kstars/tools/argwaitforkey.ui b/kstars/kstars/tools/argwaitforkey.ui
index 82876087..0fa2e564 100644
--- a/kstars/kstars/tools/argwaitforkey.ui
+++ b/kstars/kstars/tools/argwaitforkey.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout18</cstring>
+ <cstring>layout18</cstring>
</property>
<hbox>
<property name="name">
@@ -55,7 +55,7 @@ Only simple keys can currently be used; you cannot use modifier keys such as Ctr
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -74,7 +74,7 @@ Only simple keys can currently be used; you cannot use modifier keys such as Ctr
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/kstars/kstars/tools/argzoom.ui b/kstars/kstars/tools/argzoom.ui
index 5d1ea8e8..9eff8db5 100644
--- a/kstars/kstars/tools/argzoom.ui
+++ b/kstars/kstars/tools/argzoom.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -56,7 +56,7 @@ The Zoom level specifies the number of pixels which span one radian of arc. Rea
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>20</height>
@@ -75,7 +75,7 @@ The Zoom level specifies the number of pixels which span one radian of arc. Rea
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
diff --git a/kstars/kstars/tools/astrocalc.cpp b/kstars/kstars/tools/astrocalc.cpp
index bf477300..ea35ed88 100644
--- a/kstars/kstars/tools/astrocalc.cpp
+++ b/kstars/kstars/tools/astrocalc.cpp
@@ -35,7 +35,7 @@
#include <klocale.h>
#include <tqlistview.h>
-#include <tqtextview.h>
+#include <textview.h>
AstroCalc::AstroCalc( TQWidget* parent ) :
@@ -374,7 +374,7 @@ void AstroCalc::genVlsrFrame(void)
rightPanel = Vlsr;
}
-TQSize AstroCalc::tqsizeHint() const
+TQSize AstroCalc::sizeHint() const
{
return TQSize(640,430);
}
diff --git a/kstars/kstars/tools/astrocalc.h b/kstars/kstars/tools/astrocalc.h
index fe8b5f49..44daeeb5 100644
--- a/kstars/kstars/tools/astrocalc.h
+++ b/kstars/kstars/tools/astrocalc.h
@@ -120,7 +120,7 @@ TQ_OBJECT
void delRightPanel(void);
/**@returns suggested size of calculator window. */
- TQSize tqsizeHint() const;
+ TQSize sizeHint() const;
public slots:
/**Determine which item is selected in the function menu TQListBox.
diff --git a/kstars/kstars/tools/jmoontool.cpp b/kstars/kstars/tools/jmoontool.cpp
index 90303b38..e88e934d 100644
--- a/kstars/kstars/tools/jmoontool.cpp
+++ b/kstars/kstars/tools/jmoontool.cpp
@@ -14,7 +14,7 @@
* *
***************************************************************************/
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <kdebug.h>
@@ -49,14 +49,14 @@ JMoonTool::JMoonTool(TQWidget *parent, const char *name)
TQLabel *labGn = new TQLabel( "Ganymede", page );
TQLabel *labCa = new TQLabel( "Callisto", page );
- labIo->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
- labEu->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
- labGn->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
- labCa->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
- labIo->tqsetAlignment( AlignHCenter );
- labEu->tqsetAlignment( AlignHCenter );
- labGn->tqsetAlignment( AlignHCenter );
- labCa->tqsetAlignment( AlignHCenter );
+ labIo->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
+ labEu->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
+ labGn->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
+ labCa->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
+ labIo->setAlignment( AlignHCenter );
+ labEu->setAlignment( AlignHCenter );
+ labGn->setAlignment( AlignHCenter );
+ labCa->setAlignment( AlignHCenter );
labIo->setPaletteForegroundColor( colIo );
labEu->setPaletteForegroundColor( colEu );
diff --git a/kstars/kstars/tools/kstarsplotwidget.cpp b/kstars/kstars/tools/kstarsplotwidget.cpp
index edb62980..750eb85a 100644
--- a/kstars/kstars/tools/kstarsplotwidget.cpp
+++ b/kstars/kstars/tools/kstarsplotwidget.cpp
@@ -358,7 +358,7 @@ void KStarsPlotWidget::drawBox( TQPainter *p ) {
switch ( xAxisType() ) {
case DOUBLE :
{
- TQString str = TQString( "%1" ).tqarg( lab, 0, 'g', 2 );
+ TQString str = TQString( "%1" ).arg( lab, 0, 'g', 2 );
int idot = str.find( '.' );
if ( idot >= 0 )
str = str.replace( idot, 1, KGlobal::locale()->decimalSymbol() );
@@ -426,7 +426,7 @@ void KStarsPlotWidget::drawBox( TQPainter *p ) {
switch ( yAxisType() ) {
case DOUBLE :
{
- TQString str = TQString( "%1" ).tqarg( lab, 0, 'g', 2 );
+ TQString str = TQString( "%1" ).arg( lab, 0, 'g', 2 );
int idot = str.find( '.' );
if ( idot >= 0 )
str = str.replace( idot, 1, KGlobal::locale()->decimalSymbol() );
@@ -492,7 +492,7 @@ void KStarsPlotWidget::drawBox( TQPainter *p ) {
switch ( xAxisType() ) {
case DOUBLE :
{
- TQString str = TQString( "%1" ).tqarg( lab, 0, 'g', 2 );
+ TQString str = TQString( "%1" ).arg( lab, 0, 'g', 2 );
int idot = str.find( '.' );
if ( idot >= 0 )
str = str.replace( idot, 1, KGlobal::locale()->decimalSymbol() );
@@ -556,7 +556,7 @@ void KStarsPlotWidget::drawBox( TQPainter *p ) {
switch ( yAxisType() ) {
case DOUBLE :
{
- TQString str = TQString( "%1" ).tqarg( lab, 0, 'g', 2 );
+ TQString str = TQString( "%1" ).arg( lab, 0, 'g', 2 );
int idot = str.find( '.' );
if ( idot >= 0 )
str = str.replace( idot, 1, KGlobal::locale()->decimalSymbol() );
diff --git a/kstars/kstars/tools/lcgenerator.cpp b/kstars/kstars/tools/lcgenerator.cpp
index 3b5e4524..34003c91 100644
--- a/kstars/kstars/tools/lcgenerator.cpp
+++ b/kstars/kstars/tools/lcgenerator.cpp
@@ -23,7 +23,7 @@
#include <tqgroupbox.h>
#include <tqlabel.h>
#include <tqpushbutton.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include <tqfile.h>
@@ -69,10 +69,10 @@ void LCGenerator::createGUI()
StarInfoBox = new TQGroupBox( page, "StarInfoBox" );
StarInfoBox->setColumnLayout(0, Qt::Vertical );
- StarInfoBox->tqlayout()->setSpacing( 6 );
- StarInfoBox->tqlayout()->setMargin( 11 );
- StarInfoBoxLayout = new TQVBoxLayout( StarInfoBox->tqlayout() );
- StarInfoBoxLayout->tqsetAlignment( TQt::AlignTop );
+ StarInfoBox->layout()->setSpacing( 6 );
+ StarInfoBox->layout()->setMargin( 11 );
+ StarInfoBoxLayout = new TQVBoxLayout( StarInfoBox->layout() );
+ StarInfoBoxLayout->setAlignment( TQt::AlignTop );
DesignHLayout = new TQHBoxLayout( 0, 0, 6, "DesignHLayout");
@@ -125,10 +125,10 @@ void LCGenerator::createGUI()
DataSelectBox = new TQGroupBox( page, "DataSelectBox" );
DataSelectBox->setColumnLayout(0, Qt::Vertical );
- DataSelectBox->tqlayout()->setSpacing( 6 );
- DataSelectBox->tqlayout()->setMargin( 11 );
- DataSelectBoxLayout = new TQVBoxLayout( DataSelectBox->tqlayout() );
- DataSelectBoxLayout->tqsetAlignment( TQt::AlignTop );
+ DataSelectBox->layout()->setSpacing( 6 );
+ DataSelectBox->layout()->setMargin( 11 );
+ DataSelectBoxLayout = new TQVBoxLayout( DataSelectBox->layout() );
+ DataSelectBoxLayout->setAlignment( TQt::AlignTop );
VisualCheck = new TQCheckBox( DataSelectBox, "VisualCheck" );
VisualCheck->setChecked( TRUE );
diff --git a/kstars/kstars/tools/modcalcangdist.cpp b/kstars/kstars/tools/modcalcangdist.cpp
index be58f46d..694b2895 100644
--- a/kstars/kstars/tools/modcalcangdist.cpp
+++ b/kstars/kstars/tools/modcalcangdist.cpp
@@ -23,7 +23,7 @@
#include <tqcheckbox.h>
#include <tqradiobutton.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <klocale.h>
#include <kfiledialog.h>
#include <kmessagebox.h>
@@ -98,7 +98,7 @@ void modCalcAngDist::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -110,7 +110,7 @@ void modCalcAngDist::slotRunBatch() {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
diff --git a/kstars/kstars/tools/modcalcangdistdlg.ui b/kstars/kstars/tools/modcalcangdistdlg.ui
index 77b92b4b..3f4659a5 100644
--- a/kstars/kstars/tools/modcalcangdistdlg.ui
+++ b/kstars/kstars/tools/modcalcangdistdlg.ui
@@ -36,7 +36,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout8</cstring>
+ <cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
@@ -57,7 +57,7 @@
<property name="name">
<cstring>ra0Box</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -71,7 +71,7 @@
<property name="name">
<cstring>dec0Box</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -114,7 +114,7 @@
<property name="name">
<cstring>ra1Box</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -128,7 +128,7 @@
<property name="name">
<cstring>dec1Box</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -160,7 +160,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout7</cstring>
+ <cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@@ -176,7 +176,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>145</width>
<height>20</height>
@@ -201,7 +201,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>146</width>
<height>20</height>
@@ -226,7 +226,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>145</width>
<height>20</height>
@@ -256,7 +256,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>102</width>
<height>20</height>
@@ -275,7 +275,7 @@
<property name="name">
<cstring>distBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -295,7 +295,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>70</width>
<height>20</height>
@@ -314,7 +314,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>171</height>
@@ -525,7 +525,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout14</cstring>
+ <cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@@ -541,7 +541,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -574,7 +574,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -593,7 +593,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
diff --git a/kstars/kstars/tools/modcalcapcoord.cpp b/kstars/kstars/tools/modcalcapcoord.cpp
index 17dfb81f..b4ee5454 100644
--- a/kstars/kstars/tools/modcalcapcoord.cpp
+++ b/kstars/kstars/tools/modcalcapcoord.cpp
@@ -30,7 +30,7 @@
#include <tqradiobutton.h>
#include <tqdatetimeedit.h> //needed for TQTimeEdit
#include <klineedit.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <klocale.h>
#include <kfiledialog.h>
#include <kmessagebox.h>
@@ -64,7 +64,7 @@ void modCalcApCoord::showCurrentTime (void)
{
KStars *ks = (KStars*) parent()->parent()->parent();
- KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::tqcurrentDateTime() );
+ KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::currentDateTime() );
datBox->setDate( dt.date() );
timBox->setTime( dt.time() );
}
@@ -98,7 +98,7 @@ void modCalcApCoord::slotClearCoords(){
rafBox->clearFields();
decfBox->clearFields();
epoch0Name->setText("");
- datBox->setDate(ExtDate::tqcurrentDate());
+ datBox->setDate(ExtDate::currentDate());
timBox->setTime(TQTime(0,0,0));
}
@@ -182,7 +182,7 @@ void modCalcApCoord::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -194,7 +194,7 @@ void modCalcApCoord::slotRunBatch() {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
diff --git a/kstars/kstars/tools/modcalcapcoorddlg.ui b/kstars/kstars/tools/modcalcapcoorddlg.ui
index 9953b588..5a59fa1d 100644
--- a/kstars/kstars/tools/modcalcapcoorddlg.ui
+++ b/kstars/kstars/tools/modcalcapcoorddlg.ui
@@ -39,7 +39,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout11</cstring>
+ <cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@@ -82,7 +82,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -98,7 +98,7 @@
<property name="name">
<cstring>datBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -125,7 +125,7 @@
<property name="name">
<cstring>ra0Box</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -139,7 +139,7 @@
<property name="name">
<cstring>dec0Box</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -192,7 +192,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -208,7 +208,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>81</width>
<height>20</height>
@@ -233,7 +233,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>70</width>
<height>20</height>
@@ -258,7 +258,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>91</width>
<height>20</height>
@@ -288,7 +288,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>102</width>
<height>20</height>
@@ -297,7 +297,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout12</cstring>
+ <cstring>layout12</cstring>
</property>
<grid>
<property name="name">
@@ -323,7 +323,7 @@
<property name="name">
<cstring>rafBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -337,7 +337,7 @@
<property name="name">
<cstring>decfBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -359,7 +359,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>70</width>
<height>20</height>
@@ -378,7 +378,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>70</height>
@@ -440,7 +440,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -457,7 +457,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -526,7 +526,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -625,7 +625,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout14</cstring>
+ <cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@@ -641,7 +641,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -674,7 +674,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -693,7 +693,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>31</height>
diff --git a/kstars/kstars/tools/modcalcazel.cpp b/kstars/kstars/tools/modcalcazel.cpp
index 818488f5..65c3f0e5 100644
--- a/kstars/kstars/tools/modcalcazel.cpp
+++ b/kstars/kstars/tools/modcalcazel.cpp
@@ -31,7 +31,7 @@
#include <tqcheckbox.h>
#include <tqradiobutton.h>
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kfiledialog.h>
#include <kmessagebox.h>
@@ -81,7 +81,7 @@ void modCalcAzel::showCurrentDateTime (void)
{
KStars *ks = (KStars*) parent()->parent()->parent();
- KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::tqcurrentDateTime() );
+ KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::currentDateTime() );
datBox->setDate( dt.date() );
timBox->setTime( dt.time() );
@@ -179,7 +179,7 @@ void modCalcAzel::slotClearCoords()
elBox->clearFields();
epochName->setText("");
- datBox->setDate(ExtDate::tqcurrentDate());
+ datBox->setDate(ExtDate::currentDate());
timBox->setTime(TQTime(0,0,0));
}
@@ -328,7 +328,7 @@ void modCalcAzel::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -340,7 +340,7 @@ void modCalcAzel::slotRunBatch() {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
diff --git a/kstars/kstars/tools/modcalcazeldlg.ui b/kstars/kstars/tools/modcalcazeldlg.ui
index 1b4b9d2d..ad8e076a 100644
--- a/kstars/kstars/tools/modcalcazeldlg.ui
+++ b/kstars/kstars/tools/modcalcazeldlg.ui
@@ -50,7 +50,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout20</cstring>
+ <cstring>layout20</cstring>
</property>
<grid>
<property name="name">
@@ -105,7 +105,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -114,7 +114,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout11</cstring>
+ <cstring>layout11</cstring>
</property>
<grid>
<property name="name">
@@ -132,7 +132,7 @@
<property name="name">
<cstring>longBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -154,7 +154,7 @@
<property name="name">
<cstring>latBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -218,13 +218,13 @@
<property name="name">
<cstring>Compute</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>120</width>
<height>32767</height>
@@ -238,13 +238,13 @@
<property name="name">
<cstring>Clear</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>120</width>
<height>32767</height>
@@ -258,7 +258,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout21</cstring>
+ <cstring>layout21</cstring>
</property>
<hbox>
<property name="name">
@@ -290,7 +290,7 @@
<property name="enabled">
<bool>true</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -312,7 +312,7 @@
<property name="name">
<cstring>decBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -334,7 +334,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32767</width>
<height>32767</height>
@@ -361,7 +361,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
@@ -383,7 +383,7 @@
<property name="name">
<cstring>azBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -413,7 +413,7 @@
<property name="name">
<cstring>elBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -437,7 +437,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>77</height>
@@ -557,7 +557,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -574,7 +574,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -615,7 +615,7 @@
<property name="enabled">
<bool>true</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -632,7 +632,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -649,7 +649,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -677,7 +677,7 @@
<property name="enabled">
<bool>true</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -713,7 +713,7 @@
<property name="name">
<cstring>dateBoxBatch</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -801,7 +801,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout14</cstring>
+ <cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@@ -817,7 +817,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -850,7 +850,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -869,7 +869,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>31</height>
diff --git a/kstars/kstars/tools/modcalcdaylength.cpp b/kstars/kstars/tools/modcalcdaylength.cpp
index 08f836d2..97346c94 100644
--- a/kstars/kstars/tools/modcalcdaylength.cpp
+++ b/kstars/kstars/tools/modcalcdaylength.cpp
@@ -40,7 +40,7 @@ modCalcDayLength::~modCalcDayLength() {}
void modCalcDayLength::showCurrentDate (void)
{
- KStarsDateTime dt( KStarsDateTime::tqcurrentDateTime() );
+ KStarsDateTime dt( KStarsDateTime::currentDateTime() );
datBox->setDate( dt.date() );
}
@@ -71,7 +71,7 @@ void modCalcDayLength::slotClearCoords(){
elTransitBox->clearFields();
// reset to current date
- datBox->setDate(ExtDate::tqcurrentDate());
+ datBox->setDate(ExtDate::currentDate());
// reset times to 00:00:00
setTimeBox->clearFields();
diff --git a/kstars/kstars/tools/modcalcdaylengthdlg.ui b/kstars/kstars/tools/modcalcdaylengthdlg.ui
index 458c7442..82aa6c12 100644
--- a/kstars/kstars/tools/modcalcdaylengthdlg.ui
+++ b/kstars/kstars/tools/modcalcdaylengthdlg.ui
@@ -38,7 +38,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout37</cstring>
+ <cstring>layout37</cstring>
</property>
<grid>
<property name="name">
@@ -56,7 +56,7 @@
<property name="name">
<cstring>latBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>16</height>
@@ -78,7 +78,7 @@
<property name="name">
<cstring>longBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>16</height>
@@ -100,7 +100,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>60</width>
<height>20</height>
@@ -127,7 +127,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
@@ -147,7 +147,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -158,7 +158,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -174,7 +174,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
@@ -199,7 +199,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>51</width>
<height>20</height>
@@ -224,7 +224,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>81</width>
<height>20</height>
@@ -246,7 +246,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout10</cstring>
+ <cstring>layout10</cstring>
</property>
<grid>
<property name="name">
@@ -264,7 +264,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>90</width>
<height>20</height>
@@ -294,7 +294,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>90</width>
<height>20</height>
@@ -332,7 +332,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>90</width>
<height>20</height>
@@ -354,7 +354,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>90</width>
<height>20</height>
@@ -384,7 +384,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -393,7 +393,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout20</cstring>
+ <cstring>layout20</cstring>
</property>
<grid>
<property name="name">
@@ -427,7 +427,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -457,7 +457,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -479,7 +479,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -499,7 +499,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -518,7 +518,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>20</height>
@@ -537,7 +537,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>110</height>
diff --git a/kstars/kstars/tools/modcalceclipticcoords.cpp b/kstars/kstars/tools/modcalceclipticcoords.cpp
index 0d8271ab..82132bc5 100644
--- a/kstars/kstars/tools/modcalceclipticcoords.cpp
+++ b/kstars/kstars/tools/modcalceclipticcoords.cpp
@@ -27,7 +27,7 @@
#include <tqstring.h>
#include <tqcheckbox.h>
#include <tqradiobutton.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <klocale.h>
#include <klineedit.h>
#include <kapplication.h>
@@ -223,7 +223,7 @@ void modCalcEclCoords::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -235,7 +235,7 @@ void modCalcEclCoords::slotRunBatch() {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
diff --git a/kstars/kstars/tools/modcalceclipticcoordsdlg.ui b/kstars/kstars/tools/modcalceclipticcoordsdlg.ui
index 3430d683..98830fb3 100644
--- a/kstars/kstars/tools/modcalceclipticcoordsdlg.ui
+++ b/kstars/kstars/tools/modcalceclipticcoordsdlg.ui
@@ -58,7 +58,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>97</width>
<height>21</height>
@@ -86,7 +86,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>96</width>
<height>21</height>
@@ -114,7 +114,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>97</width>
<height>21</height>
@@ -125,7 +125,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -141,7 +141,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>51</width>
<height>21</height>
@@ -166,7 +166,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>51</width>
<height>21</height>
@@ -191,7 +191,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
@@ -202,7 +202,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@@ -231,7 +231,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -261,7 +261,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -318,7 +318,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
@@ -338,7 +338,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -372,7 +372,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -394,7 +394,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -416,7 +416,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>230</width>
<height>20</height>
@@ -437,7 +437,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>110</height>
@@ -486,7 +486,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -503,7 +503,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -548,7 +548,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -565,7 +565,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -726,7 +726,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout22_3</cstring>
+ <cstring>layout22_3</cstring>
</property>
<hbox>
<property name="name">
@@ -742,7 +742,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -775,7 +775,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -794,7 +794,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>31</width>
<height>16</height>
diff --git a/kstars/kstars/tools/modcalcequinox.cpp b/kstars/kstars/tools/modcalcequinox.cpp
index 45f66940..4b5d4eb1 100644
--- a/kstars/kstars/tools/modcalcequinox.cpp
+++ b/kstars/kstars/tools/modcalcequinox.cpp
@@ -27,7 +27,7 @@
#include <tqcombobox.h>
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kfiledialog.h>
#include <kmessagebox.h>
#include <tqcheckbox.h>
@@ -56,8 +56,8 @@ int modCalcEquinox::getYear (TQString eName)
void modCalcEquinox::showCurrentYear (void)
{
- KStarsDateTime dt( KStarsDateTime::tqcurrentDateTime() );
- yearEdit->setText( TQString( "%1").tqarg( dt.date().year() ) );
+ KStarsDateTime dt( KStarsDateTime::currentDateTime() );
+ yearEdit->setText( TQString( "%1").arg( dt.date().year() ) );
}
void modCalcEquinox::slotComputeEquinoxesAndSolstices (void)
@@ -104,7 +104,7 @@ void modCalcEquinox::showStartDateTime(long double jd)
void modCalcEquinox::showSeasonDuration(float deltaJd)
{
- seasonDuration->setText( TQString( "%1").tqarg( deltaJd ) );
+ seasonDuration->setText( TQString( "%1").arg( deltaJd ) );
}
void modCalcEquinox::slotYearCheckedBatch(){
@@ -138,7 +138,7 @@ void modCalcEquinox::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -150,7 +150,7 @@ void modCalcEquinox::slotRunBatch() {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
diff --git a/kstars/kstars/tools/modcalcequinoxdlg.ui b/kstars/kstars/tools/modcalcequinoxdlg.ui
index 2c459b93..b62875ee 100644
--- a/kstars/kstars/tools/modcalcequinoxdlg.ui
+++ b/kstars/kstars/tools/modcalcequinoxdlg.ui
@@ -61,7 +61,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>70</width>
<height>21</height>
@@ -103,7 +103,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
@@ -133,7 +133,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>31</height>
@@ -144,7 +144,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -160,7 +160,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>81</width>
<height>20</height>
@@ -185,7 +185,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>51</width>
<height>20</height>
@@ -210,7 +210,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>91</width>
<height>21</height>
@@ -271,7 +271,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>237</height>
@@ -334,7 +334,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>111</width>
<height>21</height>
@@ -430,7 +430,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout22</cstring>
+ <cstring>layout22</cstring>
</property>
<hbox>
<property name="name">
@@ -446,7 +446,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -479,7 +479,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -498,7 +498,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>71</height>
diff --git a/kstars/kstars/tools/modcalcgalcoord.cpp b/kstars/kstars/tools/modcalcgalcoord.cpp
index 07344fbd..34206145 100644
--- a/kstars/kstars/tools/modcalcgalcoord.cpp
+++ b/kstars/kstars/tools/modcalcgalcoord.cpp
@@ -26,7 +26,7 @@
#include <tqstring.h>
#include <tqcheckbox.h>
#include <tqradiobutton.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <klocale.h>
#include <klineedit.h>
#include <kapplication.h>
@@ -225,7 +225,7 @@ void modCalcGalCoord::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -237,7 +237,7 @@ void modCalcGalCoord::slotRunBatch() {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
diff --git a/kstars/kstars/tools/modcalcgalcoorddlg.ui b/kstars/kstars/tools/modcalcgalcoorddlg.ui
index e1741cb4..3b296fe0 100644
--- a/kstars/kstars/tools/modcalcgalcoorddlg.ui
+++ b/kstars/kstars/tools/modcalcgalcoorddlg.ui
@@ -58,7 +58,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>97</width>
<height>21</height>
@@ -86,7 +86,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>96</width>
<height>21</height>
@@ -114,7 +114,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>97</width>
<height>21</height>
@@ -125,7 +125,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -141,7 +141,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>51</width>
<height>21</height>
@@ -166,7 +166,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>51</width>
<height>21</height>
@@ -191,7 +191,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
@@ -202,7 +202,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout22</cstring>
+ <cstring>layout22</cstring>
</property>
<hbox>
<property name="name">
@@ -231,7 +231,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -261,7 +261,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -318,7 +318,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>15</width>
<height>20</height>
@@ -338,7 +338,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -372,7 +372,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -394,7 +394,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -420,7 +420,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>160</height>
@@ -469,7 +469,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -486,7 +486,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -601,7 +601,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -618,7 +618,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -709,7 +709,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout22_3</cstring>
+ <cstring>layout22_3</cstring>
</property>
<hbox>
<property name="name">
@@ -725,7 +725,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -758,7 +758,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -777,7 +777,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>31</width>
<height>71</height>
diff --git a/kstars/kstars/tools/modcalcgeodcoord.cpp b/kstars/kstars/tools/modcalcgeodcoord.cpp
index 2f750758..29fc47e3 100644
--- a/kstars/kstars/tools/modcalcgeodcoord.cpp
+++ b/kstars/kstars/tools/modcalcgeodcoord.cpp
@@ -25,7 +25,7 @@
#include <tqradiobutton.h>
#include <tqstring.h>
#include <tqcheckbox.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kcombobox.h>
#include <klineedit.h>
@@ -236,7 +236,7 @@ void modCalcGeodCoord::slotRunBatch(void) {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -248,7 +248,7 @@ void modCalcGeodCoord::slotRunBatch(void) {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
diff --git a/kstars/kstars/tools/modcalcgeoddlg.ui b/kstars/kstars/tools/modcalcgeoddlg.ui
index bb74be14..03b9aeff 100644
--- a/kstars/kstars/tools/modcalcgeoddlg.ui
+++ b/kstars/kstars/tools/modcalcgeoddlg.ui
@@ -39,7 +39,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout31</cstring>
+ <cstring>layout31</cstring>
</property>
<hbox>
<property name="name">
@@ -58,7 +58,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout1</cstring>
+ <cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
@@ -112,7 +112,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -128,7 +128,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>81</width>
<height>20</height>
@@ -153,7 +153,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>51</width>
<height>20</height>
@@ -178,7 +178,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>91</width>
<height>21</height>
@@ -189,7 +189,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout32</cstring>
+ <cstring>layout32</cstring>
</property>
<hbox>
<property name="name">
@@ -262,7 +262,7 @@
<property name="name">
<cstring>lonGeoBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
@@ -276,7 +276,7 @@
<property name="name">
<cstring>latGeoBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
@@ -332,7 +332,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>120</height>
@@ -584,7 +584,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout22</cstring>
+ <cstring>layout22</cstring>
</property>
<hbox>
<property name="name">
@@ -600,7 +600,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -633,7 +633,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -652,7 +652,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>41</height>
diff --git a/kstars/kstars/tools/modcalcjd.cpp b/kstars/kstars/tools/modcalcjd.cpp
index 7fb71c4c..8b87b998 100644
--- a/kstars/kstars/tools/modcalcjd.cpp
+++ b/kstars/kstars/tools/modcalcjd.cpp
@@ -95,7 +95,7 @@ void modCalcJD::slotClearTime (void)
{
JdName->setText ("");
MjdName->setText ("");
- datBox->setDate( ExtDate::tqcurrentDate() );
+ datBox->setDate( ExtDate::currentDate() );
timBox->setTime(TQTime(0,0,0));
}
@@ -103,7 +103,7 @@ void modCalcJD::showCurrentTime (void)
{
KStars *ks = (KStars*) parent()->parent()->parent();
- KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::tqcurrentDateTime() );
+ KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::currentDateTime() );
datBox->setDate( dt.date() );
timBox->setTime( dt.time() );
computeFromCalendar();
diff --git a/kstars/kstars/tools/modcalcjddlg.ui b/kstars/kstars/tools/modcalcjddlg.ui
index c94441cc..b5c1c5b8 100644
--- a/kstars/kstars/tools/modcalcjddlg.ui
+++ b/kstars/kstars/tools/modcalcjddlg.ui
@@ -40,7 +40,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@@ -100,7 +100,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout37</cstring>
+ <cstring>layout37</cstring>
</property>
<hbox>
<property name="name">
@@ -129,7 +129,7 @@
<property name="name">
<cstring>JdName</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>130</width>
<height>0</height>
@@ -161,7 +161,7 @@
<property name="name">
<cstring>MjdName</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>130</width>
<height>0</height>
@@ -193,7 +193,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
@@ -212,7 +212,7 @@
<property name="name">
<cstring>timBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -229,7 +229,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
@@ -256,7 +256,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>110</width>
<height>0</height>
@@ -273,7 +273,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
@@ -284,7 +284,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout7</cstring>
+ <cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@@ -300,7 +300,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>23</width>
<height>20</height>
@@ -333,7 +333,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>39</width>
<height>21</height>
@@ -352,13 +352,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32767</width>
<height>30</height>
@@ -378,7 +378,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>37</width>
<height>20</height>
@@ -397,13 +397,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32767</width>
<height>30</height>
@@ -423,7 +423,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>38</width>
<height>20</height>
@@ -442,7 +442,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
diff --git a/kstars/kstars/tools/modcalcplanets.cpp b/kstars/kstars/tools/modcalcplanets.cpp
index 8273f6be..a930033b 100644
--- a/kstars/kstars/tools/modcalcplanets.cpp
+++ b/kstars/kstars/tools/modcalcplanets.cpp
@@ -31,7 +31,7 @@
#include <tqcombobox.h>
#include <tqdatetimeedit.h>
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kfiledialog.h>
#include <kmessagebox.h>
#include <tqcheckbox.h>
@@ -51,7 +51,7 @@ modCalcPlanets::~modCalcPlanets(){
void modCalcPlanets::showCurrentDateTime (void)
{
KStars *ks = (KStars*) parent()->parent()->parent(); // TQSplitter->AstroCalc->KStars
- KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::tqcurrentDateTime() );
+ KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::currentDateTime() );
dateBox->setDate( dt.date() );
timeBox->setTime( dt.time() );
@@ -310,7 +310,7 @@ void modCalcPlanets::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -320,7 +320,7 @@ void modCalcPlanets::slotRunBatch() {
processLines(istream);
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
@@ -397,9 +397,9 @@ void modCalcPlanets::processLines( TQTextStream &istream ) {
if (fields.count() != numberOfRequiredFields ) {
lineIsValid = false;
- kdWarning() << i18n( "Incorrect number of fields in line %1: " ).tqarg(nline)
- << i18n( "Present fields %1. " ).tqarg(fields.count())
- << i18n( "Required fields %1. " ).tqarg(numberOfRequiredFields) << endl;
+ kdWarning() << i18n( "Incorrect number of fields in line %1: " ).arg(nline)
+ << i18n( "Present fields %1. " ).arg(fields.count())
+ << i18n( "Required fields %1. " ).arg(numberOfRequiredFields) << endl;
nline++;
continue;
}
@@ -419,7 +419,7 @@ void modCalcPlanets::processLines( TQTextStream &istream ) {
if (j == 11) {
kdWarning() << i18n("Unknown planet ")
<< fields[i]
- << i18n(" in line %1: ").tqarg(nline) << endl;
+ << i18n(" in line %1: ").arg(nline) << endl;
continue;
}
i++;
@@ -441,7 +441,7 @@ void modCalcPlanets::processLines( TQTextStream &istream ) {
if(utCheckBatch->isChecked() ) {
utB = TQTime::fromString( fields[i] );
if ( !utB.isValid() ) {
- kdWarning() << i18n( "Line %1 contains an invalid time" ).tqarg(nline) << endl;
+ kdWarning() << i18n( "Line %1 contains an invalid time" ).arg(nline) << endl;
lineIsValid=false;
nline++;
continue;
@@ -461,7 +461,7 @@ void modCalcPlanets::processLines( TQTextStream &istream ) {
if(dateCheckBatch->isChecked() ) {
dtB = ExtDate::fromString( fields[i], Qt::ISODate );
if ( !dtB.isValid() ) {
- kdWarning() << i18n( "Line %1 contains an invalid date: " ).tqarg(nline) <<
+ kdWarning() << i18n( "Line %1 contains an invalid date: " ).arg(nline) <<
fields[i] << endl ;
lineIsValid=false;
nline++;
diff --git a/kstars/kstars/tools/modcalcplanetsdlg.ui b/kstars/kstars/tools/modcalcplanetsdlg.ui
index 2f25aa40..638a1fbd 100644
--- a/kstars/kstars/tools/modcalcplanetsdlg.ui
+++ b/kstars/kstars/tools/modcalcplanetsdlg.ui
@@ -47,7 +47,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout13</cstring>
+ <cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@@ -63,7 +63,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>101</width>
<height>21</height>
@@ -148,7 +148,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -159,7 +159,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout14</cstring>
+ <cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@@ -167,7 +167,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout20</cstring>
+ <cstring>layout20</cstring>
</property>
<grid>
<property name="name">
@@ -177,7 +177,7 @@
<property name="name">
<cstring>dateBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
@@ -199,7 +199,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -234,7 +234,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -243,7 +243,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout11</cstring>
+ <cstring>layout11</cstring>
</property>
<grid>
<property name="name">
@@ -261,7 +261,7 @@
<property name="name">
<cstring>longBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -283,7 +283,7 @@
<property name="name">
<cstring>latBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -305,7 +305,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -318,7 +318,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout13</cstring>
+ <cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@@ -337,7 +337,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout11</cstring>
+ <cstring>layout11</cstring>
</property>
<grid>
<property name="name">
@@ -347,7 +347,7 @@
<property name="name">
<cstring>raBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -374,7 +374,7 @@
<property name="name">
<cstring>decBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -393,7 +393,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -415,7 +415,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout12</cstring>
+ <cstring>layout12</cstring>
</property>
<grid>
<property name="name">
@@ -433,7 +433,7 @@
<property name="name">
<cstring>altBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -452,7 +452,7 @@
<property name="name">
<cstring>azBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -471,7 +471,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -495,7 +495,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout8</cstring>
+ <cstring>layout8</cstring>
</property>
<grid>
<property name="name">
@@ -513,7 +513,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -535,7 +535,7 @@
<property name="name">
<cstring>helLongBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -554,7 +554,7 @@
<property name="name">
<cstring>helLatBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -581,7 +581,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -590,7 +590,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<grid>
<property name="name">
@@ -616,7 +616,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -638,7 +638,7 @@
<property name="name">
<cstring>geoLongBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -649,7 +649,7 @@
<property name="name">
<cstring>geoLatBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -676,7 +676,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -687,7 +687,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout1</cstring>
+ <cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
@@ -703,7 +703,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>111</width>
<height>20</height>
@@ -728,7 +728,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>61</width>
<height>21</height>
@@ -753,7 +753,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>91</width>
<height>20</height>
@@ -772,7 +772,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>60</height>
@@ -829,7 +829,7 @@
<property name="enabled">
<bool>true</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -857,7 +857,7 @@
<property name="enabled">
<bool>true</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -882,7 +882,7 @@
<property name="enabled">
<bool>true</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -1143,7 +1143,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout14_2</cstring>
+ <cstring>layout14_2</cstring>
</property>
<hbox>
<property name="name">
@@ -1159,7 +1159,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -1192,7 +1192,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -1211,7 +1211,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
diff --git a/kstars/kstars/tools/modcalcprec.cpp b/kstars/kstars/tools/modcalcprec.cpp
index 05ef4718..10087590 100644
--- a/kstars/kstars/tools/modcalcprec.cpp
+++ b/kstars/kstars/tools/modcalcprec.cpp
@@ -24,7 +24,7 @@
#include <tqcheckbox.h>
#include <tqradiobutton.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <klocale.h>
#include <klineedit.h>
#include <kapplication.h>
@@ -57,13 +57,13 @@ SkyPoint modCalcPrec::getEquCoords (void) {
TQString modCalcPrec:: showCurrentEpoch () {
double epoch = setCurrentEpoch();
- TQString eName = TQString("%1").tqarg(epoch,7,'f',2);
+ TQString eName = TQString("%1").arg(epoch,7,'f',2);
return eName;
}
double modCalcPrec::setCurrentEpoch () {
- return KStarsDateTime::tqcurrentDateTime().epoch();
+ return KStarsDateTime::currentDateTime().epoch();
}
double modCalcPrec::getEpoch (TQString eName) {
@@ -176,7 +176,7 @@ void modCalcPrec::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -188,7 +188,7 @@ void modCalcPrec::slotRunBatch() {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
diff --git a/kstars/kstars/tools/modcalcprecdlg.ui b/kstars/kstars/tools/modcalcprecdlg.ui
index 3811922b..d0f7af15 100644
--- a/kstars/kstars/tools/modcalcprecdlg.ui
+++ b/kstars/kstars/tools/modcalcprecdlg.ui
@@ -55,7 +55,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>98</width>
<height>20</height>
@@ -64,7 +64,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout25</cstring>
+ <cstring>layout25</cstring>
</property>
<grid>
<property name="name">
@@ -140,7 +140,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>98</width>
<height>20</height>
@@ -151,7 +151,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -167,7 +167,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>91</width>
<height>20</height>
@@ -192,7 +192,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>51</width>
<height>20</height>
@@ -217,7 +217,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>91</width>
<height>21</height>
@@ -236,7 +236,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -264,7 +264,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>90</width>
<height>20</height>
@@ -273,7 +273,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout26</cstring>
+ <cstring>layout26</cstring>
</property>
<grid>
<property name="name">
@@ -323,7 +323,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>90</width>
<height>20</height>
@@ -342,7 +342,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>70</height>
@@ -551,7 +551,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout14_2</cstring>
+ <cstring>layout14_2</cstring>
</property>
<hbox>
<property name="name">
@@ -567,7 +567,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -600,7 +600,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -619,7 +619,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>30</height>
diff --git a/kstars/kstars/tools/modcalcsidtime.cpp b/kstars/kstars/tools/modcalcsidtime.cpp
index d973d902..62c53fb4 100644
--- a/kstars/kstars/tools/modcalcsidtime.cpp
+++ b/kstars/kstars/tools/modcalcsidtime.cpp
@@ -19,7 +19,7 @@
#include <tqradiobutton.h>
#include <tqcheckbox.h>
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kfiledialog.h>
#include <kmessagebox.h>
@@ -99,7 +99,7 @@ dms modCalcSidTime::getLongitude( void )
}
void modCalcSidTime::slotClearFields(){
- datBox->setDate(ExtDate::tqcurrentDate());
+ datBox->setDate(ExtDate::currentDate());
TQTime time(0,0,0);
UtBox->setTime(time);
StBox->setTime(time);
@@ -192,7 +192,7 @@ void modCalcSidTime::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -204,7 +204,7 @@ void modCalcSidTime::slotRunBatch() {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
diff --git a/kstars/kstars/tools/modcalcsidtimedlg.ui b/kstars/kstars/tools/modcalcsidtimedlg.ui
index 055446fd..e7203887 100644
--- a/kstars/kstars/tools/modcalcsidtimedlg.ui
+++ b/kstars/kstars/tools/modcalcsidtimedlg.ui
@@ -39,7 +39,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout47</cstring>
+ <cstring>layout47</cstring>
</property>
<hbox>
<property name="name">
@@ -111,7 +111,7 @@
<property name="name">
<cstring>longBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -125,7 +125,7 @@
<property name="name">
<cstring>datBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -141,7 +141,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -157,7 +157,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>21</height>
@@ -182,7 +182,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>101</width>
<height>21</height>
@@ -207,7 +207,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -218,7 +218,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout47</cstring>
+ <cstring>layout47</cstring>
</property>
<hbox>
<property name="name">
@@ -245,7 +245,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -275,7 +275,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>20</height>
@@ -305,7 +305,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -335,7 +335,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>20</height>
@@ -356,7 +356,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>204</height>
@@ -391,7 +391,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>90</width>
<height>0</height>
@@ -406,7 +406,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout30</cstring>
+ <cstring>layout30</cstring>
</property>
<grid>
<property name="name">
@@ -452,7 +452,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -474,7 +474,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
@@ -483,7 +483,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout32</cstring>
+ <cstring>layout32</cstring>
</property>
<grid>
<property name="name">
@@ -501,7 +501,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -559,7 +559,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -647,7 +647,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout22_3</cstring>
+ <cstring>layout22_3</cstring>
</property>
<hbox>
<property name="name">
@@ -663,7 +663,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -696,7 +696,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -715,7 +715,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>31</width>
<height>16</height>
diff --git a/kstars/kstars/tools/modcalcvlsr.cpp b/kstars/kstars/tools/modcalcvlsr.cpp
index 5a499c5c..580d8324 100644
--- a/kstars/kstars/tools/modcalcvlsr.cpp
+++ b/kstars/kstars/tools/modcalcvlsr.cpp
@@ -32,7 +32,7 @@
#include <tqcheckbox.h>
#include <tqradiobutton.h>
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kfiledialog.h>
#include <kmessagebox.h>
@@ -143,7 +143,7 @@ void modCalcVlsr::showCurrentDateTime (void)
{
KStars *ks = (KStars*) parent()->parent()->parent();
- KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::tqcurrentDateTime() );
+ KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::currentDateTime() );
datBox->setDate( dt.date() );
timBox->setTime( dt.time() );
@@ -212,7 +212,7 @@ void modCalcVlsr::slotClearCoords()
vGeoBox->setText("");
vTopoBox->setText("");
- datBox->setDate(ExtDate::tqcurrentDate());
+ datBox->setDate(ExtDate::currentDate());
timBox->setTime(TQTime(0,0,0));
}
@@ -373,7 +373,7 @@ void modCalcVlsr::slotRunBatch() {
if ( TQFile::exists(inputFileName) ) {
TQFile f( inputFileName );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1.").tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1.").arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
inputFileName = "";
return;
@@ -385,7 +385,7 @@ void modCalcVlsr::slotRunBatch() {
// readFile( istream );
f.close();
} else {
- TQString message = i18n( "Invalid file: %1" ).tqarg( inputFileName );
+ TQString message = i18n( "Invalid file: %1" ).arg( inputFileName );
KMessageBox::sorry( 0, message, i18n( "Invalid file" ) );
inputFileName = "";
InputLineEditBatch->setText( inputFileName );
diff --git a/kstars/kstars/tools/modcalcvlsrdlg.ui b/kstars/kstars/tools/modcalcvlsrdlg.ui
index e096407d..0c177d99 100644
--- a/kstars/kstars/tools/modcalcvlsrdlg.ui
+++ b/kstars/kstars/tools/modcalcvlsrdlg.ui
@@ -47,7 +47,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout7</cstring>
+ <cstring>layout7</cstring>
</property>
<grid>
<property name="name">
@@ -63,7 +63,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
@@ -93,7 +93,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
@@ -136,7 +136,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -145,7 +145,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout8</cstring>
+ <cstring>layout8</cstring>
</property>
<grid>
<property name="name">
@@ -155,7 +155,7 @@
<property name="name">
<cstring>heightBox</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>1000</width>
<height>32767</height>
@@ -169,7 +169,7 @@
<property name="name">
<cstring>longBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -207,7 +207,7 @@
<property name="name">
<cstring>latBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -223,7 +223,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout14</cstring>
+ <cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@@ -239,7 +239,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>120</width>
<height>31</height>
@@ -272,7 +272,7 @@
<property name="enabled">
<bool>true</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -294,7 +294,7 @@
<property name="name">
<cstring>decBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -316,7 +316,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32767</width>
<height>32767</height>
@@ -343,7 +343,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>100</width>
<height>20</height>
@@ -354,7 +354,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout15</cstring>
+ <cstring>layout15</cstring>
</property>
<hbox>
<property name="name">
@@ -435,7 +435,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>21</height>
@@ -510,13 +510,13 @@
<property name="name">
<cstring>Compute</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>120</width>
<height>32767</height>
@@ -530,13 +530,13 @@
<property name="name">
<cstring>Clear</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>120</width>
<height>32767</height>
@@ -558,7 +558,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
@@ -675,7 +675,7 @@
<property name="name">
<cstring>dateBoxBatch</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -689,7 +689,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -706,7 +706,7 @@
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -736,7 +736,7 @@
<property name="enabled">
<bool>true</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -764,7 +764,7 @@
<property name="enabled">
<bool>true</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
@@ -937,7 +937,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout14</cstring>
+ <cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@@ -953,7 +953,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>151</width>
<height>21</height>
@@ -986,7 +986,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -1005,7 +1005,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>50</height>
diff --git a/kstars/kstars/tools/observinglist.cpp b/kstars/kstars/tools/observinglist.cpp
index 3e73048f..64c031f8 100644
--- a/kstars/kstars/tools/observinglist.cpp
+++ b/kstars/kstars/tools/observinglist.cpp
@@ -19,7 +19,7 @@
#include <tqfile.h>
#include <tqdir.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqstringlist.h>
#include <tqwidgetstack.h>
#include <klistview.h>
@@ -144,7 +144,7 @@ void ObservingList::slotAddObject( SkyObject *obj ) {
for ( SkyObject *o = obsList.first(); o; o = obsList.next() ) {
if ( obj == o ) {
//FIXME STRINGS FREEZE
- //ks->statusBar()->changeItem( i18n( "%1 is already in the observing list." ).tqarg( obj->name() ), 0 );
+ //ks->statusBar()->changeItem( i18n( "%1 is already in the observing list." ).arg( obj->name() ), 0 );
return;
}
}
@@ -164,7 +164,7 @@ void ObservingList::slotAddObject( SkyObject *obj ) {
ui->TinyTable->insertItem( obj->translatedName() );
//Note addition in statusbar
- ks->statusBar()->changeItem( i18n( "Added %1 to observing list." ).tqarg( obj->name() ), 0 );
+ ks->statusBar()->changeItem( i18n( "Added %1 to observing list." ).arg( obj->name() ), 0 );
}
void ObservingList::slotRemoveObject( SkyObject *o ) {
@@ -200,7 +200,7 @@ void ObservingList::slotRemoveObject( SkyObject *o ) {
}
if ( ! objectFound ) {
- kdDebug() << i18n( "Cannot remove Object %1; not found in table." ).tqarg(o->translatedName()) << endl;
+ kdDebug() << i18n( "Cannot remove Object %1; not found in table." ).arg(o->translatedName()) << endl;
} else {
//Remove object from TinyTable
for ( uint i=0; i < ui->TinyTable->count(); i++ ) {
@@ -268,7 +268,7 @@ void ObservingList::slotNewSelection() {
}
if ( ! found ) {
- kdDebug() << i18n( "Object %1 not found in obsList." ).tqarg( newName ) << endl;
+ kdDebug() << i18n( "Object %1 not found in obsList." ).arg( newName ) << endl;
} else if ( newName != i18n( "star" ) ) {
//Display the object's current user notes in the NotesEdit
//First, save the last object's user log to disk, if necessary
@@ -280,9 +280,9 @@ void ObservingList::slotNewSelection() {
ui->NotesLabel->setEnabled( true );
ui->NotesEdit->setEnabled( true );
- ui->NotesLabel->setText( i18n( "observing notes for %1:" ).tqarg( LogObject->translatedName() ) );
+ ui->NotesLabel->setText( i18n( "observing notes for %1:" ).arg( LogObject->translatedName() ) );
if ( LogObject->userLog.isEmpty() ) {
- ui->NotesEdit->setText( i18n("Record here observation logs and/or data on %1.").tqarg( LogObject->translatedName() ) );
+ ui->NotesEdit->setText( i18n("Record here observation logs and/or data on %1.").arg( LogObject->translatedName() ) );
} else {
ui->NotesEdit->setText( LogObject->userLog );
}
@@ -378,7 +378,7 @@ void ObservingList::slotSlewToObject()
if (ConnectEle->state == PS_OFF)
{
- KMessageBox::error(0, i18n("Telescope %1 is offline. Please connect and retry again.").tqarg(indidev->label));
+ KMessageBox::error(0, i18n("Telescope %1 is offline. Please connect and retry again.").arg(indidev->label));
return;
}
@@ -432,8 +432,8 @@ void ObservingList::slotSlewToObject()
if (useJ2000)
sp.apparentCoord(ks->data()->ut().djd(), (long double) J2000);
- RAEle->write_w->setText(TQString("%1:%2:%3").tqarg(sp.ra()->hour()).tqarg(sp.ra()->minute()).tqarg(sp.ra()->second()));
- DecEle->write_w->setText(TQString("%1:%2:%3").tqarg(sp.dec()->degree()).tqarg(sp.dec()->arcmin()).tqarg(sp.dec()->arcsec()));
+ RAEle->write_w->setText(TQString("%1:%2:%3").arg(sp.ra()->hour()).arg(sp.ra()->minute()).arg(sp.ra()->second()));
+ DecEle->write_w->setText(TQString("%1:%2:%3").arg(sp.dec()->degree()).arg(sp.dec()->arcmin()).arg(sp.dec()->arcsec()));
break;
@@ -449,8 +449,8 @@ void ObservingList::slotSlewToObject()
sp.setAlt(*ks->map()->clickedPoint()->alt());
}
- AzEle->write_w->setText(TQString("%1:%2:%3").tqarg(sp.az()->degree()).tqarg(sp.az()->arcmin()).tqarg(sp.az()->arcsec()));
- AltEle->write_w->setText(TQString("%1:%2:%3").tqarg(sp.alt()->degree()).tqarg(sp.alt()->arcmin()).tqarg(sp.alt()->arcsec()));
+ AzEle->write_w->setText(TQString("%1:%2:%3").arg(sp.az()->degree()).arg(sp.az()->arcmin()).arg(sp.az()->arcsec()));
+ AltEle->write_w->setText(TQString("%1:%2:%3").arg(sp.alt()->degree()).arg(sp.alt()->arcmin()).arg(sp.alt()->arcsec()));
break;
}
@@ -490,7 +490,7 @@ void ObservingList::slotAVT() {
void ObservingList::slotClose() {
//Save the current User log text
if ( oCurrent && ! ui->NotesEdit->text().isEmpty() && ui->NotesEdit->text()
- != i18n("Record here observation logs and/or data on %1.").tqarg( oCurrent->name()) ) {
+ != i18n("Record here observation logs and/or data on %1.").arg( oCurrent->name()) ) {
oCurrent->saveUserLog( ui->NotesEdit->text() );
}
@@ -500,7 +500,7 @@ void ObservingList::slotClose() {
void ObservingList::saveCurrentUserLog() {
if ( ! ui->NotesEdit->text().isEmpty() &&
ui->NotesEdit->text() !=
- i18n("Record here observation logs and/or data on %1.").tqarg( LogObject->translatedName() ) ) {
+ i18n("Record here observation logs and/or data on %1.").arg( LogObject->translatedName() ) ) {
LogObject->saveUserLog( ui->NotesEdit->text() );
ui->NotesEdit->clear();
@@ -528,7 +528,7 @@ void ObservingList::slotOpenList() {
}
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1" ).tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1" ).arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
return;
}
@@ -627,7 +627,7 @@ void ObservingList::slotSaveList() {
TQFile f( FileName );
if ( !f.open( IO_WriteOnly) ) {
- TQString message = i18n( "Could not open file %1. Try a different filename?" ).tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1. Try a different filename?" ).arg( f.name() );
if ( KMessageBox::warningYesNo( 0, message, i18n( "Could Not Open File" ), i18n("Try Different"), i18n("Do Not Try") ) == KMessageBox::Yes ) {
FileName == "";
diff --git a/kstars/kstars/tools/observinglistui.ui b/kstars/kstars/tools/observinglistui.ui
index 57a1403b..4a664c0c 100644
--- a/kstars/kstars/tools/observinglistui.ui
+++ b/kstars/kstars/tools/observinglistui.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout68</cstring>
+ <cstring>layout68</cstring>
</property>
<hbox>
<property name="name">
@@ -39,13 +39,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -73,13 +73,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -107,13 +107,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -141,13 +141,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -173,7 +173,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>350</width>
<height>20</height>
@@ -192,13 +192,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -218,7 +218,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -350,7 +350,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -488,7 +488,7 @@
<verstretch>4</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>100</height>
@@ -518,7 +518,7 @@
<property name="text">
<string>observing notes for object:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter</set>
</property>
</widget>
@@ -534,13 +534,13 @@
<verstretch>1</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>100</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32767</width>
<height>160</height>
diff --git a/kstars/kstars/tools/obslistwizard.cpp b/kstars/kstars/tools/obslistwizard.cpp
index cf585325..314b4066 100644
--- a/kstars/kstars/tools/obslistwizard.cpp
+++ b/kstars/kstars/tools/obslistwizard.cpp
@@ -16,7 +16,7 @@
#include <tqcheckbox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwidgetstack.h>
#include <knuminput.h>
#include <klistbox.h>
@@ -411,7 +411,7 @@ void ObsListWizard::applyFilters( bool doBuildList )
//Update the object count label
if ( doBuildList ) ObjectCount = obsList().count();
- olw->CountLabel->setText( i18n("Current selection: %1 objects").tqarg( ObjectCount ) );
+ olw->CountLabel->setText( i18n("Current selection: %1 objects").arg( ObjectCount ) );
}
void ObsListWizard::applyRegionFilter( SkyObject *o, bool doBuildList, bool doAdjustCount ) {
diff --git a/kstars/kstars/tools/obslistwizardui.ui b/kstars/kstars/tools/obslistwizardui.ui
index b5bb1eaf..e7891bed 100644
--- a/kstars/kstars/tools/obslistwizardui.ui
+++ b/kstars/kstars/tools/obslistwizardui.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout79</cstring>
+ <cstring>layout79</cstring>
</property>
<hbox>
<property name="name">
@@ -29,7 +29,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout55</cstring>
+ <cstring>layout55</cstring>
</property>
<vbox>
<property name="name">
@@ -117,7 +117,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout12</cstring>
+ <cstring>layout12</cstring>
</property>
<vbox>
<property name="name">
@@ -164,7 +164,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout13</cstring>
+ <cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@@ -225,7 +225,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout12</cstring>
+ <cstring>layout12</cstring>
</property>
<vbox>
<property name="name">
@@ -273,7 +273,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>90</height>
@@ -342,7 +342,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout48</cstring>
+ <cstring>layout48</cstring>
</property>
<grid>
<property name="name">
@@ -371,7 +371,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -393,7 +393,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -455,7 +455,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -477,7 +477,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -496,7 +496,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>215</height>
@@ -529,7 +529,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<grid>
<property name="name">
@@ -574,7 +574,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -596,7 +596,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -629,7 +629,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>170</height>
@@ -659,7 +659,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@@ -669,7 +669,7 @@
<property name="name">
<cstring>Date</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>160</width>
<height>0</height>
@@ -686,7 +686,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -697,7 +697,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -736,7 +736,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5_2</cstring>
+ <cstring>layout5_2</cstring>
</property>
<hbox>
<property name="name">
@@ -752,7 +752,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -780,7 +780,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -799,7 +799,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>176</height>
@@ -829,7 +829,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout36</cstring>
+ <cstring>layout36</cstring>
</property>
<hbox>
<property name="name">
@@ -861,7 +861,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>295</width>
<height>20</height>
@@ -895,7 +895,7 @@ have &amp;no magnitude</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>179</height>
@@ -930,7 +930,7 @@ c. select objects in a circular region
Choose one of these sub-items to
select from a region on the sky.</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignTop</set>
</property>
</widget>
diff --git a/kstars/kstars/tools/optionstreeview.ui b/kstars/kstars/tools/optionstreeview.ui
index 4a9e11e3..775b2270 100644
--- a/kstars/kstars/tools/optionstreeview.ui
+++ b/kstars/kstars/tools/optionstreeview.ui
@@ -62,7 +62,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -78,7 +78,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>80</width>
<height>20</height>
diff --git a/kstars/kstars/tools/planetviewer.cpp b/kstars/kstars/tools/planetviewer.cpp
index d036b925..429b1f7b 100644
--- a/kstars/kstars/tools/planetviewer.cpp
+++ b/kstars/kstars/tools/planetviewer.cpp
@@ -17,7 +17,7 @@
#include <stdlib.h> //needed for abs() on some platforms
#include <tqfile.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kdebug.h>
#include <klocale.h>
#include <kglobal.h>
@@ -233,7 +233,7 @@ PVPlotWidget::PVPlotWidget( double x1, double x2, double y1, double y2, TQWidget
mouseButtonDown(false), oldx(0), oldy(0) {
setFocusPolicy( TQ_StrongFocus );
setMouseTracking (true);
- pv = (PlanetViewer*)tqtopLevelWidget();
+ pv = (PlanetViewer*)topLevelWidget();
}
PVPlotWidget::PVPlotWidget( TQWidget *parent, const char *name ) :
@@ -241,7 +241,7 @@ PVPlotWidget::PVPlotWidget( TQWidget *parent, const char *name ) :
mouseButtonDown(false), oldx(0), oldy(0) {
setFocusPolicy( TQ_StrongFocus );
setMouseTracking (true);
- pv = (PlanetViewer*)tqtopLevelWidget();
+ pv = (PlanetViewer*)topLevelWidget();
}
PVPlotWidget::~ PVPlotWidget() {}
@@ -416,7 +416,7 @@ void PVPlotWidget::mouseMoveEvent( TQMouseEvent *e ) {
setLimits( xc - 0.5*dataWidth(), xc + 0.5*dataWidth(),
yc - 0.5*dataHeight(), yc + 0.5*dataHeight() );
update();
- kapp->tqprocessEvents(20);
+ kapp->processEvents(20);
}
oldx = e->x();
diff --git a/kstars/kstars/tools/planetviewerui.ui b/kstars/kstars/tools/planetviewerui.ui
index d2ac73a7..77b8db5a 100644
--- a/kstars/kstars/tools/planetviewerui.ui
+++ b/kstars/kstars/tools/planetviewerui.ui
@@ -26,7 +26,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -44,7 +44,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>34</width>
<height>34</height>
@@ -69,7 +69,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>120</width>
<height>20</height>
diff --git a/kstars/kstars/tools/scriptbuilder.cpp b/kstars/kstars/tools/scriptbuilder.cpp
index 183b22d4..745a52ef 100644
--- a/kstars/kstars/tools/scriptbuilder.cpp
+++ b/kstars/kstars/tools/scriptbuilder.cpp
@@ -45,7 +45,7 @@
#include <tqwidgetstack.h>
#include <tqwidget.h>
#include <tqptrlist.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqdatetimeedit.h>
#include <tqradiobutton.h>
#include <tqbuttongroup.h>
@@ -649,7 +649,7 @@ void ScriptBuilder::initViewOptions() {
new TQListViewItem( opsSkymap, "UseAltAz", i18n( "UseQt::Horizontal coordinates? (otherwise, use Equatorial)" ), i18n( "bool" ) );
new TQListViewItem( opsSkymap, "ZoomFactor", i18n( "Set the Zoom Factor" ), i18n( "double" ) );
new TQListViewItem( opsSkymap, "FOV Size", i18n( "Select angular size for the FOV symbol (in arcmin)" ), i18n( "double" ) );
- new TQListViewItem( opsSkymap, "FOV Shape", i18n( "Select tqshape for the FOV symbol (0=Square, 1=Circle, 2=Crosshairs, 4=Bullseye)" ), i18n( "int" ) );
+ new TQListViewItem( opsSkymap, "FOV Shape", i18n( "Select shape for the FOV symbol (0=Square, 1=Circle, 2=Crosshairs, 4=Bullseye)" ), i18n( "int" ) );
new TQListViewItem( opsSkymap, "FOV Color", i18n( "Select color for the FOV symbol" ), i18n( "string" ) );
new TQListViewItem( opsSkymap, "AnimateSlewing", i18n( "Use animated slewing? (otherwise, \"snap\" to new focus)" ), i18n( "bool" ) );
new TQListViewItem( opsSkymap, "UseRefraction", i18n( "Correct for atmospheric refraction?" ), i18n( "bool" ) );
@@ -759,7 +759,7 @@ void ScriptBuilder::slotOpen() {
TQFile f( fname );
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1." ).tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1." ).arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
currentFileURL = "";
return;
@@ -770,7 +770,7 @@ void ScriptBuilder::slotOpen() {
f.close();
} else if ( ! currentFileURL.url().isEmpty() ) {
- TQString message = i18n( "Invalid URL: %1" ).tqarg( currentFileURL.url() );
+ TQString message = i18n( "Invalid URL: %1" ).arg( currentFileURL.url() );
KMessageBox::sorry( 0, message, i18n( "Invalid URL" ) );
currentFileURL = "";
}
@@ -805,7 +805,7 @@ void ScriptBuilder::slotSave() {
if (TQFile::exists(currentFileURL.path())) {
int r=KMessageBox::warningContinueCancel(TQT_TQWIDGET(parent()),
i18n( "A file named \"%1\" already exists. "
- "Overwrite it?" ).tqarg(currentFileURL.fileName()),
+ "Overwrite it?" ).arg(currentFileURL.fileName()),
i18n( "Overwrite File?" ),
i18n( "&Overwrite" ) );
@@ -819,7 +819,7 @@ void ScriptBuilder::slotSave() {
TQFile f( fname );
if ( !f.open( IO_WriteOnly) ) {
- TQString message = i18n( "Could not open file %1." ).tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1." ).arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
currentFileURL = "";
return;
@@ -834,7 +834,7 @@ void ScriptBuilder::slotSave() {
if ( tmpfile.name() == fname ) { //need to upload to remote location
if ( ! KIO::NetAccess::upload( tmpfile.name(), currentFileURL, (TQWidget*) 0 ) ) {
- TQString message = i18n( "Could not upload image to remote location: %1" ).tqarg( currentFileURL.prettyURL() );
+ TQString message = i18n( "Could not upload image to remote location: %1" ).arg( currentFileURL.prettyURL() );
KMessageBox::sorry( 0, message, i18n( "Could not upload file" ) );
}
}
@@ -842,7 +842,7 @@ void ScriptBuilder::slotSave() {
setUnsavedChanges( false );
} else {
- TQString message = i18n( "Invalid URL: %1" ).tqarg( currentFileURL.url() );
+ TQString message = i18n( "Invalid URL: %1" ).arg( currentFileURL.url() );
KMessageBox::sorry( 0, message, i18n( "Invalid URL" ) );
currentFileURL = "";
}
@@ -885,7 +885,7 @@ void ScriptBuilder::slotRunScript() {
TQFile f( fname );
if ( f.exists() ) f.remove();
if ( !f.open( IO_WriteOnly) ) {
- TQString message = i18n( "Could not open file %1." ).tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1." ).arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
currentFileURL = "";
return;
@@ -903,7 +903,7 @@ void ScriptBuilder::slotRunScript() {
if ( ! p.start( KProcess::DontCare ) )
kdDebug() << "Process did not start." << endl;
- while ( p.isRunning() ) kapp->tqprocessEvents( 50 ); //otherwise tempfile may get deleted before script completes.
+ while ( p.isRunning() ) kapp->processEvents( 50 ); //otherwise tempfile may get deleted before script completes.
//delete temp file
if ( f.exists() ) f.remove();
@@ -920,7 +920,7 @@ void ScriptBuilder::writeScript( TQTextStream &ostream ) {
ostream << "#!/bin/bash" << endl;
ostream << "#KStars DCOP script: " << currentScriptName << endl;
ostream << "#by " << currentAuthor << endl;
- ostream << "#last modified: " << KStarsDateTime::tqcurrentDateTime().toString() << endl;
+ ostream << "#last modified: " << KStarsDateTime::currentDateTime().toString() << endl;
ostream << "#" << endl;
ostream << "KSTARS=`dcopfind -a 'kstars*'`" << endl;
ostream << "MAIN=KStarsInterface" << endl;
@@ -990,7 +990,7 @@ void ScriptBuilder::readScript( TQTextStream &istream ) {
// Initially, any read script is valid!
ScriptList.current()->setValid(true);
}
- else kdWarning() << i18n( "Could not parse script. Line was: %1" ).tqarg( line ) << endl;
+ else kdWarning() << i18n( "Could not parse script. Line was: %1" ).arg( line ) << endl;
} // end if left(4) == "dcop"
} // end while !eof()
@@ -1322,7 +1322,7 @@ void ScriptBuilder::slotArgWidget() {
if (ok) month = sf->argVal(1).toInt(&ok);
if (ok) day = sf->argVal(2).toInt(&ok);
if (ok) argSetLocalTime->DateBox->setDate( ExtDate( year, month, day ) );
- else argSetLocalTime->DateBox->setDate( ExtDate::tqcurrentDate() );
+ else argSetLocalTime->DateBox->setDate( ExtDate::currentDate() );
hour = sf->argVal(3).toInt(&ok);
if ( sf->argVal(3).isEmpty() ) ok = false;
@@ -1820,7 +1820,7 @@ void ScriptBuilder::slotFindCity() {
sf->setArg( 1, ld.selectedProvinceName() );
sf->setArg( 2, ld.selectedCountryName() );
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setGeoLocation" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setGeoLocation" ) << endl;
}
}
}
@@ -1869,7 +1869,7 @@ void ScriptBuilder::slotLookToward() {
sf->setArg( 0, argLookToward->FocusEdit->currentText() );
sf->setValid(true);
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "lookTowards" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "lookTowards" ) << endl;
}
}
@@ -1885,7 +1885,7 @@ void ScriptBuilder::slotRa() {
if ( ok ) {
setUnsavedChanges( true );
- sf->setArg( 0, TQString( "%1" ).tqarg( ra.Hours() ) );
+ sf->setArg( 0, TQString( "%1" ).arg( ra.Hours() ) );
if ( ! sf->argVal(1).isEmpty() ) sf->setValid( true );
} else {
@@ -1893,7 +1893,7 @@ void ScriptBuilder::slotRa() {
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setRaDec" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setRaDec" ) << endl;
}
}
@@ -1909,7 +1909,7 @@ void ScriptBuilder::slotDec() {
if ( ok ) {
setUnsavedChanges( true );
- sf->setArg( 1, TQString( "%1" ).tqarg( dec.Degrees() ) );
+ sf->setArg( 1, TQString( "%1" ).arg( dec.Degrees() ) );
if ( ! sf->argVal(0).isEmpty() ) sf->setValid( true );
} else {
@@ -1917,7 +1917,7 @@ void ScriptBuilder::slotDec() {
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setRaDec" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setRaDec" ) << endl;
}
}
@@ -1932,14 +1932,14 @@ void ScriptBuilder::slotAz() {
dms az = argSetAltAz->AzBox->createDms(true, &ok);
if ( ok ) {
setUnsavedChanges( true );
- sf->setArg( 1, TQString( "%1" ).tqarg( az.Degrees() ) );
+ sf->setArg( 1, TQString( "%1" ).arg( az.Degrees() ) );
if ( ! sf->argVal(0).isEmpty() ) sf->setValid( true );
} else {
sf->setArg( 1, "" );
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setAltAz" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setAltAz" ) << endl;
}
}
@@ -1955,14 +1955,14 @@ void ScriptBuilder::slotAlt() {
if ( ok ) {
setUnsavedChanges( true );
- sf->setArg( 0, TQString( "%1" ).tqarg( alt.Degrees() ) );
+ sf->setArg( 0, TQString( "%1" ).arg( alt.Degrees() ) );
if ( ! sf->argVal(1).isEmpty() ) sf->setValid( true );
} else {
sf->setArg( 0, "" );
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setAltAz" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setAltAz" ) << endl;
}
}
@@ -1974,12 +1974,12 @@ void ScriptBuilder::slotChangeDate() {
ExtDate date = argSetLocalTime->DateBox->date();
- sf->setArg( 0, TQString( "%1" ).tqarg( date.year() ) );
- sf->setArg( 1, TQString( "%1" ).tqarg( date.month() ) );
- sf->setArg( 2, TQString( "%1" ).tqarg( date.day() ) );
+ sf->setArg( 0, TQString( "%1" ).arg( date.year() ) );
+ sf->setArg( 1, TQString( "%1" ).arg( date.month() ) );
+ sf->setArg( 2, TQString( "%1" ).arg( date.day() ) );
if ( ! sf->argVal(3).isEmpty() ) sf->setValid( true );
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setLocalTime" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setLocalTime" ) << endl;
}
}
@@ -1991,12 +1991,12 @@ void ScriptBuilder::slotChangeTime() {
TQTime time = argSetLocalTime->TimeBox->time();
- sf->setArg( 3, TQString( "%1" ).tqarg( time.hour() ) );
- sf->setArg( 4, TQString( "%1" ).tqarg( time.minute() ) );
- sf->setArg( 5, TQString( "%1" ).tqarg( time.second() ) );
+ sf->setArg( 3, TQString( "%1" ).arg( time.hour() ) );
+ sf->setArg( 4, TQString( "%1" ).arg( time.minute() ) );
+ sf->setArg( 5, TQString( "%1" ).arg( time.second() ) );
if ( ! sf->argVal(0).isEmpty() ) sf->setValid( true );
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setLocalTime" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setLocalTime" ) << endl;
}
}
@@ -2010,13 +2010,13 @@ void ScriptBuilder::slotWaitFor() {
if ( ok ) {
setUnsavedChanges( true );
- sf->setArg( 0, TQString( "%1" ).tqarg( delay ) );
+ sf->setArg( 0, TQString( "%1" ).arg( delay ) );
sf->setValid( true );
} else {
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "waitFor" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "waitFor" ) << endl;
}
}
@@ -2037,7 +2037,7 @@ void ScriptBuilder::slotWaitForKey() {
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "waitForKey" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "waitForKey" ) << endl;
}
}
@@ -2050,7 +2050,7 @@ void ScriptBuilder::slotTracking() {
sf->setArg( 0, ( argSetTracking->CheckTrack->isChecked() ? i18n( "true" ) : i18n( "false" ) ) );
sf->setValid( true );
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setTracking" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setTracking" ) << endl;
}
}
@@ -2069,7 +2069,7 @@ void ScriptBuilder::slotViewOption() {
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "changeViewOption" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "changeViewOption" ) << endl;
}
}
@@ -2089,7 +2089,7 @@ void ScriptBuilder::slotChangeCity() {
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setGeoLocation" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setGeoLocation" ) << endl;
}
}
@@ -2109,7 +2109,7 @@ void ScriptBuilder::slotChangeProvince() {
//might not be invalid
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setGeoLocation" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setGeoLocation" ) << endl;
}
}
@@ -2129,7 +2129,7 @@ void ScriptBuilder::slotChangeCountry() {
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setGeoLocation" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setGeoLocation" ) << endl;
}
}
@@ -2139,10 +2139,10 @@ void ScriptBuilder::slotTimeScale() {
if ( sf->name() == "setClockScale" ) {
setUnsavedChanges( true );
- sf->setArg( 0, TQString( "%1" ).tqarg( argTimeScale->TimeScale->tsbox()->timeScale() ) );
+ sf->setArg( 0, TQString( "%1" ).arg( argTimeScale->TimeScale->tsbox()->timeScale() ) );
sf->setValid( true );
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setClockScale" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setClockScale" ) << endl;
}
}
@@ -2159,7 +2159,7 @@ void ScriptBuilder::slotZoom() {
sf->setValid( true );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "zoom" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "zoom" ) << endl;
}
}
@@ -2170,11 +2170,11 @@ void ScriptBuilder::slotExportImage() {
setUnsavedChanges( true );
sf->setArg( 0, argExportImage->ExportFileName->url() );
- sf->setArg( 1, TQString("%1").tqarg( argExportImage->ExportWidth->value() ) );
- sf->setArg( 2, TQString("%1").tqarg( argExportImage->ExportHeight->value() ) );
+ sf->setArg( 1, TQString("%1").arg( argExportImage->ExportWidth->value() ) );
+ sf->setArg( 2, TQString("%1").arg( argExportImage->ExportHeight->value() ) );
sf->setValid( true );
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "exportImage" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "exportImage" ) << endl;
}
}
@@ -2188,7 +2188,7 @@ void ScriptBuilder::slotPrintImage() {
sf->setArg( 1, ( argPrintImage->UseChartColors->isChecked() ? i18n( "true" ) : i18n( "false" ) ) );
sf->setValid( true );
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "exportImage" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "exportImage" ) << endl;
}
}
@@ -2205,7 +2205,7 @@ void ScriptBuilder::slotChangeColorName() {
sf->setArg( 1, cname );
sf->setValid( true );
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setColor" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setColor" ) << endl;
}
}
@@ -2221,7 +2221,7 @@ void ScriptBuilder::slotChangeColor() {
sf->setArg( 1, cname );
sf->setValid( true );
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setColor" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setColor" ) << endl;
}
}
@@ -2234,7 +2234,7 @@ void ScriptBuilder::slotLoadColorScheme(TQListBoxItem */*i*/) {
sf->setArg( 0, "\"" + argLoadColorScheme->SchemeList->currentText() + "\"" );
sf->setValid( true );
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "loadColorScheme" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "loadColorScheme" ) << endl;
}
}
@@ -2263,7 +2263,7 @@ void ScriptBuilder::slotINDIStartDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "startINDI" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "startINDI" ) << endl;
}
}
@@ -2282,7 +2282,7 @@ void ScriptBuilder::slotINDIStartDeviceMode()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "startINDI" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "startINDI" ) << endl;
}
}
@@ -2308,7 +2308,7 @@ void ScriptBuilder::slotINDIShutdown()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "shutdownINDI" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "shutdownINDI" ) << endl;
}
}
@@ -2334,7 +2334,7 @@ void ScriptBuilder::slotINDISwitchDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "switchdownINDI" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "switchdownINDI" ) << endl;
}
}
@@ -2356,7 +2356,7 @@ void ScriptBuilder::slotINDISwitchDeviceConnection()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "switchINDI" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "switchINDI" ) << endl;
}
}
@@ -2384,7 +2384,7 @@ void ScriptBuilder::slotINDISetPortDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIPort" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIPort" ) << endl;
}
@@ -2412,7 +2412,7 @@ void ScriptBuilder::slotINDISetPortDevicePort()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIPort" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIPort" ) << endl;
}
}
@@ -2438,7 +2438,7 @@ void ScriptBuilder::slotINDISetTargetCoordDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDITargetCoord" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDITargetCoord" ) << endl;
}
}
@@ -2459,10 +2459,10 @@ void ScriptBuilder::slotINDISetTargetCoordDeviceRA()
dms ra = argSetTargetCoordINDI->RaBox->createDms(false, &ok);
if ( ok ) {
- if (sf->argVal(1) != TQString( "%1" ).tqarg( ra.Hours() ))
+ if (sf->argVal(1) != TQString( "%1" ).arg( ra.Hours() ))
setUnsavedChanges( true );
- sf->setArg( 1, TQString( "%1" ).tqarg( ra.Hours() ) );
+ sf->setArg( 1, TQString( "%1" ).arg( ra.Hours() ) );
if ( ( ! sf->argVal(0).isEmpty() ) && ( ! sf->argVal(2).isEmpty() )) sf->setValid( true );
else sf->setValid(false);
@@ -2471,7 +2471,7 @@ void ScriptBuilder::slotINDISetTargetCoordDeviceRA()
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDITargetCoord" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDITargetCoord" ) << endl;
}
}
@@ -2492,10 +2492,10 @@ void ScriptBuilder::slotINDISetTargetCoordDeviceDEC()
dms dec = argSetTargetCoordINDI->DecBox->createDms(true, &ok);
if ( ok ) {
- if (sf->argVal(2) != TQString( "%1" ).tqarg( dec.Degrees() ))
+ if (sf->argVal(2) != TQString( "%1" ).arg( dec.Degrees() ))
setUnsavedChanges( true );
- sf->setArg( 2, TQString( "%1" ).tqarg( dec.Degrees() ) );
+ sf->setArg( 2, TQString( "%1" ).arg( dec.Degrees() ) );
if ( ( ! sf->argVal(0).isEmpty() ) && ( ! sf->argVal(1).isEmpty() )) sf->setValid( true );
else sf->setValid(false);
@@ -2504,7 +2504,7 @@ void ScriptBuilder::slotINDISetTargetCoordDeviceDEC()
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDITargetCoord" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDITargetCoord" ) << endl;
}
}
@@ -2531,7 +2531,7 @@ void ScriptBuilder::slotINDISetTargetNameDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDITargetName" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDITargetName" ) << endl;
}
}
@@ -2558,7 +2558,7 @@ void ScriptBuilder::slotINDISetTargetNameObjectName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDITargetName" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDITargetName" ) << endl;
}
}
@@ -2585,7 +2585,7 @@ void ScriptBuilder::slotINDISetActionDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIAction") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIAction") << endl;
}
}
@@ -2611,7 +2611,7 @@ void ScriptBuilder::slotINDISetActionName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIAction") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIAction") << endl;
}
}
@@ -2638,7 +2638,7 @@ void ScriptBuilder::slotINDIWaitForActionDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "waitForINDIAction") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "waitForINDIAction") << endl;
}
}
@@ -2664,7 +2664,7 @@ void ScriptBuilder::slotINDIWaitForActionName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "waitForINDIAction") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "waitForINDIAction") << endl;
}
}
@@ -2685,12 +2685,12 @@ void ScriptBuilder::slotINDISetFocusSpeedDeviceName()
setUnsavedChanges( true );
sf->setArg(0, argSetFocusSpeedINDI->deviceName->text());
- sf->setArg(1, TQString("%1").tqarg(argSetFocusSpeedINDI->speedIN->value()));
+ sf->setArg(1, TQString("%1").arg(argSetFocusSpeedINDI->speedIN->value()));
sf->setValid(true);
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIFocusSpeed") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIFocusSpeed") << endl;
}
}
@@ -2705,13 +2705,13 @@ void ScriptBuilder::slotINDISetFocusSpeed()
if (sf->argVal(1).toInt() != argSetFocusSpeedINDI->speedIN->value())
setUnsavedChanges( true );
- sf->setArg(1, TQString("%1").tqarg(argSetFocusSpeedINDI->speedIN->value()));
+ sf->setArg(1, TQString("%1").arg(argSetFocusSpeedINDI->speedIN->value()));
if ((! sf->argVal(0).isEmpty())) sf->setValid(true);
else sf->setValid(false);
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIFocusSpeed") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIFocusSpeed") << endl;
}
}
@@ -2737,7 +2737,7 @@ void ScriptBuilder::slotINDIStartFocusDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "StartINDIFocus") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "StartINDIFocus") << endl;
}
}
@@ -2758,7 +2758,7 @@ void ScriptBuilder::slotINDIStartFocusDirection()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "startINDIFocus") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "startINDIFocus") << endl;
}
}
@@ -2779,12 +2779,12 @@ void ScriptBuilder::slotINDISetFocusTimeoutDeviceName()
setUnsavedChanges( true );
sf->setArg(0, argSetFocusTimeoutINDI->deviceName->text());
- sf->setArg(1, TQString("%1").tqarg(argSetFocusTimeoutINDI->timeOut->value()));
+ sf->setArg(1, TQString("%1").arg(argSetFocusTimeoutINDI->timeOut->value()));
sf->setValid(true);
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIFocusTimeout") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIFocusTimeout") << endl;
}
}
@@ -2798,13 +2798,13 @@ void ScriptBuilder::slotINDISetFocusTimeout()
if (sf->argVal(1).toInt() != argSetFocusTimeoutINDI->timeOut->value())
setUnsavedChanges( true );
- sf->setArg(1, TQString("%1").tqarg(argSetFocusTimeoutINDI->timeOut->value()));
+ sf->setArg(1, TQString("%1").arg(argSetFocusTimeoutINDI->timeOut->value()));
if (! sf->argVal(0).isEmpty()) sf->setValid(true);
else sf->setValid(false);
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIFocusTimeout") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIFocusTimeout") << endl;
}
}
@@ -2830,7 +2830,7 @@ void ScriptBuilder::slotINDISetGeoLocationDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIGeoLocation" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIGeoLocation" ) << endl;
}
}
@@ -2851,10 +2851,10 @@ void ScriptBuilder::slotINDISetGeoLocationDeviceLong()
dms longitude = argSetGeoLocationINDI->longBox->createDms(true, &ok);
if ( ok ) {
- if (sf->argVal(1) != TQString( "%1" ).tqarg( longitude.Degrees()))
+ if (sf->argVal(1) != TQString( "%1" ).arg( longitude.Degrees()))
setUnsavedChanges( true );
- sf->setArg( 1, TQString( "%1" ).tqarg( longitude.Degrees() ) );
+ sf->setArg( 1, TQString( "%1" ).arg( longitude.Degrees() ) );
if ( ( ! sf->argVal(0).isEmpty() ) && ( ! sf->argVal(2).isEmpty() )) sf->setValid( true );
else sf->setValid(false);
@@ -2863,7 +2863,7 @@ void ScriptBuilder::slotINDISetGeoLocationDeviceLong()
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIGeoLocation" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIGeoLocation" ) << endl;
}
}
@@ -2884,10 +2884,10 @@ void ScriptBuilder::slotINDISetGeoLocationDeviceLat()
dms latitude = argSetGeoLocationINDI->latBox->createDms(true, &ok);
if ( ok ) {
- if (sf->argVal(2) != TQString( "%1" ).tqarg( latitude.Degrees()))
+ if (sf->argVal(2) != TQString( "%1" ).arg( latitude.Degrees()))
setUnsavedChanges( true );
- sf->setArg( 2, TQString( "%1" ).tqarg( latitude.Degrees() ) );
+ sf->setArg( 2, TQString( "%1" ).arg( latitude.Degrees() ) );
if ( ( ! sf->argVal(0).isEmpty() ) && ( ! sf->argVal(1).isEmpty() )) sf->setValid( true );
else sf->setValid(false);
@@ -2896,7 +2896,7 @@ void ScriptBuilder::slotINDISetGeoLocationDeviceLat()
sf->setValid( false );
}
} else {
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIGeoLocation" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIGeoLocation" ) << endl;
}
}
@@ -2917,12 +2917,12 @@ void ScriptBuilder::slotINDIStartExposureDeviceName()
setUnsavedChanges( true );
sf->setArg(0, argStartExposureINDI->deviceName->text());
- sf->setArg(1, TQString("%1").tqarg(argStartExposureINDI->timeOut->value()));
+ sf->setArg(1, TQString("%1").arg(argStartExposureINDI->timeOut->value()));
sf->setValid(true);
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "startINDIExposure") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "startINDIExposure") << endl;
}
}
@@ -2937,13 +2937,13 @@ void ScriptBuilder::slotINDIStartExposureTimeout()
if (sf->argVal(1).toInt() != argStartExposureINDI->timeOut->value())
setUnsavedChanges( true );
- sf->setArg(1, TQString("%1").tqarg(argStartExposureINDI->timeOut->value()));
+ sf->setArg(1, TQString("%1").arg(argStartExposureINDI->timeOut->value()));
if (! sf->argVal(0).isEmpty()) sf->setValid(true);
else sf->setValid(false);
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "startINDIExposure") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "startINDIExposure") << endl;
}
}
@@ -2970,7 +2970,7 @@ void ScriptBuilder::slotINDISetUTCDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIUTC" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIUTC" ) << endl;
}
@@ -2998,7 +2998,7 @@ void ScriptBuilder::slotINDISetUTC()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIUTC" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIUTC" ) << endl;
}
}
@@ -3026,7 +3026,7 @@ void ScriptBuilder::slotINDISetScopeActionDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIScopeAction" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIScopeAction" ) << endl;
}
}
@@ -3048,7 +3048,7 @@ void ScriptBuilder::slotINDISetScopeAction()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIScopeAction") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIScopeAction") << endl;
}
}
@@ -3075,7 +3075,7 @@ void ScriptBuilder::slotINDISetFrameTypeDeviceName()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIFrameType" ) << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIFrameType" ) << endl;
}
}
@@ -3096,7 +3096,7 @@ void ScriptBuilder::slotINDISetFrameType()
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIFrameType") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIFrameType") << endl;
}
}
@@ -3117,12 +3117,12 @@ void ScriptBuilder::slotINDISetCCDTempDeviceName()
setUnsavedChanges( true );
sf->setArg(0, argSetCCDTempINDI->deviceName->text());
- sf->setArg(1, TQString("%1").tqarg(argSetCCDTempINDI->temp->value()));
+ sf->setArg(1, TQString("%1").arg(argSetCCDTempINDI->temp->value()));
sf->setValid(true);
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDICCDTemp") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDICCDTemp") << endl;
}
}
@@ -3137,13 +3137,13 @@ void ScriptBuilder::slotINDISetCCDTemp()
if (sf->argVal(1).toInt() != argSetCCDTempINDI->temp->value())
setUnsavedChanges( true );
- sf->setArg(1, TQString("%1").tqarg(argSetCCDTempINDI->temp->value()));
+ sf->setArg(1, TQString("%1").arg(argSetCCDTempINDI->temp->value()));
if (! sf->argVal(0).isEmpty()) sf->setValid(true);
else sf->setValid(false);
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDICCDTemp") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDICCDTemp") << endl;
}
}
@@ -3165,12 +3165,12 @@ void ScriptBuilder::slotINDISetFilterNumDeviceName()
setUnsavedChanges( true );
sf->setArg(0, argSetFilterNumINDI->deviceName->text());
- sf->setArg(1, TQString("%1").tqarg(argSetFilterNumINDI->filter_num->value()));
+ sf->setArg(1, TQString("%1").arg(argSetFilterNumINDI->filter_num->value()));
sf->setValid(true);
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIFilterNum") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIFilterNum") << endl;
}
}
@@ -3185,13 +3185,13 @@ void ScriptBuilder::slotINDISetFilterNum()
if (sf->argVal(1).toInt() != argSetFilterNumINDI->filter_num->value())
setUnsavedChanges( true );
- sf->setArg(1, TQString("%1").tqarg(argSetFilterNumINDI->filter_num->value()));
+ sf->setArg(1, TQString("%1").arg(argSetFilterNumINDI->filter_num->value()));
if (! sf->argVal(0).isEmpty()) sf->setValid(true);
else sf->setValid(false);
}
else
{
- kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).tqarg( "setINDIFilterNum") << endl;
+ kdWarning() << i18n( "Mismatch between function and Arg widget (expected %1.)" ).arg( "setINDIFilterNum") << endl;
}
diff --git a/kstars/kstars/tools/scriptbuilderui.ui b/kstars/kstars/tools/scriptbuilderui.ui
index 7b6d8feb..e34e6dcb 100644
--- a/kstars/kstars/tools/scriptbuilderui.ui
+++ b/kstars/kstars/tools/scriptbuilderui.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@@ -39,13 +39,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -73,13 +73,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -107,13 +107,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -141,13 +141,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -167,13 +167,13 @@
<property name="name">
<cstring>RunButton</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -199,7 +199,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>490</width>
<height>20</height>
@@ -240,7 +240,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@@ -267,7 +267,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<vbox>
<property name="name">
@@ -277,13 +277,13 @@
<property name="name">
<cstring>AddButton</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -304,13 +304,13 @@
<property name="name">
<cstring>RemoveButton</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -330,13 +330,13 @@
<property name="name">
<cstring>CopyButton</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -356,13 +356,13 @@
<property name="name">
<cstring>UpButton</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -382,13 +382,13 @@
<property name="name">
<cstring>DownButton</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
@@ -414,7 +414,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>118</height>
@@ -437,7 +437,7 @@
<verstretch>1</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>200</width>
<height>140</height>
@@ -554,7 +554,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
- <cstring>tqlayout11</cstring>
+ <cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@@ -562,7 +562,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout10</cstring>
+ <cstring>layout10</cstring>
</property>
<vbox>
<property name="name">
@@ -602,7 +602,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>91</width>
<height>20</height>
diff --git a/kstars/kstars/tools/scriptfunction.cpp b/kstars/kstars/tools/scriptfunction.cpp
index 8b74ab61..c95594f5 100644
--- a/kstars/kstars/tools/scriptfunction.cpp
+++ b/kstars/kstars/tools/scriptfunction.cpp
@@ -40,42 +40,42 @@ ScriptFunction::ScriptFunction( TQString name, TQString desc, bool clockfcn,
Description = "<html><head><meta name=\"qrichtext\" content=\"1\" /></head>";
Description += "<body style=\"font-size:11pt;font-family:sans\">";
- Description += "<p>" + nameStyle.tqarg( Name + "(" );
+ Description += "<p>" + nameStyle.arg( Name + "(" );
NumArgs = 0;
if ( ! at1.isEmpty() && ! an1.isEmpty() ) {
- Description += " " + typeStyle.tqarg( at1 );
- Description += " " + paramStyle.tqarg( an1 );
+ Description += " " + typeStyle.arg( at1 );
+ Description += " " + paramStyle.arg( an1 );
NumArgs++;
}
if ( ! at2.isEmpty() && ! an2.isEmpty() ) {
- Description += ", " + typeStyle.tqarg( at2 );
- Description += " " + paramStyle.tqarg( an2 );
+ Description += ", " + typeStyle.arg( at2 );
+ Description += " " + paramStyle.arg( an2 );
NumArgs++;
}
if ( ! at3.isEmpty() && ! an3.isEmpty() ) {
- Description += ", " + typeStyle.tqarg( at3 );
- Description += " " + paramStyle.tqarg( an3 );
+ Description += ", " + typeStyle.arg( at3 );
+ Description += " " + paramStyle.arg( an3 );
NumArgs++;
}
if ( ! at4.isEmpty() && ! an4.isEmpty() ) {
- Description += ", " + typeStyle.tqarg( at4 );
- Description += " " + paramStyle.tqarg( an4 );
+ Description += ", " + typeStyle.arg( at4 );
+ Description += " " + paramStyle.arg( an4 );
NumArgs++;
}
if ( ! at5.isEmpty() && ! an5.isEmpty() ) {
- Description += ", " + typeStyle.tqarg( at5 );
- Description += " " + paramStyle.tqarg( an5 );
+ Description += ", " + typeStyle.arg( at5 );
+ Description += " " + paramStyle.arg( an5 );
NumArgs++;
}
if ( ! at6.isEmpty() && ! an6.isEmpty() ) {
- Description += ", " + typeStyle.tqarg( at6 );
- Description += " " + paramStyle.tqarg( an6 );
+ Description += ", " + typeStyle.arg( at6 );
+ Description += " " + paramStyle.arg( an6 );
NumArgs++;
}
@@ -85,7 +85,7 @@ ScriptFunction::ScriptFunction( TQString name, TQString desc, bool clockfcn,
//Finish writing function prototype
if ( NumArgs ) Description += " ";
- Description += nameStyle.tqarg( ")" ) + "</p><p>";
+ Description += nameStyle.arg( ")" ) + "</p><p>";
//before adding description, replace any '%n' instances with the corresponding
//argument name in color. For now, assume that the %n's occur in order, with no skips.
@@ -93,42 +93,42 @@ ScriptFunction::ScriptFunction( TQString name, TQString desc, bool clockfcn,
int narg = desc.contains( '%' );
switch (narg ) {
case 1:
- Description += desc.tqarg( paramStyle.tqarg( an1 ) );
+ Description += desc.arg( paramStyle.arg( an1 ) );
break;
case 2:
Description +=
- desc.tqarg( paramStyle.tqarg( an1 ) )
- .tqarg( paramStyle.tqarg( an2 ) );
+ desc.arg( paramStyle.arg( an1 ) )
+ .arg( paramStyle.arg( an2 ) );
break;
case 3:
Description +=
- desc.tqarg( paramStyle.tqarg( an1 ) )
- .tqarg( paramStyle.tqarg( an2 ) )
- .tqarg( paramStyle.tqarg( an3 ) );
+ desc.arg( paramStyle.arg( an1 ) )
+ .arg( paramStyle.arg( an2 ) )
+ .arg( paramStyle.arg( an3 ) );
break;
case 4:
Description +=
- desc.tqarg( paramStyle.tqarg( an1 ) )
- .tqarg( paramStyle.tqarg( an2 ) )
- .tqarg( paramStyle.tqarg( an3 ) )
- .tqarg( paramStyle.tqarg( an4 ) );
+ desc.arg( paramStyle.arg( an1 ) )
+ .arg( paramStyle.arg( an2 ) )
+ .arg( paramStyle.arg( an3 ) )
+ .arg( paramStyle.arg( an4 ) );
break;
case 5:
Description +=
- desc.tqarg( paramStyle.tqarg( an1 ) )
- .tqarg( paramStyle.tqarg( an2 ) )
- .tqarg( paramStyle.tqarg( an3 ) )
- .tqarg( paramStyle.tqarg( an4 ) )
- .tqarg( paramStyle.tqarg( an5 ) );
+ desc.arg( paramStyle.arg( an1 ) )
+ .arg( paramStyle.arg( an2 ) )
+ .arg( paramStyle.arg( an3 ) )
+ .arg( paramStyle.arg( an4 ) )
+ .arg( paramStyle.arg( an5 ) );
break;
case 6:
Description +=
- desc.tqarg( paramStyle.tqarg( an1 ) )
- .tqarg( paramStyle.tqarg( an2 ) )
- .tqarg( paramStyle.tqarg( an3 ) )
- .tqarg( paramStyle.tqarg( an4 ) )
- .tqarg( paramStyle.tqarg( an5 ) )
- .tqarg( paramStyle.tqarg( an6 ) );
+ desc.arg( paramStyle.arg( an1 ) )
+ .arg( paramStyle.arg( an2 ) )
+ .arg( paramStyle.arg( an3 ) )
+ .arg( paramStyle.arg( an4 ) )
+ .arg( paramStyle.arg( an5 ) )
+ .arg( paramStyle.arg( an6 ) );
break;
default:
Description += desc;
diff --git a/kstars/kstars/tools/scriptnamedialog.ui b/kstars/kstars/tools/scriptnamedialog.ui
index fb176c14..108a8b95 100644
--- a/kstars/kstars/tools/scriptnamedialog.ui
+++ b/kstars/kstars/tools/scriptnamedialog.ui
@@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<grid>
<property name="name">
@@ -75,7 +75,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -91,7 +91,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>330</width>
<height>20</height>
diff --git a/kstars/kstars/tools/wutdialog.cpp b/kstars/kstars/tools/wutdialog.cpp
index 73d3d8a1..3095e306 100644
--- a/kstars/kstars/tools/wutdialog.cpp
+++ b/kstars/kstars/tools/wutdialog.cpp
@@ -38,7 +38,7 @@
#include <tqgroupbox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqframe.h>
#include <tqtabbar.h>
#include <tqtimer.h>
@@ -81,8 +81,8 @@ WUTDialog::WUTDialog(KStars *ks) :
TQString sGeo = geo->translatedName();
if ( ! geo->translatedProvince().isEmpty() ) sGeo += ", " + geo->translatedProvince();
sGeo += ", " + geo->translatedCountry();
- WUT->LocationLabel->setText( i18n( "at %1" ).tqarg( sGeo ) );
- WUT->DateLabel->setText( i18n( "The night of %1" ).tqarg( Evening.date().toString( Qt::LocalDate ) ) );
+ WUT->LocationLabel->setText( i18n( "at %1" ).arg( sGeo ) );
+ WUT->DateLabel->setText( i18n( "The night of %1" ).arg( Evening.date().toString( Qt::LocalDate ) ) );
initCategories();
@@ -164,9 +164,9 @@ void WUTDialog::init() {
sDuration = TQString().sprintf( "%02d:%02d", hDur, mDur );
}
- WUT->SunSetLabel->setText( i18n( "Sunset: %1" ).tqarg(sSet) );
- WUT->SunRiseLabel->setText( i18n( "Sunrise: %1" ).tqarg(sRise) );
- WUT->NightDurationLabel->setText( i18n( "Night duration: %1 hours" ).tqarg( sDuration ) );
+ WUT->SunSetLabel->setText( i18n( "Sunset: %1" ).arg(sSet) );
+ WUT->SunRiseLabel->setText( i18n( "Sunrise: %1" ).arg(sRise) );
+ WUT->NightDurationLabel->setText( i18n( "Night duration: %1 hours" ).arg( sDuration ) );
// moon almanac information
KSMoon *oMoon = (KSMoon*) kstars->data()->Moon;
@@ -189,10 +189,10 @@ void WUTDialog::init() {
sSet = moonSet.addSecs(30).toString("hh:mm");
}
- WUT->MoonRiseLabel->setText( i18n( "Moon rises at: %1" ).tqarg( sRise ) );
- WUT->MoonSetLabel->setText( i18n( "Moon sets at: %1" ).tqarg( sSet ) );
+ WUT->MoonRiseLabel->setText( i18n( "Moon rises at: %1" ).arg( sRise ) );
+ WUT->MoonSetLabel->setText( i18n( "Moon sets at: %1" ).arg( sSet ) );
oMoon->findPhase( oSun );
- WUT->MoonIllumLabel->setText( oMoon->phaseName() + TQString( " (%1%)" ).tqarg(
+ WUT->MoonIllumLabel->setText( oMoon->phaseName() + TQString( " (%1%)" ).arg(
int(100.0*oMoon->illum() ) ) );
//Restore Sun's and Moon's coordinates, and recompute Moon's original Phase
@@ -352,9 +352,9 @@ void WUTDialog::slotDisplayObject(TQListBoxItem *item) {
WUT->DetailButton->setEnabled( true );
}
- WUT->ObjectRiseLabel->setText( i18n( "Rises at: %1" ).tqarg( sRise ) );
- WUT->ObjectTransitLabel->setText( i18n( "Transits at: %1" ).tqarg( sTransit ) );
- WUT->ObjectSetLabel->setText( i18n( "Sets at: %1" ).tqarg( sSet ) );
+ WUT->ObjectRiseLabel->setText( i18n( "Rises at: %1" ).arg( sRise ) );
+ WUT->ObjectTransitLabel->setText( i18n( "Transits at: %1" ).arg( sTransit ) );
+ WUT->ObjectSetLabel->setText( i18n( "Sets at: %1" ).arg( sSet ) );
}
void WUTDialog::slotCenter() {
@@ -403,7 +403,7 @@ void WUTDialog::slotChangeDate() {
Evening = T0.addSecs( -6*3600 );
EveningUT = geo->LTtoUT( Evening );
- WUT->DateLabel->setText( i18n( "The night of %1" ).tqarg( Evening.date().toString() ) );
+ WUT->DateLabel->setText( i18n( "The night of %1" ).arg( Evening.date().toString() ) );
int i = WUT->CategoryListBox->currentItem();
init();
@@ -421,7 +421,7 @@ void WUTDialog::slotChangeLocation() {
TomorrowUT = geo->LTtoUT( Tomorrow );
EveningUT = geo->LTtoUT( Evening );
- WUT->LocationLabel->setText( i18n( "at %1" ).tqarg( geo->fullName() ) );
+ WUT->LocationLabel->setText( i18n( "at %1" ).arg( geo->fullName() ) );
int i = WUT->CategoryListBox->currentItem();
init();
diff --git a/kstars/kstars/tools/wutdialogui.ui b/kstars/kstars/tools/wutdialogui.ui
index 2bdeb50e..b80697da 100644
--- a/kstars/kstars/tools/wutdialogui.ui
+++ b/kstars/kstars/tools/wutdialogui.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout25</cstring>
+ <cstring>layout25</cstring>
</property>
<hbox>
<property name="name">
@@ -29,7 +29,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout24</cstring>
+ <cstring>layout24</cstring>
</property>
<vbox>
<property name="name">
@@ -37,7 +37,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout23</cstring>
+ <cstring>layout23</cstring>
</property>
<grid>
<property name="name">
@@ -47,7 +47,7 @@
<property name="name">
<cstring>LocationLabel</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
@@ -78,7 +78,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>20</height>
@@ -95,7 +95,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -106,7 +106,7 @@
<property name="name">
<cstring>DateLabel</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
@@ -125,7 +125,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout13</cstring>
+ <cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@@ -141,7 +141,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>108</width>
<height>20</height>
@@ -162,7 +162,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<vbox>
<property name="name">
@@ -241,7 +241,7 @@
<property name="name">
<cstring>SunRiseLabel</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -261,7 +261,7 @@
<property name="name">
<cstring>MoonRiseLabel</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -281,7 +281,7 @@
<property name="name">
<cstring>MoonSetLabel</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -301,7 +301,7 @@
<property name="name">
<cstring>SunSetLabel</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -321,7 +321,7 @@
<property name="name">
<cstring>NightDurationLabel</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -341,7 +341,7 @@
<property name="name">
<cstring>MoonIllumLabel</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -361,7 +361,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout10</cstring>
+ <cstring>layout10</cstring>
</property>
<grid>
<property name="name">
@@ -377,7 +377,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>164</width>
<height>12</height>
@@ -402,7 +402,7 @@
<property name="name">
<cstring>ObjectListBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
@@ -433,7 +433,7 @@
<property name="text">
<string>Rises at: 22:12</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter</set>
</property>
<property name="whatsThis" stdset="0">
@@ -447,7 +447,7 @@
<property name="text">
<string>Transits at: 03:45</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter</set>
</property>
<property name="whatsThis" stdset="0">
@@ -461,7 +461,7 @@
<property name="text">
<string>Sets at: 08:22</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter</set>
</property>
<property name="whatsThis" stdset="0">
@@ -478,7 +478,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -519,7 +519,7 @@
<property name="name">
<cstring>CategoryListBox</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>0</height>