Rename obsolete tq methods to standard names

pull/1/head
Timothy Pearson 13 years ago
parent 746abe8440
commit ba6b214198

@ -19,7 +19,7 @@ Add:
- The menustructure is now more consistent - The menustructure is now more consistent
- One icon has been added - One icon has been added
- Make the mainwidget a QScrollView. This make sizehandling easier - Make the mainwidget a QScrollView. This make sizehandling easier
- Improved tqlayout of the detailed information dialog - Improved layout of the detailed information dialog
- Added a widget which shows you a table of the isotopes - Added a widget which shows you a table of the isotopes
- Added EqChem, a chemical equation solver - Added EqChem, a chemical equation solver
- Added several glossary-items - Added several glossary-items

@ -94,10 +94,10 @@ void DetailedInfoDlg::setElement(Element *element)
KHTMLPart* DetailedInfoDlg::addHTMLTab( const TQString& title, const TQString& icontext, const TQString& iconname ) KHTMLPart* DetailedInfoDlg::addHTMLTab( const TQString& title, const TQString& icontext, const TQString& iconname )
{ {
TQFrame *frame = addPage(title, icontext, BarIcon(iconname)); TQFrame *frame = addPage(title, icontext, BarIcon(iconname));
TQVBoxLayout *tqlayout = new TQVBoxLayout( frame ); TQVBoxLayout *layout = new TQVBoxLayout( frame );
tqlayout->setMargin( 0 ); layout->setMargin( 0 );
KHTMLPart *w = new KHTMLPart( frame, "html-part", TQT_TQOBJECT(frame) ); KHTMLPart *w = new KHTMLPart( frame, "html-part", TQT_TQOBJECT(frame) );
tqlayout->addWidget( w->view() ); layout->addWidget( w->view() );
return w; return w;
} }

@ -41,7 +41,7 @@ ElementDataViewer::ElementDataViewer( TQWidget *parent, const char* name )
yData = new AxisData(); yData = new AxisData();
TQHBoxLayout *tqlayout = new TQHBoxLayout(plainPage(), 0, KDialog::spacingHint() ); TQHBoxLayout *layout = new TQHBoxLayout(plainPage(), 0, KDialog::spacingHint() );
m_pPlotSetupWidget = new PlotSetupWidget( plainPage(), "plotsetup" ); m_pPlotSetupWidget = new PlotSetupWidget( plainPage(), "plotsetup" );
m_pPlotSetupWidget->from->setMaxValue( d->numberOfElements() - 1 ); m_pPlotSetupWidget->from->setMaxValue( d->numberOfElements() - 1 );
@ -51,10 +51,10 @@ ElementDataViewer::ElementDataViewer( TQWidget *parent, const char* name )
m_pPlotWidget->setMinimumWidth( 200 ); m_pPlotWidget->setMinimumWidth( 200 );
m_pPlotWidget->resize( 400, m_pPlotWidget->height() ); m_pPlotWidget->resize( 400, m_pPlotWidget->height() );
tqlayout->addWidget( m_pPlotSetupWidget ); layout->addWidget( m_pPlotSetupWidget );
tqlayout->addWidget( m_pPlotWidget ); layout->addWidget( m_pPlotWidget );
tqlayout->setStretchFactor( m_pPlotSetupWidget, 0 ); layout->setStretchFactor( m_pPlotSetupWidget, 0 );
tqlayout->setStretchFactor( m_pPlotWidget, 1 ); layout->setStretchFactor( m_pPlotWidget, 1 );
// setup the list of names // setup the list of names
EList::iterator it = d->ElementList.begin(); EList::iterator it = d->ElementList.begin();

@ -50,7 +50,7 @@ eqchemView::eqchemView(TQWidget *parent) : TQWidget(parent)
{ {
settingsChanged(); settingsChanged();
TQGridLayout *l = new TQGridLayout(this, 2, 2, 11, 6, "eqchemView::eqchemView tqlayout"); TQGridLayout *l = new TQGridLayout(this, 2, 2, 11, 6, "eqchemView::eqchemView layout");
m_eqResult = new EqResult(this); m_eqResult = new EqResult(this);
m_eqedit = new KLineEdit(this); m_eqedit = new KLineEdit(this);

@ -106,7 +106,7 @@ class Kalzium : public KMainWindow
KToggleAction *m_actionCrystal; KToggleAction *m_actionCrystal;
/** /**
* the tqlayout of the central Widget ( CentralWidget ) * the layout of the central Widget ( CentralWidget )
*/ */
TQVBoxLayout *m_pCentralLayout; TQVBoxLayout *m_pCentralLayout;

@ -26,7 +26,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0"> <widget class="TQLayoutWidget" row="2" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -69,7 +69,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -114,7 +114,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -36,7 +36,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout32</cstring> <cstring>layout32</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -44,7 +44,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout28</cstring> <cstring>layout28</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -70,7 +70,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout29</cstring> <cstring>layout29</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -96,7 +96,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout30</cstring> <cstring>layout30</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -122,7 +122,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout31</cstring> <cstring>layout31</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -163,7 +163,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout26</cstring> <cstring>layout26</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -171,7 +171,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout23</cstring> <cstring>layout23</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -197,7 +197,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24</cstring> <cstring>layout24</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -223,7 +223,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout25</cstring> <cstring>layout25</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -249,7 +249,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout26</cstring> <cstring>layout26</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -290,7 +290,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout22</cstring> <cstring>layout22</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -298,7 +298,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -324,7 +324,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout19</cstring> <cstring>layout19</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -350,7 +350,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout18</cstring> <cstring>layout18</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -376,7 +376,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -402,7 +402,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16</cstring> <cstring>layout16</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -428,7 +428,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout15</cstring> <cstring>layout15</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -454,7 +454,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -480,7 +480,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -521,7 +521,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -529,7 +529,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -558,7 +558,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -584,7 +584,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -625,7 +625,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout36</cstring> <cstring>layout36</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -633,7 +633,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12_2</cstring> <cstring>layout12_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -659,7 +659,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout19_2</cstring> <cstring>layout19_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -685,7 +685,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout18_2</cstring> <cstring>layout18_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -711,7 +711,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17_2</cstring> <cstring>layout17_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -737,7 +737,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16_2</cstring> <cstring>layout16_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -763,7 +763,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout15_2</cstring> <cstring>layout15_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -789,7 +789,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14_2</cstring> <cstring>layout14_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -815,7 +815,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13_2</cstring> <cstring>layout13_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -841,7 +841,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout35</cstring> <cstring>layout35</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -67,7 +67,7 @@ the state of matter</string>
</spacer> </spacer>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -102,7 +102,7 @@ the state of matter</string>
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0"> <widget class="TQLayoutWidget" row="2" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -38,7 +38,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -110,7 +110,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -35,7 +35,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -78,7 +78,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -86,7 +86,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -114,7 +114,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -29,7 +29,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -55,7 +55,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -63,7 +63,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -111,7 +111,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -119,7 +119,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -161,7 +161,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -29,7 +29,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -1,6 +1,6 @@
2003-04-28 Sebastian Stein <seb.kde@hpfsc.de> 2003-04-28 Sebastian Stein <seb.kde@hpfsc.de>
* fixed tqlayout problem with help of Dominique Devries * fixed layout problem with help of Dominique Devries
* compiler warnings (<iosteam>) removed by Dominique Devries * compiler warnings (<iosteam>) removed by Dominique Devries
@ -10,7 +10,7 @@
2003-04-24 Sebastian Stein <seb.kde@hpfsc.de> 2003-04-24 Sebastian Stein <seb.kde@hpfsc.de>
* experiments with the tqlayout problem, but found no solution * experiments with the layout problem, but found no solution
* removed #define TRUE, used type bool instead * removed #define TRUE, used type bool instead

@ -129,7 +129,7 @@ ExerciseCompare::ExerciseCompare(TQWidget * parent, const char * name):
// that the user can start typing without moving the focus // that the user can start typing without moving the focus
m_signButton->setFocus(); m_signButton->setFocus();
// show the whole tqlayout // show the whole layout
baseWidget->show(); baseWidget->show();
// add tooltip and qwhatsthis help to the widget // add tooltip and qwhatsthis help to the widget
@ -301,9 +301,9 @@ void ExerciseCompare::slotSignButtonClicked()
{ {
// in RTL desktops, we still need to allign the // in RTL desktops, we still need to allign the
// execise to the left. On TQt4, you can set the direction // execise to the left. On TQt4, you can set the direction
// of the tqlayout to LTR (instead of inherit), but on TQt3 // of the layout to LTR (instead of inherit), but on TQt3
// the only way of fixing it is inserting the widgets in reversed // the only way of fixing it is inserting the widgets in reversed
// order to the tqlayout. // order to the layout.
// //
// But... as an ugly hack, we can also display the "other" operation // But... as an ugly hack, we can also display the "other" operation
// thats damm ugly, but will work as well :) // thats damm ugly, but will work as well :)

@ -120,9 +120,9 @@ ExerciseConvert::ExerciseConvert(TQWidget * parent, const char * name):
// in RTL desktops, we still need to allign the // in RTL desktops, we still need to allign the
// execise to the left. On TQt4, you can set the direction // execise to the left. On TQt4, you can set the direction
// of the tqlayout to LTR (instead of inherit), but on TQt3 // of the layout to LTR (instead of inherit), but on TQt3
// the only way of fixing it is inserting the widgets in reversed // the only way of fixing it is inserting the widgets in reversed
// order to the tqlayout. // order to the layout.
// //
// if you need help with this feel free to contact me - Diego <elcuco@kde.org> ) // if you need help with this feel free to contact me - Diego <elcuco@kde.org> )
// This should fix parts of bug #116831 // This should fix parts of bug #116831
@ -163,7 +163,7 @@ ExerciseConvert::ExerciseConvert(TQWidget * parent, const char * name):
// that the user can start typing without moving the focus // that the user can start typing without moving the focus
numer_edit->setFocus(); numer_edit->setFocus();
// show the whole tqlayout // show the whole layout
baseWidget->show(); baseWidget->show();
// add tooltip and qwhatsthis help to the widget // add tooltip and qwhatsthis help to the widget

@ -64,40 +64,40 @@ ExerciseFactorize::ExerciseFactorize(TQWidget * parent, const char * name):
Form1Layout = new TQVBoxLayout( this, 11, 6, "Form1Layout"); Form1Layout = new TQVBoxLayout( this, 11, 6, "Form1Layout");
tqlayout9 = new TQVBoxLayout( 0, 0, 6, "tqlayout9"); layout9 = new TQVBoxLayout( 0, 0, 6, "layout9");
// The following method fix the problem in // The following method fix the problem in
// bug #116831, reverse order in RTL desktops. // bug #116831, reverse order in RTL desktops.
// Amit Ramon amit.ramon@kdemail.net // Amit Ramon amit.ramon@kdemail.net
tqlayout4 = createFactorsLayout(); layout4 = createFactorsLayout();
tqlayout9->addLayout(tqlayout4); layout9->addLayout(layout4);
spacer2 = new TQSpacerItem( 20, 21, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); spacer2 = new TQSpacerItem( 20, 21, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
tqlayout9->addItem( spacer2 ); layout9->addItem( spacer2 );
tqlayout2 = new TQVBoxLayout( 0, 0, 6, "tqlayout2"); layout2 = new TQVBoxLayout( 0, 0, 6, "layout2");
// The following method fix the problem in // The following method fix the problem in
// bug #116831, reverse order in RTL desktops. // bug #116831, reverse order in RTL desktops.
// Amit Ramon amit.ramon@kdemail.net // Amit Ramon amit.ramon@kdemail.net
tqlayout1 = createButtonsLayout(); layout1 = createButtonsLayout();
tqlayout2->addLayout(tqlayout1); layout2->addLayout(layout1);
m_removeLastFactorButton = new TQPushButton( this, "m_removeLastFactorButton" ); m_removeLastFactorButton = new TQPushButton( this, "m_removeLastFactorButton" );
tqlayout2->addWidget( m_removeLastFactorButton ); layout2->addWidget( m_removeLastFactorButton );
tqlayout9->addLayout( tqlayout2 ); layout9->addLayout( layout2 );
spacer4 = new TQSpacerItem( 20, 21, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); spacer4 = new TQSpacerItem( 20, 21, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
tqlayout9->addItem( spacer4 ); layout9->addItem( spacer4 );
tqlayout7 = new TQHBoxLayout( 0, 0, 6, "tqlayout7"); layout7 = new TQHBoxLayout( 0, 0, 6, "layout7");
spacer3 = new TQSpacerItem( 361, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); spacer3 = new TQSpacerItem( 361, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
tqlayout7->addItem( spacer3 ); layout7->addItem( spacer3 );
m_checkButton = new TQPushButton( this, "m_checkButton" ); m_checkButton = new TQPushButton( this, "m_checkButton" );
tqlayout7->addWidget( m_checkButton ); layout7->addWidget( m_checkButton );
tqlayout9->addLayout( tqlayout7 ); layout9->addLayout( layout7 );
Form1Layout->addLayout( tqlayout9 ); Form1Layout->addLayout( layout9 );
// the current task // the current task
TQString tmp_str; TQString tmp_str;
@ -228,16 +228,16 @@ void ExerciseFactorize::update()
// //
// The following method was added to fix // The following method was added to fix
// bug #116831 (reverse tqlayout in RTL desktops) // bug #116831 (reverse layout in RTL desktops)
// Amit Ramon amit.ramon@kdemail.net // Amit Ramon amit.ramon@kdemail.net
// //
/** Create the tqlayout that hold the exercise widgets /** Create the layout that hold the exercise widgets
*/ */
TQHBoxLayout* ExerciseFactorize::createFactorsLayout() TQHBoxLayout* ExerciseFactorize::createFactorsLayout()
{ {
// first create all widgets // first create all widgets
TQHBoxLayout* tqlayout = new TQHBoxLayout( 0, 0, 6, "tqlayout4"); TQHBoxLayout* layout = new TQHBoxLayout( 0, 0, 6, "layout4");
m_taskLabel = new TQLabel( this, "m_taskLabel" ); m_taskLabel = new TQLabel( this, "m_taskLabel" );
@ -258,46 +258,46 @@ TQHBoxLayout* ExerciseFactorize::createFactorsLayout()
spacer1 = new TQSpacerItem( 25, 20, TQSizePolicy::Expanding, spacer1 = new TQSpacerItem( 25, 20, TQSizePolicy::Expanding,
TQSizePolicy::Minimum ); TQSizePolicy::Minimum );
// now add the widgets to the tqlayout. // now add the widgets to the layout.
// if we are in a RTL desktop, add them // if we are in a RTL desktop, add them
// in a reverse order // in a reverse order
if (TQApplication::reverseLayout()) if (TQApplication::reverseLayout())
{ {
tqlayout->addItem( spacer1 ); layout->addItem( spacer1 );
tqlayout->addWidget( result_label ); layout->addWidget( result_label );
tqlayout->addWidget( m_factorsWidget ); layout->addWidget( m_factorsWidget );
tqlayout->addWidget( m_factorsEnteredEdit ); layout->addWidget( m_factorsEnteredEdit );
tqlayout->addWidget( m_equalSignLabel ); layout->addWidget( m_equalSignLabel );
tqlayout->addWidget( m_taskLabel ); layout->addWidget( m_taskLabel );
} }
else else
{ {
tqlayout->addWidget( m_taskLabel ); layout->addWidget( m_taskLabel );
tqlayout->addWidget( m_equalSignLabel ); layout->addWidget( m_equalSignLabel );
tqlayout->addWidget( m_factorsEnteredEdit ); layout->addWidget( m_factorsEnteredEdit );
tqlayout->addWidget( m_factorsWidget ); layout->addWidget( m_factorsWidget );
tqlayout->addWidget( result_label ); layout->addWidget( result_label );
tqlayout->addItem( spacer1 ); layout->addItem( spacer1 );
} }
return tqlayout; return layout;
} }
// //
// The following method was added to fix // The following method was added to fix
// bug #116831 (reverse tqlayout in RTL desktops) // bug #116831 (reverse layout in RTL desktops)
// Amit Ramon amit.ramon@kdemail.net // Amit Ramon amit.ramon@kdemail.net
// //
/** Create the tqlayout that hold the exercise widgets /** Create the layout that hold the exercise widgets
*/ */
TQGridLayout* ExerciseFactorize::createButtonsLayout() TQGridLayout* ExerciseFactorize::createButtonsLayout()
{ {
const int _COLS = 4; // number of buttons in each row const int _COLS = 4; // number of buttons in each row
const int _ROWS = 2; // number of rows const int _ROWS = 2; // number of rows
TQGridLayout* tqlayout = new TQGridLayout( 0, 1, 1, 0, 6, "tqlayout1"); TQGridLayout* layout = new TQGridLayout( 0, 1, 1, 0, 6, "layout1");
// first row buttons // first row buttons
m_factor2Button = new TQPushButton( this, "m_factor2Button" ); m_factor2Button = new TQPushButton( this, "m_factor2Button" );
@ -348,12 +348,12 @@ TQGridLayout* ExerciseFactorize::createButtonsLayout()
for (int col = 0; col < _COLS; col++) for (int col = 0; col < _COLS; col++)
{ {
tqlayout->addWidget(buttons[row][buttonIdx], row, col ); layout->addWidget(buttons[row][buttonIdx], row, col );
buttonIdx += step; buttonIdx += step;
} }
} }
return tqlayout; return layout;
} }

@ -116,14 +116,14 @@ private:
// //
// the following two methods were added to fix // the following two methods were added to fix
// bug #116831 (reverse tqlayout in RTL desktops) // bug #116831 (reverse layout in RTL desktops)
// Amit Ramon amit.ramon@kdemail.net // Amit Ramon amit.ramon@kdemail.net
// //
/** create the factor widgets tqlayout */ /** create the factor widgets layout */
TQHBoxLayout* createFactorsLayout(); TQHBoxLayout* createFactorsLayout();
/** create the (answer) buttons tqlayout */ /** create the (answer) buttons layout */
TQGridLayout* createButtonsLayout(); TQGridLayout* createButtonsLayout();
@ -136,14 +136,14 @@ private:
protected: protected:
TQVBoxLayout* Form1Layout; TQVBoxLayout* Form1Layout;
TQVBoxLayout* tqlayout9; TQVBoxLayout* layout9;
TQSpacerItem* spacer4; TQSpacerItem* spacer4;
TQHBoxLayout* tqlayout4; TQHBoxLayout* layout4;
TQSpacerItem* spacer1; TQSpacerItem* spacer1;
TQSpacerItem* spacer2; TQSpacerItem* spacer2;
TQVBoxLayout* tqlayout2; TQVBoxLayout* layout2;
TQGridLayout* tqlayout1; TQGridLayout* layout1;
TQHBoxLayout* tqlayout7; TQHBoxLayout* layout7;
TQSpacerItem* spacer3; TQSpacerItem* spacer3;
private slots: private slots:

@ -48,17 +48,17 @@ StatisticsView::StatisticsView(TQWidget * parent, const char * name):
/* set the caption of the window */ /* set the caption of the window */
// setCaption(i18n("Statistics")); // setCaption(i18n("Statistics"));
/* add a tqlayout as a base */ /* add a layout as a base */
tqlayout1 = new TQVBoxLayout(this); layout1 = new TQVBoxLayout(this);
tqlayout1->setSpacing(6); layout1->setSpacing(6);
tqlayout1->setMargin(6); layout1->setMargin(6);
/* now add a v-spacer */ /* now add a v-spacer */
TQSpacerItem * v_spacer = new TQSpacerItem(1, 1); TQSpacerItem * v_spacer = new TQSpacerItem(1, 1);
tqlayout1->addItem(v_spacer); layout1->addItem(v_spacer);
/* create a grid to show the labels */ /* create a grid to show the labels */
labelGrid = new TQGridLayout(tqlayout1, 3, 2); labelGrid = new TQGridLayout(layout1, 3, 2);
/* add 6 labels to the grid */ /* add 6 labels to the grid */
info1Label = new TQLabel(this); info1Label = new TQLabel(this);
@ -112,10 +112,10 @@ StatisticsView::StatisticsView(TQWidget * parent, const char * name):
/* now add a v-spacer */ /* now add a v-spacer */
v_spacer = new TQSpacerItem(1, 1); v_spacer = new TQSpacerItem(1, 1);
tqlayout1->addItem(v_spacer); layout1->addItem(v_spacer);
/* the Reset button */ /* the Reset button */
buttonLayout = new TQHBoxLayout(tqlayout1); buttonLayout = new TQHBoxLayout(layout1);
resetBtn = new TQPushButton(i18n("&Reset"), this); resetBtn = new TQPushButton(i18n("&Reset"), this);
TQObject::connect(resetBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(resetStatistics())); TQObject::connect(resetBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(resetStatistics()));
buttonLayout->addWidget(resetBtn); buttonLayout->addWidget(resetBtn);

@ -66,7 +66,7 @@ private:
TQPushButton * resetBtn; TQPushButton * resetBtn;
TQHBoxLayout * buttonLayout; TQHBoxLayout * buttonLayout;
TQVBoxLayout * tqlayout1; TQVBoxLayout * layout1;
TQGridLayout * labelGrid; TQGridLayout * labelGrid;
TQLabel * result1Label; TQLabel * result1Label;
TQLabel * result2Label; TQLabel * result2Label;

@ -114,9 +114,9 @@ TaskView::TaskView(TQWidget * parent, const char * name, bool padd_sub,
// --- that is the end of the horizontal line --- // --- that is the end of the horizontal line ---
// in RTL desktops, we still need to allign the // in RTL desktops, we still need to allign the
// execise to the left. On TQt4, you can set the direction // execise to the left. On TQt4, you can set the direction
// of the tqlayout to LTR (instead of inherit), but on TQt3 // of the layout to LTR (instead of inherit), but on TQt3
// the only way of fixing it is inserting the widgets in reversed // the only way of fixing it is inserting the widgets in reversed
// order to the tqlayout. // order to the layout.
// //
// if you need help with this feel free to contact me - Diego <elcuco@kde.org> ) // if you need help with this feel free to contact me - Diego <elcuco@kde.org> )
// This should fix parts of bug #116831 // This should fix parts of bug #116831
@ -158,10 +158,10 @@ TaskView::TaskView(TQWidget * parent, const char * name, bool padd_sub,
// that the user can start typing without moving the focus // that the user can start typing without moving the focus
numer_edit->setFocus(); numer_edit->setFocus();
// show the whole tqlayout // show the whole layout
baseWidget->show(); baseWidget->show();
// show the whole tqlayout // show the whole layout
m_taskWidget->show(); m_taskWidget->show();
m_resultWidget->hide(); m_resultWidget->hide();

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -57,7 +57,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<property name="geometry"> <property name="geometry">
<rect> <rect>

@ -38,7 +38,7 @@ void KCheckEduca::drawButtonLabel( TQPainter *p){
int extra_width, indicator_width; int extra_width, indicator_width;
extra_width = 8; extra_width = 8;
indicator_width = tqstyle().pixelMetric(TQStyle::PM_IndicatorWidth, 0); indicator_width = style().pixelMetric(TQStyle::PM_IndicatorWidth, 0);
y = 0; y = 0;
x = indicator_width + extra_width; //### x = indicator_width + extra_width; //###
@ -68,7 +68,7 @@ void KCheckEduca::drawButtonLabel( TQPainter *p){
_doc->draw(p, cr.x()+xo, cr.y()+yo, cr, colorGroup(), 0); _doc->draw(p, cr.x()+xo, cr.y()+yo, cr, colorGroup(), 0);
if ( hasFocus() ) { if ( hasFocus() ) {
// TQRect br = tqstyle().itemRect( p, x, y, rw, rh+yo, // TQRect br = style().itemRect( p, x, y, rw, rh+yo,
// AlignLeft|AlignVCenter|ShowPrefix, // AlignLeft|AlignVCenter|ShowPrefix,
// isEnabled(), // isEnabled(),
// pixmap(), text().visual() ); // pixmap(), text().visual() );
@ -80,6 +80,6 @@ void KCheckEduca::drawButtonLabel( TQPainter *p){
br.setBottom( br.bottom()+2); br.setBottom( br.bottom()+2);
br = br.intersect( TQRect(0,0,rw, rh+yo ) ); br = br.intersect( TQRect(0,0,rw, rh+yo ) );
tqstyle().tqdrawPrimitive( TQStyle::PE_FocusRect, p, br, colorGroup()); style().tqdrawPrimitive( TQStyle::PE_FocusRect, p, br, colorGroup());
} }
} }

@ -45,9 +45,9 @@ void KEducaPrefs::setPageGeneral()
TQButtonGroup *buttonGroup1 = new TQButtonGroup( mainFrame, "ButtonGroup1" ); TQButtonGroup *buttonGroup1 = new TQButtonGroup( mainFrame, "ButtonGroup1" );
buttonGroup1->setTitle( i18n( "General" ) ); buttonGroup1->setTitle( i18n( "General" ) );
buttonGroup1->setColumnLayout(0, Qt::Vertical ); buttonGroup1->setColumnLayout(0, Qt::Vertical );
buttonGroup1->tqlayout()->setSpacing( 0 ); buttonGroup1->layout()->setSpacing( 0 );
buttonGroup1->tqlayout()->setMargin( 0 ); buttonGroup1->layout()->setMargin( 0 );
TQVBoxLayout *buttonGroup1Layout = new TQVBoxLayout( buttonGroup1->tqlayout() ); TQVBoxLayout *buttonGroup1Layout = new TQVBoxLayout( buttonGroup1->layout() );
buttonGroup1Layout->setAlignment( TQt::AlignTop ); buttonGroup1Layout->setAlignment( TQt::AlignTop );
buttonGroup1Layout->setSpacing( 6 ); buttonGroup1Layout->setSpacing( 6 );
buttonGroup1Layout->setMargin( 11 ); buttonGroup1Layout->setMargin( 11 );
@ -63,9 +63,9 @@ void KEducaPrefs::setPageGeneral()
TQGroupBox *GroupBox1 = new TQGroupBox( mainFrame, "GroupBox7" ); TQGroupBox *GroupBox1 = new TQGroupBox( mainFrame, "GroupBox7" );
GroupBox1->setTitle( i18n( "Order" ) ); GroupBox1->setTitle( i18n( "Order" ) );
GroupBox1->setColumnLayout(0, Qt::Vertical ); GroupBox1->setColumnLayout(0, Qt::Vertical );
GroupBox1->tqlayout()->setSpacing( 0 ); GroupBox1->layout()->setSpacing( 0 );
GroupBox1->tqlayout()->setMargin( 0 ); GroupBox1->layout()->setMargin( 0 );
TQVBoxLayout *GroupBox1Layout = new TQVBoxLayout( GroupBox1->tqlayout() ); TQVBoxLayout *GroupBox1Layout = new TQVBoxLayout( GroupBox1->layout() );
GroupBox1Layout->setAlignment( TQt::AlignTop ); GroupBox1Layout->setAlignment( TQt::AlignTop );
GroupBox1Layout->setSpacing( 6 ); GroupBox1Layout->setSpacing( 6 );
GroupBox1Layout->setMargin( 11 ); GroupBox1Layout->setMargin( 11 );

@ -37,7 +37,7 @@ void KRadioEduca::drawButtonLabel( TQPainter *p)
int x, y, w, h; int x, y, w, h;
int extra_width, indicator_width; int extra_width, indicator_width;
extra_width = 8; extra_width = 8;
indicator_width = tqstyle().pixelMetric(TQStyle::PM_ExclusiveIndicatorWidth, 0); indicator_width = style().pixelMetric(TQStyle::PM_ExclusiveIndicatorWidth, 0);
y = 0; y = 0;
x = indicator_width + extra_width; //### x = indicator_width + extra_width; //###
@ -67,7 +67,7 @@ void KRadioEduca::drawButtonLabel( TQPainter *p)
_doc->draw(p, cr.x()+xo, cr.y()+yo, cr, colorGroup(), 0); _doc->draw(p, cr.x()+xo, cr.y()+yo, cr, colorGroup(), 0);
if ( hasFocus() ) { if ( hasFocus() ) {
// TQRect br = tqstyle().itemRect( p, x, y, rw, rh+yo, // TQRect br = style().itemRect( p, x, y, rw, rh+yo,
// AlignLeft|AlignVCenter|ShowPrefix, // AlignLeft|AlignVCenter|ShowPrefix,
// isEnabled(), // isEnabled(),
// pixmap(), text().visual() ); // pixmap(), text().visual() );
@ -78,6 +78,6 @@ void KRadioEduca::drawButtonLabel( TQPainter *p)
br.setTop( br.top()-2 ); br.setTop( br.top()-2 );
br.setBottom( br.bottom()+2); br.setBottom( br.bottom()+2);
br = br.intersect( TQRect(0,0,rw, rh+yo ) ); br = br.intersect( TQRect(0,0,rw, rh+yo ) );
tqstyle().tqdrawPrimitive( TQStyle::PE_FocusRect, p, br, colorGroup()); style().tqdrawPrimitive( TQStyle::PE_FocusRect, p, br, colorGroup());
} }
} }

@ -293,7 +293,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="4" column="1"> <widget class="TQLayoutWidget" row="4" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -325,7 +325,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="3" column="1"> <widget class="TQLayoutWidget" row="3" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -502,7 +502,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -510,7 +510,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="2" column="1"> <widget class="TQLayoutWidget" row="2" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -575,7 +575,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="1"> <widget class="TQLayoutWidget" row="1" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -630,7 +630,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -679,7 +679,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16</cstring> <cstring>layout16</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -82,9 +82,9 @@ void KControlHeader::init()
TQGroupBox *GroupBox7 = new TQGroupBox( mainView, "GroupBox7" ); TQGroupBox *GroupBox7 = new TQGroupBox( mainView, "GroupBox7" );
GroupBox7->setTitle( i18n( "Description" ) ); GroupBox7->setTitle( i18n( "Description" ) );
GroupBox7->setColumnLayout(0, Qt::Vertical ); GroupBox7->setColumnLayout(0, Qt::Vertical );
GroupBox7->tqlayout()->setSpacing( 0 ); GroupBox7->layout()->setSpacing( 0 );
GroupBox7->tqlayout()->setMargin( 0 ); GroupBox7->layout()->setMargin( 0 );
TQVBoxLayout *GroupBox7Layout = new TQVBoxLayout( GroupBox7->tqlayout() ); TQVBoxLayout *GroupBox7Layout = new TQVBoxLayout( GroupBox7->layout() );
GroupBox7Layout->setAlignment( TQt::AlignTop ); GroupBox7Layout->setAlignment( TQt::AlignTop );
GroupBox7Layout->setSpacing( 6 ); GroupBox7Layout->setSpacing( 6 );
GroupBox7Layout->setMargin( 11 ); GroupBox7Layout->setMargin( 11 );
@ -147,9 +147,9 @@ void KControlHeader::init()
TQGroupBox *GroupBox8 = new TQGroupBox( mainView, "GroupBox8" ); TQGroupBox *GroupBox8 = new TQGroupBox( mainView, "GroupBox8" );
GroupBox8->setTitle( i18n( "Picture" ) ); GroupBox8->setTitle( i18n( "Picture" ) );
GroupBox8->setColumnLayout(0, Qt::Vertical ); GroupBox8->setColumnLayout(0, Qt::Vertical );
GroupBox8->tqlayout()->setSpacing( 0 ); GroupBox8->layout()->setSpacing( 0 );
GroupBox8->tqlayout()->setMargin( 0 ); GroupBox8->layout()->setMargin( 0 );
TQHBoxLayout *GroupBox8Layout = new TQHBoxLayout( GroupBox8->tqlayout() ); TQHBoxLayout *GroupBox8Layout = new TQHBoxLayout( GroupBox8->layout() );
GroupBox8Layout->setAlignment( TQt::AlignTop ); GroupBox8Layout->setAlignment( TQt::AlignTop );
GroupBox8Layout->setSpacing( 6 ); GroupBox8Layout->setSpacing( 6 );
GroupBox8Layout->setMargin( 11 ); GroupBox8Layout->setMargin( 11 );
@ -165,9 +165,9 @@ void KControlHeader::init()
TQGroupBox *GroupBox6 = new TQGroupBox( mainView, "GroupBox6" ); TQGroupBox *GroupBox6 = new TQGroupBox( mainView, "GroupBox6" );
GroupBox6->setTitle( i18n( "Author" ) ); GroupBox6->setTitle( i18n( "Author" ) );
GroupBox6->setColumnLayout(0, Qt::Vertical ); GroupBox6->setColumnLayout(0, Qt::Vertical );
GroupBox6->tqlayout()->setSpacing( 0 ); GroupBox6->layout()->setSpacing( 0 );
GroupBox6->tqlayout()->setMargin( 0 ); GroupBox6->layout()->setMargin( 0 );
TQGridLayout *GroupBox6Layout = new TQGridLayout( GroupBox6->tqlayout() ); TQGridLayout *GroupBox6Layout = new TQGridLayout( GroupBox6->layout() );
GroupBox6Layout->setAlignment( TQt::AlignTop ); GroupBox6Layout->setAlignment( TQt::AlignTop );
GroupBox6Layout->setSpacing( 6 ); GroupBox6Layout->setSpacing( 6 );
GroupBox6Layout->setMargin( 11 ); GroupBox6Layout->setMargin( 11 );

@ -188,7 +188,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="1"> <widget class="TQLayoutWidget" row="2" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -24,7 +24,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -32,7 +32,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -58,7 +58,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -81,7 +81,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -264,7 +264,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -59,8 +59,8 @@ kgeography::kgeography() : KMainWindow(), p_firstShow(true), p_mustShowResultsDi
p_askDivisionFlags = new KPushButton(i18n("G&uess Flag of Division..."), p_leftWidget); p_askDivisionFlags = new KPushButton(i18n("G&uess Flag of Division..."), p_leftWidget);
TQWhatsThis::add(p_askDivisionFlags, i18n("In this quiz you have to guess the flag of a division given its name")); TQWhatsThis::add(p_askDivisionFlags, i18n("In this quiz you have to guess the flag of a division given its name"));
p_underLeftWidget = new TQVBox(p_leftWidget); p_underLeftWidget = new TQVBox(p_leftWidget);
p_underLeftWidget -> tqlayout() -> setSpacing(KDialog::spacingHint()); p_underLeftWidget -> layout() -> setSpacing(KDialog::spacingHint());
p_underLeftWidget -> tqlayout() -> setMargin(KDialog::marginHint()); p_underLeftWidget -> layout() -> setMargin(KDialog::marginHint());
p_leftWidget -> setStretchFactor(p_underLeftWidget, 1); p_leftWidget -> setStretchFactor(p_underLeftWidget, 1);
setCentralWidget(p_bigWidget); setCentralWidget(p_bigWidget);

@ -51,7 +51,7 @@ mapAsker::mapAsker(TQWidget *parent, KGmap *m, TQWidget *w, bool asker, uint cou
if (asker) if (asker)
{ {
TQBoxLayout *vbl = dynamic_cast<TQBoxLayout*>(w -> tqlayout()); TQBoxLayout *vbl = dynamic_cast<TQBoxLayout*>(w -> layout());
p_next = new TQLabel(w); p_next = new TQLabel(w);
p_next -> setAlignment(AlignTop | AlignHCenter); p_next -> setAlignment(AlignTop | AlignHCenter);
p_fill = new TQWidget(w); p_fill = new TQWidget(w);

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -480,7 +480,7 @@ void KHangMan::slotPasteChar()
TQString KHangMan::charIcon(const TQChar & c) TQString KHangMan::charIcon(const TQChar & c)
{ {
///Create a name and path for the icon ///Create a name and path for the icon
TQString s = locateLocal("icon", "char" + TQString::number(c.tqunicode()) + ".png"); TQString s = locateLocal("icon", "char" + TQString::number(c.unicode()) + ".png");
TQRect r(4, 4, 120, 120); TQRect r(4, 4, 120, 120);

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -29,7 +29,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -124,7 +124,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -290,13 +290,13 @@ KigView::KigView( KigPart* part,
TQWidget* parent, TQWidget* parent,
const char* name ) const char* name )
: TQWidget( parent, name ), : TQWidget( parent, name ),
mtqlayout( 0 ), mrightscroll( 0 ), mbottomscroll( 0 ), mlayout( 0 ), mrightscroll( 0 ), mbottomscroll( 0 ),
mupdatingscrollbars( false ), mupdatingscrollbars( false ),
mrealwidget( 0 ), mpart( part ) mrealwidget( 0 ), mpart( part )
{ {
connect( part, TQT_SIGNAL( recenterScreen() ), this, TQT_SLOT( slotInternalRecenterScreen() ) ); connect( part, TQT_SIGNAL( recenterScreen() ), this, TQT_SLOT( slotInternalRecenterScreen() ) );
mtqlayout = new TQGridLayout( this, 2, 2 ); mlayout = new TQGridLayout( this, 2, 2 );
mrightscroll = new TQScrollBar(Qt::Vertical, this, "Right Scrollbar" ); mrightscroll = new TQScrollBar(Qt::Vertical, this, "Right Scrollbar" );
// TODO: make this configurable... // TODO: make this configurable...
mrightscroll->setTracking( true ); mrightscroll->setTracking( true );
@ -310,9 +310,9 @@ KigView::KigView( KigPart* part,
connect( mbottomscroll, TQT_SIGNAL( sliderReleased() ), connect( mbottomscroll, TQT_SIGNAL( sliderReleased() ),
this, TQT_SLOT( updateScrollBars() ) ); this, TQT_SLOT( updateScrollBars() ) );
mrealwidget = new KigWidget( part, this, this, "Kig Widget", fullscreen ); mrealwidget = new KigWidget( part, this, this, "Kig Widget", fullscreen );
mtqlayout->addWidget( mbottomscroll, 1, 0 ); mlayout->addWidget( mbottomscroll, 1, 0 );
mtqlayout->addWidget( mrealwidget, 0, 0 ); mlayout->addWidget( mrealwidget, 0, 0 );
mtqlayout->addWidget( mrightscroll, 0, 1 ); mlayout->addWidget( mrightscroll, 0, 1 );
resize( sizeHint() ); resize( sizeHint() );
mrealwidget->recenterScreen(); mrealwidget->recenterScreen();

@ -230,7 +230,7 @@ class KigView
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
TQGridLayout* mtqlayout; TQGridLayout* mlayout;
TQScrollBar* mrightscroll; TQScrollBar* mrightscroll;
TQScrollBar* mbottomscroll; TQScrollBar* mbottomscroll;

@ -43,7 +43,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -51,7 +51,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -125,7 +125,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout23</cstring> <cstring>layout23</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -179,7 +179,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24</cstring> <cstring>layout24</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -33,7 +33,7 @@ using namespace std;
class LinksLabel::Private class LinksLabel::Private
{ {
public: public:
TQHBoxLayout* tqlayout; TQHBoxLayout* layout;
std::vector<TQLabel*> labels; std::vector<TQLabel*> labels;
std::vector<KURLLabel*> urllabels; std::vector<KURLLabel*> urllabels;
}; };
@ -42,22 +42,22 @@ LinksLabel::LinksLabel( TQWidget* parent, const char* name )
: TQWidget( parent, name ) : TQWidget( parent, name )
{ {
p = new Private; p = new Private;
p->tqlayout = new TQHBoxLayout( this ); p->layout = new TQHBoxLayout( this );
TQLabel* l = new TQLabel( TQString::fromUtf8( "Dit is een " ), this ); TQLabel* l = new TQLabel( TQString::fromUtf8( "Dit is een " ), this );
p->labels.push_back( l ); p->labels.push_back( l );
p->tqlayout->addWidget( l ); p->layout->addWidget( l );
KURLLabel* u = new KURLLabel( TQString::fromUtf8( "http://www.kde.org/" ), KURLLabel* u = new KURLLabel( TQString::fromUtf8( "http://www.kde.org/" ),
TQString::fromUtf8( "url"), this ); TQString::fromUtf8( "url"), this );
p->urllabels.push_back( u ); p->urllabels.push_back( u );
p->tqlayout->addWidget( u ); p->layout->addWidget( u );
l = new TQLabel( TQString::fromUtf8( " !" ), this ); l = new TQLabel( TQString::fromUtf8( " !" ), this );
p->labels.push_back( l ); p->labels.push_back( l );
p->tqlayout->addWidget(l ); p->layout->addWidget(l );
p->tqlayout->activate(); p->layout->activate();
} }
LinksLabel::~LinksLabel() LinksLabel::~LinksLabel()
@ -99,8 +99,8 @@ void LinksLabel::applyEdit( LinksLabelEditBuf& buf )
p->urllabels.clear(); p->urllabels.clear();
p->labels.clear(); p->labels.clear();
delete p->tqlayout; delete p->layout;
p->tqlayout = new TQHBoxLayout( this ); p->layout = new TQHBoxLayout( this );
for ( LinksLabelEditBuf::vec::iterator i = buf.data.begin(); i != buf.data.end(); ++i ) for ( LinksLabelEditBuf::vec::iterator i = buf.data.begin(); i != buf.data.end(); ++i )
{ {
@ -111,7 +111,7 @@ void LinksLabel::applyEdit( LinksLabelEditBuf& buf )
KURLLabel* l = new KURLLabel( TQString::fromUtf8( "http://edu.kde.org/kig" ), KURLLabel* l = new KURLLabel( TQString::fromUtf8( "http://edu.kde.org/kig" ),
i->second, this ); i->second, this );
p->urllabels.push_back( l ); p->urllabels.push_back( l );
p->tqlayout->addWidget( l ); p->layout->addWidget( l );
connect( l, TQT_SIGNAL( leftClickedURL() ), TQT_SLOT( urlClicked() ) ); connect( l, TQT_SIGNAL( leftClickedURL() ), TQT_SLOT( urlClicked() ) );
} }
else else
@ -119,15 +119,15 @@ void LinksLabel::applyEdit( LinksLabelEditBuf& buf )
// we need a normal label... // we need a normal label...
TQLabel* l = new TQLabel( i->second, this ); TQLabel* l = new TQLabel( i->second, this );
p->labels.push_back( l ); p->labels.push_back( l );
p->tqlayout->addWidget( l ); p->layout->addWidget( l );
}; };
}; };
TQSpacerItem* spacer = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); TQSpacerItem* spacer = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
p->tqlayout->addItem( spacer ); p->layout->addItem( spacer );
p->tqlayout->activate(); p->layout->activate();
std::for_each( p->urllabels.begin(), p->urllabels.end(), mem_fun( &TQWidget::show ) ); std::for_each( p->urllabels.begin(), p->urllabels.end(), mem_fun( &TQWidget::show ) );
std::for_each( p->labels.begin(), p->labels.end(), mem_fun( &TQWidget::show ) ); std::for_each( p->labels.begin(), p->labels.end(), mem_fun( &TQWidget::show ) );

@ -30,7 +30,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -90,7 +90,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -98,7 +98,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -147,7 +147,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -144,7 +144,7 @@ void TextType::executeAction( int i, ObjectHolder& o, ObjectTypeCalcer& c,
if ( i == 0 ) if ( i == 0 )
{ {
TQClipboard* cb = kapp->tqclipboard(); TQClipboard* cb = kapp->clipboard();
// copy the text into the clipboard // copy the text into the clipboard
const TextImp* ti = static_cast<const TextImp*>( c.imp() ); const TextImp* ti = static_cast<const TextImp*>( c.imp() );

@ -36,7 +36,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout52_2</cstring> <cstring>layout52_2</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -47,7 +47,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout43_2</cstring> <cstring>layout43_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -82,7 +82,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout51_2</cstring> <cstring>layout51_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -117,7 +117,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout50_2</cstring> <cstring>layout50_2</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -177,7 +177,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout52</cstring> <cstring>layout52</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -185,7 +185,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout43</cstring> <cstring>layout43</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -220,7 +220,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout51</cstring> <cstring>layout51</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -255,7 +255,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout50</cstring> <cstring>layout50</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -65,7 +65,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -50,7 +50,7 @@ using namespace Dict;
TextType Dict::textType(const TQString &text) TextType Dict::textType(const TQString &text)
{ {
ushort first = text.at(0).tqunicode(); ushort first = text.at(0).unicode();
if (first < 0x3000) if (first < 0x3000)
return Text_Latin; return Text_Latin;

@ -6892,7 +6892,7 @@
コマソン /(abbr) commercial song/commercial jingle/ コマソン /(abbr) commercial song/commercial jingle/
コマンド /(n) (1) (computer) command/(2) commando/(P)/ コマンド /(n) (1) (computer) command/(2) commando/(P)/
コマンドモジュール /command module/ コマンドモジュール /command module/
コマ割り [コマわり] /panel tqlayout/ コマ割り [コマわり] /panel layout/
コミカル /(adj-na,n) comical/(P)/ コミカル /(adj-na,n) comical/(P)/
コミケット /(abbr) comic market/convention where amateur manga artists sell their work/ コミケット /(abbr) comic market/convention where amateur manga artists sell their work/
コミック /(adj-na,n) comic books/comics/(P)/ コミック /(adj-na,n) comic books/comics/(P)/
@ -14625,7 +14625,7 @@
プランテーション /plantation/ プランテーション /plantation/
プラント /(n) plant/(P)/ プラント /(n) plant/(P)/
プラントリノベーション /plant renovation/ プラントリノベーション /plant renovation/
プラントレイアウト /plant tqlayout/ プラントレイアウト /plant layout/
プラント輸出 [プラントゆしゅつ] /(n) export of manufacturing plant/ プラント輸出 [プラントゆしゅつ] /(n) export of manufacturing plant/
プランナー /(n) planner/(P)/ プランナー /(n) planner/(P)/
プランニング /(n) planning/(P)/ プランニング /(n) planning/(P)/
@ -17996,8 +17996,8 @@
レア /rare/(P)/ レア /rare/(P)/
レアメタル /rare metal/ レアメタル /rare metal/
レイ /(n) (1) lei/(2) ray/(P)/ レイ /(n) (1) lei/(2) ray/(P)/
レイアウト /(n) tqlayout/(P)/ レイアウト /(n) layout/(P)/
レイアウトシステム /tqlayout-system/ レイアウトシステム /layout-system/
レイアップ /(n,vs) lay-up/ レイアップ /(n,vs) lay-up/
レイオフ /(n) layoff/(P)/ レイオフ /(n) layoff/(P)/
レイシズム /racism/ レイシズム /racism/
@ -29946,7 +29946,7 @@
割り麦 [わりむぎ] /(n) ground barley/ 割り麦 [わりむぎ] /(n) ground barley/
割り箸 [わりばし] /(n) splittable (wood) chopsticks/(P)/ 割り箸 [わりばし] /(n) splittable (wood) chopsticks/(P)/
割り判 [わりばん] /(n) seal over the edges of adjacent sheets/ 割り判 [わりばん] /(n) seal over the edges of adjacent sheets/
割り付け [わりつけ] /(n) allotment/assignment/allocation/distribution/tqlayout/editing/ 割り付け [わりつけ] /(n) allotment/assignment/allocation/distribution/layout/editing/
割り付ける [わりつける] /(v1) to allot/to distribute/to lay out/to divide among/to assign/ 割り付ける [わりつける] /(v1) to allot/to distribute/to lay out/to divide among/to assign/
割り普請 [わりぶしん] /dividing work among several contractors/ 割り普請 [わりぶしん] /dividing work among several contractors/
割り符 [わりふ] /(n) tally/score/check/ 割り符 [わりふ] /(n) tally/score/check/
@ -30014,8 +30014,8 @@
割麦 [わりむぎ] /(n) ground barley/ 割麦 [わりむぎ] /(n) ground barley/
割箸 [わりばし] /(n) splittable (wood) chopsticks/ 割箸 [わりばし] /(n) splittable (wood) chopsticks/
割判 [わりはん] /(n) tally impression/ 割判 [わりはん] /(n) tally impression/
割付 [わりつけ] /(n) allotment/assignment/allocation/distribution/tqlayout/editing/ 割付 [わりつけ] /(n) allotment/assignment/allocation/distribution/layout/editing/
割付け [わりつけ] /(n) allotment/assignment/allocation/distribution/tqlayout/editing/ 割付け [わりつけ] /(n) allotment/assignment/allocation/distribution/layout/editing/
割付ける [わりつける] /(v1) to allot/to distribute/to lay out/to divide among/to assign/ 割付ける [わりつける] /(v1) to allot/to distribute/to lay out/to divide among/to assign/
割付る [わりつける] /(v1) to allot/to distribute/to lay out/to divide among/to assign/ 割付る [わりつける] /(v1) to allot/to distribute/to lay out/to divide among/to assign/
割符 [わりふ] /(n) tally/score/check/ 割符 [わりふ] /(n) tally/score/check/
@ -52182,7 +52182,7 @@
字数 [じすう] /(n) number of characters or letters/(P)/ 字数 [じすう] /(n) number of characters or letters/(P)/
字体 [じたい] /(n) type/font/lettering/(P)/ 字体 [じたい] /(n) type/font/lettering/(P)/
字典 [じてん] /(n) character dictionary/ 字典 [じてん] /(n) character dictionary/
字配り [じくばり] /(n) word or letter tqlayout/ 字配り [じくばり] /(n) word or letter layout/
字母 [じぼ] /(n) letter (of the alphabet)/phonetic script/ 字母 [じぼ] /(n) letter (of the alphabet)/phonetic script/
字幕 [じまく] /(n) title/subtitle/(P)/ 字幕 [じまく] /(n) title/subtitle/(P)/
字面 [じづら] /(n) impression derived from or appearance of kanji/face/appearance of written words/ 字面 [じづら] /(n) impression derived from or appearance of kanji/face/appearance of written words/
@ -75370,7 +75370,7 @@
地質図 [ちしつず] /(n) geological map/ 地質図 [ちしつず] /(n) geological map/
地質調査 [ちしつちょうさ] /geological survey/ 地質調査 [ちしつちょうさ] /geological survey/
地主 [じぬし] /(n) landlord/(P)/ 地主 [じぬし] /(n) landlord/(P)/
地取り [じどり] /(n) tqlayout/obtaining land/ 地取り [じどり] /(n) layout/obtaining land/
地酒 [じざけ] /(n) local sake/ 地酒 [じざけ] /(n) local sake/
地所 [じしょ] /(n) estate/ 地所 [じしょ] /(n) estate/
地上 [ちじょう] /(n) above ground/(P)/ 地上 [ちじょう] /(n) above ground/(P)/
@ -93602,7 +93602,7 @@
変曲点 [へんきょくてん] /inflection point/ 変曲点 [へんきょくてん] /inflection point/
変型 [へんけい] /(n) variety/variation/ 変型 [へんけい] /(n) variety/variation/
変形 [へんけい] /(n,vs) transformation/variation/metamorphosis/modification/deformation/variety/deformity/monster/(P)/ 変形 [へんけい] /(n,vs) transformation/variation/metamorphosis/modification/deformation/variety/deformity/monster/(P)/
変形ゴマ [へんけいゴマ] /arbitrary panel tqlayout/ 変形ゴマ [へんけいゴマ] /arbitrary panel layout/
変形規則 [へんけいきそく] /(n) transformational rule/ 変形規則 [へんけいきそく] /(n) transformational rule/
変形生成統語論 [へんけいせいせいとうごろん] /(n) transformational generative syntax/ 変形生成統語論 [へんけいせいせいとうごろん] /(n) transformational generative syntax/
変形虫類 [へんけいちゅうるい] /the amoeba/ 変形虫類 [へんけいちゅうるい] /the amoeba/

@ -181,7 +181,7 @@ each dictionary unique (and copyrightable) is the particular selection of
words, the phrasing of the meanings, the presentation of the contents (a very words, the phrasing of the meanings, the presentation of the contents (a very
important point in the case of EDICT), and the means of publication. Of important point in the case of EDICT), and the means of publication. Of
course, the fact that for the most part the kanji and kana of each entry are course, the fact that for the most part the kanji and kana of each entry are
coming from public sources, and the structure and tqlayout of the entries coming from public sources, and the structure and layout of the entries
themselves are quite unlike those in any published dictionary, adds a degree themselves are quite unlike those in any published dictionary, adds a degree
of protection to EDICT. of protection to EDICT.
</P> </P>

@ -257,7 +257,7 @@ void TopLevel::handleSearchResult(Dict::SearchResult results)
addAction->setEnabled(true); addAction->setEnabled(true);
_ResultView->append(TQString("<p>%1</p>").arg(i18n("HTML Entity: %1").arg(TQString("&amp;#x%1;").arg(TQString::number(toAddKanji.kanji().at(0).tqunicode(), 16))))); // show html entity _ResultView->append(TQString("<p>%1</p>").arg(i18n("HTML Entity: %1").arg(TQString("&amp;#x%1;").arg(TQString::number(toAddKanji.kanji().at(0).unicode(), 16))))); // show html entity
// now show some compounds in which this kanji appears // now show some compounds in which this kanji appears
TQString kanji = toAddKanji.kanji(); TQString kanji = toAddKanji.kanji();
@ -529,9 +529,9 @@ void TopLevel::gradeSearch()
TQString TopLevel::clipBoardText() // gets text from clipboard for globalaccels TQString TopLevel::clipBoardText() // gets text from clipboard for globalaccels
{ {
kapp->tqclipboard()->setSelectionMode(true); kapp->clipboard()->setSelectionMode(true);
TQString text = kapp->tqclipboard()->text().stripWhiteSpace(); TQString text = kapp->clipboard()->text().stripWhiteSpace();
kapp->tqclipboard()->setSelectionMode(false); kapp->clipboard()->setSelectionMode(false);
return text; return text;
} }

@ -138,12 +138,12 @@ Learn::Learn(Dict::Index *parentDict, TQWidget *parent, const char *name)
TQVBoxLayout *quizLayout = new TQVBoxLayout(quizTop, KDialog::marginHint(), KDialog::spacingHint()); TQVBoxLayout *quizLayout = new TQVBoxLayout(quizTop, KDialog::marginHint(), KDialog::spacingHint());
quizLayout->addStretch(); quizLayout->addStretch();
TQHBoxLayout *htqlayout = new TQHBoxLayout(quizLayout); TQHBoxLayout *hlayout = new TQHBoxLayout(quizLayout);
qKanji = new TQPushButton(quizTop); qKanji = new TQPushButton(quizTop);
connect(qKanji, TQT_SIGNAL(clicked()), this, TQT_SLOT(qKanjiClicked())); connect(qKanji, TQT_SIGNAL(clicked()), this, TQT_SLOT(qKanjiClicked()));
htqlayout->addStretch(); hlayout->addStretch();
htqlayout->addWidget(qKanji); hlayout->addWidget(qKanji);
htqlayout->addStretch(); hlayout->addStretch();
quizLayout->addStretch(); quizLayout->addStretch();
answers = new TQButtonGroup(1,Qt::Horizontal, quizTop); answers = new TQButtonGroup(1,Qt::Horizontal, quizTop);

@ -223,12 +223,12 @@ RadWidget::RadWidget(Rad *_rad, TQWidget *parent, const char *name) : TQWidget(p
hotlistNum = 3; hotlistNum = 3;
rad = _rad; rad = _rad;
TQHBoxLayout *htqlayout = new TQHBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); TQHBoxLayout *hlayout = new TQHBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
TQVBoxLayout *vtqlayout = new TQVBoxLayout(htqlayout, KDialog::spacingHint()); TQVBoxLayout *vlayout = new TQVBoxLayout(hlayout, KDialog::spacingHint());
hotlistGroup = new TQButtonGroup(1,Qt::Horizontal, i18n("Hotlist"), this); hotlistGroup = new TQButtonGroup(1,Qt::Horizontal, i18n("Hotlist"), this);
//hotlistGroup->setRadioButtonExclusive(true); //hotlistGroup->setRadioButtonExclusive(true);
vtqlayout->addWidget(hotlistGroup); vlayout->addWidget(hotlistGroup);
Config* config = Config::self(); Config* config = Config::self();
@ -246,13 +246,13 @@ RadWidget::RadWidget(Rad *_rad, TQWidget *parent, const char *name) : TQWidget(p
} }
connect(hotlistGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(hotlistClicked(int))); connect(hotlistGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(hotlistClicked(int)));
TQVBoxLayout *tqlayout = new TQVBoxLayout(vtqlayout, KDialog::spacingHint()); TQVBoxLayout *layout = new TQVBoxLayout(vlayout, KDialog::spacingHint());
totalStrokes = new TQCheckBox(i18n("Search by total strokes"), this); totalStrokes = new TQCheckBox(i18n("Search by total strokes"), this);
connect(totalStrokes, TQT_SIGNAL(clicked()), this, TQT_SLOT(totalClicked())); connect(totalStrokes, TQT_SIGNAL(clicked()), this, TQT_SLOT(totalClicked()));
tqlayout->addWidget(totalStrokes); layout->addWidget(totalStrokes);
TQHBoxLayout *strokesLayout = new TQHBoxLayout(tqlayout, KDialog::spacingHint()); TQHBoxLayout *strokesLayout = new TQHBoxLayout(layout, KDialog::spacingHint());
totalSpin = new TQSpinBox(1, 30, 1, this); totalSpin = new TQSpinBox(1, 30, 1, this);
strokesLayout->addWidget(totalSpin); strokesLayout->addWidget(totalSpin);
strokesLayout->addStretch(); strokesLayout->addStretch();
@ -264,13 +264,13 @@ RadWidget::RadWidget(Rad *_rad, TQWidget *parent, const char *name) : TQWidget(p
ok = new KPushButton(i18n("&Look Up"), this); ok = new KPushButton(i18n("&Look Up"), this);
ok->setEnabled(false); ok->setEnabled(false);
connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(apply())); connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(apply()));
tqlayout->addWidget(ok); layout->addWidget(ok);
cancel = new KPushButton( KStdGuiItem::cancel(), this ); cancel = new KPushButton( KStdGuiItem::cancel(), this );
connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(close())); connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(close()));
tqlayout->addWidget(cancel); layout->addWidget(cancel);
TQVBoxLayout *middlevLayout = new TQVBoxLayout(htqlayout, KDialog::spacingHint()); TQVBoxLayout *middlevLayout = new TQVBoxLayout(hlayout, KDialog::spacingHint());
strokesSpin = new TQSpinBox(1, 17, 1, this); strokesSpin = new TQSpinBox(1, 17, 1, this);
TQToolTip::add(strokesSpin, i18n("Show radicals having this number of strokes")); TQToolTip::add(strokesSpin, i18n("Show radicals having this number of strokes"));
@ -281,18 +281,18 @@ RadWidget::RadWidget(Rad *_rad, TQWidget *parent, const char *name) : TQWidget(p
connect(List, TQT_SIGNAL(executed(TQListBoxItem *)), this, TQT_SLOT(executed(TQListBoxItem *))); connect(List, TQT_SIGNAL(executed(TQListBoxItem *)), this, TQT_SLOT(executed(TQListBoxItem *)));
connect(strokesSpin, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(updateList(int))); connect(strokesSpin, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(updateList(int)));
TQVBoxLayout *rightvtqlayout = new TQVBoxLayout(htqlayout, KDialog::spacingHint()); TQVBoxLayout *rightvlayout = new TQVBoxLayout(hlayout, KDialog::spacingHint());
selectedList = new KListBox(this); selectedList = new KListBox(this);
rightvtqlayout->addWidget(selectedList); rightvlayout->addWidget(selectedList);
connect(selectedList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged())); connect(selectedList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged()));
remove = new KPushButton(i18n("&Remove"), this); remove = new KPushButton(i18n("&Remove"), this);
rightvtqlayout->addWidget(remove); rightvlayout->addWidget(remove);
connect(remove, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeSelected())); connect(remove, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeSelected()));
remove->setEnabled(false); remove->setEnabled(false);
clear = new KPushButton(KStdGuiItem::clear(), this); clear = new KPushButton(KStdGuiItem::clear(), this);
rightvtqlayout->addWidget(clear); rightvlayout->addWidget(clear);
connect(clear, TQT_SIGNAL(clicked()), this, TQT_SLOT(clearSelected())); connect(clear, TQT_SIGNAL(clicked()), this, TQT_SLOT(clearSelected()));
clear->setEnabled(false); clear->setEnabled(false);

@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout81</cstring> <cstring>layout81</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -52,7 +52,7 @@ Please Choose Section of Revision</string>
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout80</cstring> <cstring>layout80</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -178,7 +178,7 @@ verb and noun tables</string>
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout79</cstring> <cstring>layout79</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -51,7 +51,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout39</cstring> <cstring>layout39</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -69,7 +69,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout40</cstring> <cstring>layout40</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -280,7 +280,7 @@ Line 4</string>
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout37</cstring> <cstring>layout37</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -326,7 +326,7 @@ Line 4</string>
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout21</cstring> <cstring>layout21</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -92,7 +92,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout83</cstring> <cstring>layout83</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -164,7 +164,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout70</cstring> <cstring>layout70</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -32,7 +32,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24</cstring> <cstring>layout24</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -40,7 +40,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -96,7 +96,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -115,7 +115,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -47,7 +47,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout29</cstring> <cstring>layout29</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -119,7 +119,7 @@ tested on</string>
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -324,7 +324,7 @@ Line 4</string>
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -367,7 +367,7 @@ Line 4</string>
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout29</cstring> <cstring>layout29</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -45,7 +45,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout52</cstring> <cstring>layout52</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -245,7 +245,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout53</cstring> <cstring>layout53</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -289,7 +289,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout64</cstring> <cstring>layout64</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -333,7 +333,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout18</cstring> <cstring>layout18</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -489,7 +489,7 @@ void KLettres::slotPasteChar()
TQString KLettres::charIcon(const TQChar & c) TQString KLettres::charIcon(const TQChar & c)
{ {
///Create a name and path for the icon ///Create a name and path for the icon
TQString s = locateLocal("icon", "char" + TQString::number(c.tqunicode()) + ".png"); TQString s = locateLocal("icon", "char" + TQString::number(c.unicode()) + ".png");
TQRect r(4, 4, 120, 120); TQRect r(4, 4, 120, 120);

@ -33,7 +33,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -37,16 +37,16 @@ KPrinterDlg::KPrinterDlg( TQWidget *parent, const char *name )
: KPrintDialogPage( parent, name ) : KPrintDialogPage( parent, name )
{ {
setTitle( i18n( "KmPlot Options" ) ); setTitle( i18n( "KmPlot Options" ) );
TQVBoxLayout *tqlayout = new TQVBoxLayout( this ); TQVBoxLayout *layout = new TQVBoxLayout( this );
tqlayout->setMargin( KDialog::marginHint() ); layout->setMargin( KDialog::marginHint() );
tqlayout->setSpacing( KDialog::spacingHint() ); layout->setSpacing( KDialog::spacingHint() );
printHeaderTable = new TQCheckBox( i18n( "Print header table" ), this ); printHeaderTable = new TQCheckBox( i18n( "Print header table" ), this );
transparent_background = new TQCheckBox( i18n( "Transparent background" ), this ); transparent_background = new TQCheckBox( i18n( "Transparent background" ), this );
tqlayout->addWidget( printHeaderTable ); layout->addWidget( printHeaderTable );
tqlayout->addWidget( transparent_background ); layout->addWidget( transparent_background );
tqlayout->addStretch( 1 ); layout->addStretch( 1 );
} }
void KPrinterDlg::getOptions( TQMap<TQString, TQString>& opts, bool include_def ) void KPrinterDlg::getOptions( TQMap<TQString, TQString>& opts, bool include_def )

@ -40,7 +40,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -93,7 +93,7 @@ The name of a function must be unique. If you leave this line empty KmPlot will
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0"> <widget class="TQLayoutWidget" row="2" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -156,7 +156,7 @@ Example: sin(t)</string>
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -33,7 +33,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -123,7 +123,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout19</cstring> <cstring>layout19</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -131,7 +131,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16</cstring> <cstring>layout16</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -283,7 +283,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -33,7 +33,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout23</cstring> <cstring>layout23</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -131,7 +131,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout20</cstring> <cstring>layout20</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -277,7 +277,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout20_2</cstring> <cstring>layout20_2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -335,7 +335,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24</cstring> <cstring>layout24</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -375,7 +375,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout25</cstring> <cstring>layout25</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -415,7 +415,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout26</cstring> <cstring>layout26</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -458,7 +458,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout22</cstring> <cstring>layout22</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -626,7 +626,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24</cstring> <cstring>layout24</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -212,7 +212,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout35</cstring> <cstring>layout35</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -259,7 +259,7 @@ Added Milky Way countour.
Added spectral type of stars to popup menu. Added spectral type of stars to popup menu.
Automated object tracking when an object is centered. Automated object tracking when an object is centered.
Display name and coordinates of centered object in the infoPanel. Display name and coordinates of centered object in the infoPanel.
Fixed "extra tqlayout" error messages. Fixed "extra layout" error messages.
Improved efficiency of KSPlanet::findPosition(). Improved efficiency of KSPlanet::findPosition().
Initial startup parameters make more sense. Initial startup parameters make more sense.
If focus point is below horizon when KStars restarts, a warning message If focus point is below horizon when KStars restarts, a warning message

@ -75,7 +75,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -109,7 +109,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -145,7 +145,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout27</cstring> <cstring>layout27</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -177,7 +177,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="2"> <widget class="TQLayoutWidget" row="0" column="2">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -218,7 +218,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="2"> <widget class="TQLayoutWidget" row="1" column="2">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -258,7 +258,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -47,7 +47,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -97,7 +97,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -133,7 +133,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout19</cstring> <cstring>layout19</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -141,7 +141,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -237,7 +237,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout18</cstring> <cstring>layout18</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -317,7 +317,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -325,7 +325,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -374,7 +374,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -168,8 +168,8 @@ void CCDPreviewWG::setCtrl(int wd, int ht,int po, int bpp,unsigned long mgd)
for (i=0;i<streamFrame->totalBaseCount;i++) { for (i=0;i<streamFrame->totalBaseCount;i++) {
streamFrame->streamBuffer[i]=0; streamFrame->streamBuffer[i]=0;
} }
resize(wd + tqlayout()->margin() * 2 , ht + playB->height() + brightnessLabel->height() resize(wd + layout()->margin() * 2 , ht + playB->height() + brightnessLabel->height()
+ contrastLabel->height() + gammaLabel->height() + focalEdit->height() + FWHMLabel->height() + tqlayout()->margin() * 2 + tqlayout()->spacing()*6); + contrastLabel->height() + gammaLabel->height() + focalEdit->height() + FWHMLabel->height() + layout()->margin() * 2 + layout()->spacing()*6);
streamFrame->resize(wd, ht); streamFrame->resize(wd, ht);
} }

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout67</cstring> <cstring>layout67</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -76,7 +76,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout20</cstring> <cstring>layout20</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -84,7 +84,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -92,7 +92,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout60_2</cstring> <cstring>layout60_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -208,7 +208,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout19</cstring> <cstring>layout19</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -248,7 +248,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout22</cstring> <cstring>layout22</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -256,7 +256,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout21</cstring> <cstring>layout21</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -458,7 +458,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout36_2</cstring> <cstring>layout36_2</cstring>
</property> </property>
<property name="paletteForegroundColor"> <property name="paletteForegroundColor">
<color> <color>
@ -490,7 +490,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout35_2</cstring> <cstring>layout35_2</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout79</cstring> <cstring>layout79</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -75,7 +75,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout80</cstring> <cstring>layout80</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -115,7 +115,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout91</cstring> <cstring>layout91</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout56</cstring> <cstring>layout56</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -70,7 +70,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout54</cstring> <cstring>layout54</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -78,7 +78,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout50</cstring> <cstring>layout50</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -203,7 +203,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout50_2</cstring> <cstring>layout50_2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -330,7 +330,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout55</cstring> <cstring>layout55</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -338,7 +338,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout53</cstring> <cstring>layout53</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -414,7 +414,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout52</cstring> <cstring>layout52</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -496,7 +496,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout76</cstring> <cstring>layout76</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -545,7 +545,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout142</cstring> <cstring>layout142</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -553,7 +553,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout141</cstring> <cstring>layout141</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -727,7 +727,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout140</cstring> <cstring>layout140</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -178,7 +178,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -278,7 +278,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5_2</cstring> <cstring>layout5_2</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -380,7 +380,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -73,7 +73,7 @@ FindDialog::FindDialog( TQWidget* parent ) :
SearchList->setVScrollBarMode( TQListBox::AlwaysOn ); SearchList->setVScrollBarMode( TQListBox::AlwaysOn );
SearchList->setHScrollBarMode( TQListBox::AlwaysOff ); SearchList->setHScrollBarMode( TQListBox::AlwaysOff );
//Pack Widgets into tqlayout manager //Pack Widgets into layout manager
hlay->addWidget( filterTypeLabel, 0, 0 ); hlay->addWidget( filterTypeLabel, 0, 0 );
hlay->addWidget( filterType, 0, 0 ); hlay->addWidget( filterType, 0, 0 );

@ -38,7 +38,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -44,7 +44,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -101,7 +101,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -224,7 +224,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -79,7 +79,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -189,7 +189,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -199,7 +199,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -257,7 +257,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -367,7 +367,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14_2</cstring> <cstring>layout14_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -425,7 +425,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7_2</cstring> <cstring>layout7_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -535,7 +535,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -38,7 +38,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout25</cstring> <cstring>layout25</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -46,7 +46,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24</cstring> <cstring>layout24</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -152,7 +152,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0"> <widget class="TQLayoutWidget" row="2" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -221,7 +221,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -240,7 +240,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout30</cstring> <cstring>layout30</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -248,7 +248,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout29</cstring> <cstring>layout29</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -328,7 +328,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout28</cstring> <cstring>layout28</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -404,7 +404,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="2" colspan="1"> <widget class="TQLayoutWidget" row="0" column="0" rowspan="2" colspan="1">
<property name="name"> <property name="name">
<cstring>tqlayout29_2</cstring> <cstring>layout29_2</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -43,7 +43,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -302,7 +302,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -328,7 +328,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -605,7 +605,7 @@ INDI_P * INDI_D::addProperty (XMLEle *root, char errmsg[])
return NULL; return NULL;
} }
/* RemoveQt::Vertical spacer from group tqlayout, this is done everytime /* RemoveQt::Vertical spacer from group layout, this is done everytime
* a new property arrives. The spacer is then appended to the end of the * a new property arrives. The spacer is then appended to the end of the
* properties */ * properties */
pg->propertyLayout->removeItem(pg->VerticalSpacer); pg->propertyLayout->removeItem(pg->VerticalSpacer);
@ -775,7 +775,7 @@ int INDI_D::buildTextGUI(XMLEle *root, char errmsg[])
if (pp == NULL) if (pp == NULL)
return (-1); return (-1);
/* get the permission, it will determine tqlayout issues */ /* get the permission, it will determine layout issues */
if (findPerm (pp, root, &p, errmsg)) if (findPerm (pp, root, &p, errmsg))
{ {
delete(pp); delete(pp);
@ -811,7 +811,7 @@ int INDI_D::buildNumberGUI (XMLEle *root, char *errmsg)
if (pp == NULL) if (pp == NULL)
return (-1); return (-1);
/* get the permission, it will determine tqlayout issues */ /* get the permission, it will determine layout issues */
if (findPerm (pp, root, &p, errmsg)) if (findPerm (pp, root, &p, errmsg))
{ {
delete(pp); delete(pp);
@ -879,7 +879,7 @@ int INDI_D::buildSwitchesGUI (XMLEle *root, char errmsg[])
return (err); return (err);
} }
/* otherwise, build 1-4 button tqlayout */ /* otherwise, build 1-4 button layout */
pp->guitype = PG_BUTTONS; pp->guitype = PG_BUTTONS;
err = pp->buildSwitchesGUI(root, errmsg); err = pp->buildSwitchesGUI(root, errmsg);
@ -896,7 +896,7 @@ int INDI_D::buildSwitchesGUI (XMLEle *root, char errmsg[])
} }
else if (!strcmp (valuXMLAtt(ap), "AnyOfMany")) else if (!strcmp (valuXMLAtt(ap), "AnyOfMany"))
{ {
/* 1-4 checkboxes tqlayout */ /* 1-4 checkboxes layout */
pp->guitype = PG_RADIO; pp->guitype = PG_RADIO;
err = pp->buildSwitchesGUI(root, errmsg); err = pp->buildSwitchesGUI(root, errmsg);
@ -955,7 +955,7 @@ int INDI_D::buildBLOBGUI (XMLEle *root, char errmsg[])
if (!pp) if (!pp)
return (-1); return (-1);
/* get the permission, it will determine tqlayout issues */ /* get the permission, it will determine layout issues */
if (findPerm (pp, root, &p, errmsg)) if (findPerm (pp, root, &p, errmsg))
{ {
delete(pp); delete(pp);

@ -21,7 +21,7 @@
#define INDIVERSION 1.5 /* we support this or less */ #define INDIVERSION 1.5 /* we support this or less */
/* GUI tqlayout */ /* GUI layout */
#define PROPERTY_LABEL_WIDTH 80 #define PROPERTY_LABEL_WIDTH 80
#define ELEMENT_LABEL_WIDTH 175 #define ELEMENT_LABEL_WIDTH 175
#define ELEMENT_READ_WIDTH 175 #define ELEMENT_READ_WIDTH 175
@ -98,7 +98,7 @@ class INDI_E : public TQObject
PState state; /* control on/off t/f etc */ PState state; /* control on/off t/f etc */
INDI_P *pp; /* parent property */ INDI_P *pp; /* parent property */
TQHBoxLayout *EHBox; /*Qt::Horizontal tqlayout */ TQHBoxLayout *EHBox; /*Qt::Horizontal layout */
/* GUI widgets, only malloced when needed */ /* GUI widgets, only malloced when needed */
KSqueezedTextLabel *label_w; // label KSqueezedTextLabel *label_w; // label

@ -34,7 +34,7 @@ class INDI_G
TQString name; /* Group name */ TQString name; /* Group name */
INDI_D *dp; /* Parent device */ INDI_D *dp; /* Parent device */
TQFrame *propertyContainer; /* Properties container */ TQFrame *propertyContainer; /* Properties container */
TQVBoxLayout *propertyLayout; /* Properties tqlayout */ TQVBoxLayout *propertyLayout; /* Properties layout */
TQSpacerItem *VerticalSpacer; /*Qt::Vertical spacer */ TQSpacerItem *VerticalSpacer; /*Qt::Vertical spacer */
TQPtrList<INDI_P> pl; /* malloced list of pointers to properties */ TQPtrList<INDI_P> pl; /* malloced list of pointers to properties */

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -29,7 +29,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -63,7 +63,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -450,7 +450,7 @@ void INDI_P::addGUI (XMLEle *root)
light->show(); light->show();
label_w->show(); label_w->show();
/* #3 Add theQt::Vertical tqlayout thay may contain several elements */ /* #3 Add theQt::Vertical layout thay may contain several elements */
PHBox->addLayout(PVBox); PHBox->addLayout(PVBox);
} }

@ -467,7 +467,7 @@ void KStars::privatedata::buildGUI() {
ks->initStatusBar(); ks->initStatusBar();
ks->initActions(); ks->initActions();
// create the tqlayout of the central widget // create the layout of the central widget
ks->topLayout = new TQVBoxLayout( ks->centralWidget ); ks->topLayout = new TQVBoxLayout( ks->centralWidget );
ks->topLayout->addWidget( ks->skymap ); ks->topLayout->addWidget( ks->skymap );

@ -47,7 +47,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -63,7 +63,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -157,7 +157,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -173,7 +173,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16</cstring> <cstring>layout16</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -181,7 +181,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout15</cstring> <cstring>layout15</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -206,7 +206,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -248,7 +248,7 @@ country.&lt;/p&gt;
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -323,7 +323,7 @@ country.&lt;/p&gt;
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -440,7 +440,7 @@ country.&lt;/p&gt;
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout18</cstring> <cstring>layout18</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -456,7 +456,7 @@ country.&lt;/p&gt;
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -481,7 +481,7 @@ country.&lt;/p&gt;
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16</cstring> <cstring>layout16</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -544,7 +544,7 @@ You can always set up devices later using the &lt;b&gt;Devices&lt;/b&gt; menu.</
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout15</cstring> <cstring>layout15</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -661,7 +661,7 @@ and other astronomical devices such as CCD cameras and focusers.</string>
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout19</cstring> <cstring>layout19</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -677,7 +677,7 @@ and other astronomical devices such as CCD cameras and focusers.</string>
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout18</cstring> <cstring>layout18</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -702,7 +702,7 @@ and other astronomical devices such as CCD cameras and focusers.</string>
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -744,7 +744,7 @@ button to proceed. &lt;/p&gt;
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -52,18 +52,18 @@ LocationDialog::LocationDialog( TQWidget* parent )
CityLay = new TQVBoxLayout( CityBox, 6, 4 ); //root mgr for CityBox CityLay = new TQVBoxLayout( CityBox, 6, 4 ); //root mgr for CityBox
CityLay->setSpacing( 6 ); CityLay->setSpacing( 6 );
CityLay->setMargin( 6 ); CityLay->setMargin( 6 );
hlay = new TQHBoxLayout( 2 ); //this tqlayout will be added to CityLay hlay = new TQHBoxLayout( 2 ); //this layout will be added to CityLay
vlay = new TQVBoxLayout( 2 ); //this tqlayout will be added to hlay vlay = new TQVBoxLayout( 2 ); //this layout will be added to hlay
glay = new TQGridLayout( 3, 2, 6 ); //this tqlayout will be added to vlay glay = new TQGridLayout( 3, 2, 6 ); //this layout will be added to vlay
CoordLay = new TQVBoxLayout( CoordBox, 6, 4 ); //root mgr for coordbox CoordLay = new TQVBoxLayout( CoordBox, 6, 4 ); //root mgr for coordbox
CoordLay->setSpacing( 6 ); CoordLay->setSpacing( 6 );
CoordLay->setMargin( 6 ); CoordLay->setMargin( 6 );
glay2 = new TQGridLayout( 3, 4, 4 ); //this tqlayout will be added to CoordLay glay2 = new TQGridLayout( 3, 4, 4 ); //this layout will be added to CoordLay
hlayCoord = new TQHBoxLayout( 2 ); //this tqlayout will be added to glay2 hlayCoord = new TQHBoxLayout( 2 ); //this layout will be added to glay2
hlayTZ = new TQHBoxLayout( 2 ); //this tqlayout will be added to glay2 hlayTZ = new TQHBoxLayout( 2 ); //this layout will be added to glay2
hlayButtons = new TQHBoxLayout( 2 ); //this tqlayout will be added to glay2 hlayButtons = new TQHBoxLayout( 2 ); //this layout will be added to glay2
hlay3 = new TQHBoxLayout( 2 ); //this tqlayout will be added to CoordLay hlay3 = new TQHBoxLayout( 2 ); //this layout will be added to CoordLay
//Create widgets //Create widgets
CityFiltLabel = new TQLabel( CityBox ); CityFiltLabel = new TQLabel( CityBox );

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -74,7 +74,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16</cstring> <cstring>layout16</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -82,7 +82,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -116,7 +116,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout15</cstring> <cstring>layout15</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -124,7 +124,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -160,7 +160,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -196,7 +196,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -253,7 +253,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -376,7 +376,7 @@ The computed FOV angle (in arcminutes) will be displayed in the "Field of view"
</spacer> </spacer>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout26</cstring> <cstring>layout26</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -384,7 +384,7 @@ The computed FOV angle (in arcminutes) will be displayed in the "Field of view"
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout25</cstring> <cstring>layout25</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -410,7 +410,7 @@ The computed FOV angle (in arcminutes) will be displayed in the "Field of view"
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24</cstring> <cstring>layout24</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -418,7 +418,7 @@ The computed FOV angle (in arcminutes) will be displayed in the "Field of view"
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout15</cstring> <cstring>layout15</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -460,7 +460,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16</cstring> <cstring>layout16</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -513,7 +513,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout26_3</cstring> <cstring>layout26_3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -521,7 +521,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout25_3</cstring> <cstring>layout25_3</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -547,7 +547,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24_3</cstring> <cstring>layout24_3</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -555,7 +555,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout15_4</cstring> <cstring>layout15_4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -597,7 +597,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16_4</cstring> <cstring>layout16_4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -654,7 +654,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout36</cstring> <cstring>layout36</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -703,7 +703,7 @@ The computed HPBW angle (in arcminutes) will be displayed in the "Field of view"
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -751,7 +751,7 @@ You can either enter a value directly, or use the "Eyepiece" or "Camera" Tabs to
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -759,7 +759,7 @@ You can either enter a value directly, or use the "Eyepiece" or "Camera" Tabs to
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -767,7 +767,7 @@ You can either enter a value directly, or use the "Eyepiece" or "Camera" Tabs to
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -854,7 +854,7 @@ Circle, Square, Crosshairs, Bullseye.</string>
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -140,7 +140,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout16</cstring> <cstring>layout16</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -200,7 +200,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout20</cstring> <cstring>layout20</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -269,7 +269,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -52,7 +52,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -177,7 +177,7 @@ Magnitude is a measure of brightness; the larger the number, the fainter the obj
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -234,7 +234,7 @@ Magnitude is a measure of brightness; the larger the number, the fainter the obj
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -275,7 +275,7 @@ Magnitude is a measure of brightness; the larger the number, the fainter the obj
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -329,7 +329,7 @@ Magnitude is a measure of brightness; the larger the number, the fainter the obj
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout15</cstring> <cstring>layout15</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -362,7 +362,7 @@ Magnitude is a measure of brightness; the larger the number, the fainter the obj
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -436,7 +436,7 @@ Magnitude is a measure of brightness; the larger the number, the fainter the obj
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8_2</cstring> <cstring>layout8_2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -43,7 +43,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -81,7 +81,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -113,7 +113,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -169,7 +169,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -32,7 +32,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout20</cstring> <cstring>layout20</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -462,7 +462,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -112,7 +112,7 @@ TQString StarObject::greekLetter( bool gchar ) const {
if ( code == "omi" ) gchar ? letter = TQString( TQChar(alpha +14) ) : letter = i18n("omicron"); if ( code == "omi" ) gchar ? letter = TQString( TQChar(alpha +14) ) : letter = i18n("omicron");
if ( code == "pi " ) gchar ? letter = TQString( TQChar(alpha +15) ) : letter = i18n("pi"); if ( code == "pi " ) gchar ? letter = TQString( TQChar(alpha +15) ) : letter = i18n("pi");
if ( code == "rho" ) gchar ? letter = TQString( TQChar(alpha +16) ) : letter = i18n("rho"); if ( code == "rho" ) gchar ? letter = TQString( TQChar(alpha +16) ) : letter = i18n("rho");
//there are two tqunicode symbols for sigma; //there are two unicode symbols for sigma;
//skip the first one, the second is more widely used //skip the first one, the second is more widely used
if ( code == "sig" ) gchar ? letter = TQString( TQChar(alpha +18) ) : letter = i18n("sigma"); if ( code == "sig" ) gchar ? letter = TQString( TQChar(alpha +18) ) : letter = i18n("sigma");
if ( code == "tau" ) gchar ? letter = TQString( TQChar(alpha +19) ) : letter = i18n("tau"); if ( code == "tau" ) gchar ? letter = TQString( TQChar(alpha +19) ) : letter = i18n("tau");

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -138,7 +138,7 @@ void StreamWG::setSize(int wd, int ht)
streamFrame->totalBaseCount = wd * ht; streamFrame->totalBaseCount = wd * ht;
resize(wd + tqlayout()->margin() * 2 , ht + playB->height() + tqlayout()->margin() * 2 + tqlayout()->spacing()); resize(wd + layout()->margin() * 2 , ht + playB->height() + layout()->margin() * 2 + layout()->spacing());
streamFrame->resize(wd, ht); streamFrame->resize(wd, ht);
} }

@ -32,7 +32,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="3"> <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="3">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -110,7 +110,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="1"> <widget class="TQLayoutWidget" row="1" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -160,7 +160,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="2"> <widget class="TQLayoutWidget" row="1" column="2">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -186,7 +186,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -209,7 +209,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -44,7 +44,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="1" column="1"> <widget class="TQLayoutWidget" row="1" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -190,7 +190,7 @@ Please select your telescope model from the list below. Click next after selecti
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -329,7 +329,7 @@ Verify if the following time, date, and location settings are correct. If any of
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -337,7 +337,7 @@ Verify if the following time, date, and location settings are correct. If any of
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -345,7 +345,7 @@ Verify if the following time, date, and location settings are correct. If any of
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -353,7 +353,7 @@ Verify if the following time, date, and location settings are correct. If any of
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -384,7 +384,7 @@ Verify if the following time, date, and location settings are correct. If any of
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -417,7 +417,7 @@ Verify if the following time, date, and location settings are correct. If any of
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -450,7 +450,7 @@ Verify if the following time, date, and location settings are correct. If any of
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -547,7 +547,7 @@ Enter the port number your telescope is connected to. If you only have one seria
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -24,7 +24,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -32,7 +32,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -110,7 +110,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -118,7 +118,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -143,7 +143,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -211,7 +211,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -236,7 +236,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -36,7 +36,7 @@ TimeDialog::TimeDialog( const KStarsDateTime &now, TQWidget* parent )
TQFrame *page = plainPage(); TQFrame *page = plainPage();
vlay = new TQVBoxLayout( page, 2, 2 ); vlay = new TQVBoxLayout( page, 2, 2 );
hlay = new TQHBoxLayout( 2 ); //this tqlayout will be added to the VLayout hlay = new TQHBoxLayout( 2 ); //this layout will be added to the VLayout
dPicker = new ExtDatePicker( page ); dPicker = new ExtDatePicker( page );
dPicker->setDate( now.date() ); dPicker->setDate( now.date() );

@ -44,7 +44,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout30</cstring> <cstring>layout30</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -175,7 +175,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -285,7 +285,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout57</cstring> <cstring>layout57</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -331,7 +331,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout25</cstring> <cstring>layout25</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -430,7 +430,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout26</cstring> <cstring>layout26</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -47,7 +47,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -72,7 +72,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout50</cstring> <cstring>layout50</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -29,7 +29,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout47</cstring> <cstring>layout47</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -55,7 +55,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout48</cstring> <cstring>layout48</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout64</cstring> <cstring>layout64</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout63</cstring> <cstring>layout63</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -52,7 +52,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout62</cstring> <cstring>layout62</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -42,7 +42,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="1"> <widget class="TQLayoutWidget" row="1" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout64</cstring> <cstring>layout64</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -29,7 +29,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout63</cstring> <cstring>layout63</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -55,7 +55,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout62</cstring> <cstring>layout62</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout64</cstring> <cstring>layout64</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout63</cstring> <cstring>layout63</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -52,7 +52,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout62</cstring> <cstring>layout62</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout55</cstring> <cstring>layout55</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout47</cstring> <cstring>layout47</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -52,7 +52,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout54</cstring> <cstring>layout54</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout36</cstring> <cstring>layout36</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout35</cstring> <cstring>layout35</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -34,7 +34,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout34</cstring> <cstring>layout34</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -101,7 +101,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout33</cstring> <cstring>layout33</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout34</cstring> <cstring>layout34</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout32</cstring> <cstring>layout32</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -60,7 +60,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout33</cstring> <cstring>layout33</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -23,7 +23,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout43</cstring> <cstring>layout43</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout23</cstring> <cstring>layout23</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout55</cstring> <cstring>layout55</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout47</cstring> <cstring>layout47</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -52,7 +52,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout54</cstring> <cstring>layout54</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout34</cstring> <cstring>layout34</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout32</cstring> <cstring>layout32</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -60,7 +60,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout33</cstring> <cstring>layout33</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout44</cstring> <cstring>layout44</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout40</cstring> <cstring>layout40</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -52,7 +52,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout41</cstring> <cstring>layout41</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -72,7 +72,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout42</cstring> <cstring>layout42</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24</cstring> <cstring>layout24</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout88</cstring> <cstring>layout88</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout86</cstring> <cstring>layout86</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -52,7 +52,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout87</cstring> <cstring>layout87</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout64</cstring> <cstring>layout64</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout63</cstring> <cstring>layout63</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -52,7 +52,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout62</cstring> <cstring>layout62</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout55</cstring> <cstring>layout55</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout47</cstring> <cstring>layout47</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -52,7 +52,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout54</cstring> <cstring>layout54</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -26,7 +26,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout18</cstring> <cstring>layout18</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -18,7 +18,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -69,9 +69,9 @@ void LCGenerator::createGUI()
StarInfoBox = new TQGroupBox( page, "StarInfoBox" ); StarInfoBox = new TQGroupBox( page, "StarInfoBox" );
StarInfoBox->setColumnLayout(0, Qt::Vertical ); StarInfoBox->setColumnLayout(0, Qt::Vertical );
StarInfoBox->tqlayout()->setSpacing( 6 ); StarInfoBox->layout()->setSpacing( 6 );
StarInfoBox->tqlayout()->setMargin( 11 ); StarInfoBox->layout()->setMargin( 11 );
StarInfoBoxLayout = new TQVBoxLayout( StarInfoBox->tqlayout() ); StarInfoBoxLayout = new TQVBoxLayout( StarInfoBox->layout() );
StarInfoBoxLayout->setAlignment( TQt::AlignTop ); StarInfoBoxLayout->setAlignment( TQt::AlignTop );
DesignHLayout = new TQHBoxLayout( 0, 0, 6, "DesignHLayout"); DesignHLayout = new TQHBoxLayout( 0, 0, 6, "DesignHLayout");
@ -125,9 +125,9 @@ void LCGenerator::createGUI()
DataSelectBox = new TQGroupBox( page, "DataSelectBox" ); DataSelectBox = new TQGroupBox( page, "DataSelectBox" );
DataSelectBox->setColumnLayout(0, Qt::Vertical ); DataSelectBox->setColumnLayout(0, Qt::Vertical );
DataSelectBox->tqlayout()->setSpacing( 6 ); DataSelectBox->layout()->setSpacing( 6 );
DataSelectBox->tqlayout()->setMargin( 11 ); DataSelectBox->layout()->setMargin( 11 );
DataSelectBoxLayout = new TQVBoxLayout( DataSelectBox->tqlayout() ); DataSelectBoxLayout = new TQVBoxLayout( DataSelectBox->layout() );
DataSelectBoxLayout->setAlignment( TQt::AlignTop ); DataSelectBoxLayout->setAlignment( TQt::AlignTop );
VisualCheck = new TQCheckBox( DataSelectBox, "VisualCheck" ); VisualCheck = new TQCheckBox( DataSelectBox, "VisualCheck" );

@ -36,7 +36,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -160,7 +160,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -525,7 +525,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -39,7 +39,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -192,7 +192,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -297,7 +297,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -625,7 +625,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -50,7 +50,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout20</cstring> <cstring>layout20</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -114,7 +114,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -258,7 +258,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout21</cstring> <cstring>layout21</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -801,7 +801,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -38,7 +38,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout37</cstring> <cstring>layout37</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -158,7 +158,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -246,7 +246,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -393,7 +393,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout20</cstring> <cstring>layout20</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -125,7 +125,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -202,7 +202,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -338,7 +338,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -726,7 +726,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout22_3</cstring> <cstring>layout22_3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -144,7 +144,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -430,7 +430,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout22</cstring> <cstring>layout22</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -125,7 +125,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -202,7 +202,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout22</cstring> <cstring>layout22</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -338,7 +338,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -709,7 +709,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout22_3</cstring> <cstring>layout22_3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -39,7 +39,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout31</cstring> <cstring>layout31</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -58,7 +58,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -112,7 +112,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -189,7 +189,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout32</cstring> <cstring>layout32</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -584,7 +584,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout22</cstring> <cstring>layout22</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -40,7 +40,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -100,7 +100,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout37</cstring> <cstring>layout37</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -284,7 +284,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -47,7 +47,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -159,7 +159,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -167,7 +167,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout20</cstring> <cstring>layout20</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -243,7 +243,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -318,7 +318,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -337,7 +337,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -415,7 +415,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -495,7 +495,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -590,7 +590,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -687,7 +687,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -1143,7 +1143,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14_2</cstring> <cstring>layout14_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -64,7 +64,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout25</cstring> <cstring>layout25</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -151,7 +151,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -273,7 +273,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout26</cstring> <cstring>layout26</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -551,7 +551,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14_2</cstring> <cstring>layout14_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -39,7 +39,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout47</cstring> <cstring>layout47</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -141,7 +141,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -218,7 +218,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout47</cstring> <cstring>layout47</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -406,7 +406,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout30</cstring> <cstring>layout30</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -483,7 +483,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout32</cstring> <cstring>layout32</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -647,7 +647,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout22_3</cstring> <cstring>layout22_3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -47,7 +47,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -145,7 +145,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -223,7 +223,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -354,7 +354,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout15</cstring> <cstring>layout15</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -937,7 +937,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout68</cstring> <cstring>layout68</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -218,7 +218,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout79</cstring> <cstring>layout79</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -29,7 +29,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout55</cstring> <cstring>layout55</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -117,7 +117,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -164,7 +164,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -225,7 +225,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -342,7 +342,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout48</cstring> <cstring>layout48</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -529,7 +529,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -659,7 +659,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -697,7 +697,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -736,7 +736,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5_2</cstring> <cstring>layout5_2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -829,7 +829,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout36</cstring> <cstring>layout36</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -62,7 +62,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -26,7 +26,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -240,7 +240,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -267,7 +267,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -554,7 +554,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0"> <widget class="TQLayoutWidget" row="2" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout11</cstring> <cstring>layout11</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -562,7 +562,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -24,7 +24,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -75,7 +75,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout25</cstring> <cstring>layout25</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -29,7 +29,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24</cstring> <cstring>layout24</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -37,7 +37,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout23</cstring> <cstring>layout23</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -125,7 +125,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -162,7 +162,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -361,7 +361,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -81,7 +81,7 @@
* Bugfixes: sliding line typing limit, * Bugfixes: sliding line typing limit,
removed mid-level advance (due to popular request) removed mid-level advance (due to popular request)
reset session stats in every new level reset session stats in every new level
* Added: new keyboard tqlayout for switzerland-german keyboards * Added: new keyboard layout for switzerland-german keyboards
2004-11-02 Andreas Nicolai <andreas.nicolai@gmx.net> 2004-11-02 Andreas Nicolai <andreas.nicolai@gmx.net>
* Added: checks in the quick-select menues * Added: checks in the quick-select menues

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.
#################################################### ####################################################
@ -38,7 +38,7 @@ ControlKey 8 BackSpace 130 0 20 10
# #
# NormalKey: These keys are the keys that are visible on the keyboard. To # NormalKey: These keys are the keys that are visible on the keyboard. To
# get the character (unicod) you don't have to press anything else # get the character (unicod) you don't have to press anything else
# but the key. The FingerKey tqunicode number tells the program # but the key. The FingerKey unicode number tells the program
# which finger has to be moved to press this key. # which finger has to be moved to press this key.
# #
# Unicode KeyText x y FingerKey # Unicode KeyText x y FingerKey
@ -90,8 +90,8 @@ NormalKey 61 = 113 30 109
# #
# HiddenKey: These are actually not "hidden" keys as such, but the characters # HiddenKey: These are actually not "hidden" keys as such, but the characters
# that are obtained by pressing a key and a certain modifier key. # that are obtained by pressing a key and a certain modifier key.
# Define the character via its tqunicode and then also # Define the character via its unicode and then also
# the tqunicode for the base character on the key to be pressed. # the unicode for the base character on the key to be pressed.
# Also define the character/key of the finger that needs to # Also define the character/key of the finger that needs to
# press the key and the modifier key that needs to be highlighted. # press the key and the modifier key that needs to be highlighted.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for german keybord tqlayout # Keybord layout file for german keybord layout
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for german kaybord tqlayout # Keybord layout file for german kaybord layout
# Adaptiert für schweizedeutsche Tastatur 17.9.04 Hansueli Eggimann # Adaptiert für schweizedeutsche Tastatur 17.9.04 Hansueli Eggimann
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for Danish kaybord # Keybord layout file for Danish kaybord
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.
# #

@ -1,7 +1,7 @@
# -*- coding: utf-8; -*- # -*- coding: utf-8; -*-
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
#################################################### ####################################################
# #
# Matthieu MOY, December 7th 2004 # Matthieu MOY, December 7th 2004

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.
#################################################### ####################################################
@ -38,7 +38,7 @@ ControlKey 8 BackSpace 140 0 10 10
# #
# NormalKey: These keys are the keys that are visible on the keyboard. To # NormalKey: These keys are the keys that are visible on the keyboard. To
# get the character (unicod) you don't have to press anything else # get the character (unicod) you don't have to press anything else
# but the key. The FingerKey tqunicode number tells the program # but the key. The FingerKey unicode number tells the program
# which finger has to be moved to press this key. # which finger has to be moved to press this key.
# #
# Unicode KeyText x y FingerKey # Unicode KeyText x y FingerKey
@ -89,8 +89,8 @@ NormalKey 47 / 113 30 59
# #
# HiddenKey: These are actually not "hidden" keys as such, but the characters # HiddenKey: These are actually not "hidden" keys as such, but the characters
# that are obtained by pressing a key and a certain modifier key. # that are obtained by pressing a key and a certain modifier key.
# Define the character via its tqunicode and then also # Define the character via its unicode and then also
# the tqunicode for the base character on the key to be pressed. # the unicode for the base character on the key to be pressed.
# Also define the character/key of the finger that needs to # Also define the character/key of the finger that needs to
# press the key and the modifier key that needs to be highlighted. # press the key and the modifier key that needs to be highlighted.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for swiss french keybord tqlayout # Keybord layout file for swiss french keybord layout
#################################################### ####################################################
# #
# Assci KeyText x y # Assci KeyText x y

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for Hebrew # Keybord layout file for Hebrew
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Hungarian keybord tqlayout file # Hungarian keybord layout file
# Code=UTF-8 # Code=UTF-8
#################################################### ####################################################
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for Latin keyboard # Keybord layout file for Latin keyboard
#################################################### ####################################################
# #
# #

@ -1,11 +1,11 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for Norwegian keyboard # Keybord layout file for Norwegian keyboard
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Made by Axel Bojer by manipulating the danish file # Made by Axel Bojer by manipulating the danish file
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.
# The Unicode characters are found in an extensive list # The Unicode characters are found in an extensive list
# over html codes -- see http://www.fileformat.info/info/tqunicode/ # over html codes -- see http://www.fileformat.info/info/unicode/
# #
# Refer to file en.keyboard for details. # Refer to file en.keyboard for details.
#################################################### ####################################################

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for Norwegian kaybord # Keybord layout file for Norwegian kaybord
#################################################### ####################################################
# #
# Assci KeyText x y # Assci KeyText x y

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for Polish (utf-8) # Keybord layout file for Polish (utf-8)
# Mikolaj Machowski # Mikolaj Machowski
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for brazilian keyboard # Keybord layout file for brazilian keyboard
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for portuguese keyboard # Keybord layout file for portuguese keyboard
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for Russian # Keybord layout file for Russian
# Miha Ulanov (mulanov@mail.ru) # Miha Ulanov (mulanov@mail.ru)
# Code=UTF-8 # Code=UTF-8
#################################################### ####################################################

@ -1,6 +1,6 @@
#################################################### ####################################################
# #
# Russian basic keyboard tqlayout file for KTouch. # Russian basic keyboard layout file for KTouch.
# #
# Created by Alexander Pravdin <aledin@mail.ru>. # Created by Alexander Pravdin <aledin@mail.ru>.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# #
# Russian Windows keyboard tqlayout file for KTouch. # Russian Windows keyboard layout file for KTouch.
# #
# Created by Alexander Pravdin <aledin@mail.ru>. # Created by Alexander Pravdin <aledin@mail.ru>.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# #
# Russian typewriter keyboard tqlayout file for KTouch. # Russian typewriter keyboard layout file for KTouch.
# #
# Created by Alexander Pravdin <aledin@mail.ru>. # Created by Alexander Pravdin <aledin@mail.ru>.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# #
# Russian winkeys keyboard tqlayout file for KTouch. # Russian winkeys keyboard layout file for KTouch.
# #
# Created by Alexander Pravdin <aledin@mail.ru>. # Created by Alexander Pravdin <aledin@mail.ru>.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for slovenian keybord tqlayout # Keybord layout file for slovenian keybord layout
# Code=UTF-8 # Code=UTF-8
#################################################### ####################################################
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Swedish Dvorak Keybord tqlayout file # Swedish Dvorak Keybord layout file
#################################################### ####################################################
# #
# Ascii KeyText x y # Ascii KeyText x y

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file for swedish keybord tqlayout # Keybord layout file for swedish keybord layout
# Encoding: UTF-8 (save as UTF-8 from editor) # Encoding: UTF-8 (save as UTF-8 from editor)
# Edit this file with tabs set to 8 characters. # Edit this file with tabs set to 8 characters.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Turkish F Keybord tqlayout file # Turkish F Keybord layout file
#################################################### ####################################################
# This file distributed without any expressed or implied warranty # This file distributed without any expressed or implied warranty
# Written by Nilgün Belma Bugüner <nilgun at belgeler dot org>, 2005 # Written by Nilgün Belma Bugüner <nilgun at belgeler dot org>, 2005

@ -1,6 +1,6 @@
#################################################### ####################################################
# KTouch # KTouch
# Keybord tqlayout file # Keybord layout file
#################################################### ####################################################
# #
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# #
# Ukrainian basic keyboard tqlayout file for KTouch. # Ukrainian basic keyboard layout file for KTouch.
# #
# Created by Alexander Pravdin <aledin@mail.ru>. # Created by Alexander Pravdin <aledin@mail.ru>.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# #
# Ukrainian typewriter keyboard tqlayout file for KTouch. # Ukrainian typewriter keyboard layout file for KTouch.
# #
# Created by Alexander Pravdin <aledin@mail.ru>. # Created by Alexander Pravdin <aledin@mail.ru>.
# #

@ -1,6 +1,6 @@
#################################################### ####################################################
# #
# Ukrainian winkeys keyboard tqlayout file for KTouch. # Ukrainian winkeys keyboard layout file for KTouch.
# #
# Created by Alexander Pravdin <aledin@mail.ru>. # Created by Alexander Pravdin <aledin@mail.ru>.
# #

@ -179,10 +179,10 @@ void KTouch::keyPressEvent(TQKeyEvent *keyEvent) {
if (keyEvent->text().length() > 1) { if (keyEvent->text().length() > 1) {
kdDebug() << "[KTouch::keyPressEvent] text = '" << TQString(keyEvent->text()).ascii() << "'" << endl; kdDebug() << "[KTouch::keyPressEvent] text = '" << TQString(keyEvent->text()).ascii() << "'" << endl;
} }
TQChar key = keyEvent->text().at(0); // get first tqunicode character TQChar key = keyEvent->text().at(0); // get first unicode character
// HACK : manually filter out known dead keys // HACK : manually filter out known dead keys
// bool has_dead_key = true; // bool has_dead_key = true;
switch (key.tqunicode()) { switch (key.unicode()) {
case 94 : m_lastDeadKey = TQChar(uint(94)); break; case 94 : m_lastDeadKey = TQChar(uint(94)); break;
case 176 : m_lastDeadKey = TQChar(uint(176)); break; case 176 : m_lastDeadKey = TQChar(uint(176)); break;
case 180 : m_lastDeadKey = TQChar(uint(180)); break; case 180 : m_lastDeadKey = TQChar(uint(180)); break;
@ -468,9 +468,9 @@ void KTouch::changeStatusbarStats(unsigned int level_correct, unsigned int level
void KTouch::changeKeyboard(int num) { void KTouch::changeKeyboard(int num) {
if (static_cast<unsigned int>(num)>=m_keyboardFiles.count()) return; if (static_cast<unsigned int>(num)>=m_keyboardFiles.count()) return;
Prefs::setCurrentKeyboardFile( m_keyboardFiles[num] ); Prefs::setCurrentKeyboardFile( m_keyboardFiles[num] );
// kdDebug() << "[KTouch::changeKeyboard] new keyboard tqlayout = " << Prefs::currentKeyboardFile() << endl; // kdDebug() << "[KTouch::changeKeyboard] new keyboard layout = " << Prefs::currentKeyboardFile() << endl;
m_keyboardLayoutAction->setCurrentItem(num); m_keyboardLayoutAction->setCurrentItem(num);
// call Apply-Preferenzes in "noisy"-mode, pop up an error if the chosen tqlayout file is corrupt // call Apply-Preferenzes in "noisy"-mode, pop up an error if the chosen layout file is corrupt
m_keyboardWidget->applyPreferences(this, false); m_keyboardWidget->applyPreferences(this, false);
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@ -620,8 +620,8 @@ void KTouch::init() {
*/ */
} }
// if keyboard tqlayout (loaded by Prefs is not available (e.g. the // if keyboard layout (loaded by Prefs is not available (e.g. the
// tqlayout file has been deleted) switch to default keyboard // layout file has been deleted) switch to default keyboard
if (m_keyboardFiles.contains(Prefs::currentKeyboardFile() )==0) { if (m_keyboardFiles.contains(Prefs::currentKeyboardFile() )==0) {
TQString default_keyboard; TQString default_keyboard;
// determine locale // determine locale
@ -652,7 +652,7 @@ void KTouch::init() {
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Creates the tqlayout and GUI setup for a practice session // Creates the layout and GUI setup for a practice session
void KTouch::initTrainingSession() { void KTouch::initTrainingSession() {
//kdDebug() << "[KTouch::initTrainingSession] setting up layouts and widgets for new training session..." << endl; //kdDebug() << "[KTouch::initTrainingSession] setting up layouts and widgets for new training session..." << endl;
// Build the training area. The status widget has a fixed vertical size, the slide line and the // Build the training area. The status widget has a fixed vertical size, the slide line and the
@ -753,7 +753,7 @@ void KTouch::updateFileLists() {
// TODO : search in i18n() directories // TODO : search in i18n() directories
m_keyboardFiles = dirs->findAllResources("data","ktouch/*.keyboard"); m_keyboardFiles = dirs->findAllResources("data","ktouch/*.keyboard");
// remove the number tqlayout, since this is the necessary default tqlayout and will be // remove the number layout, since this is the necessary default layout and will be
// added anyway // added anyway
TQStringList::iterator it = m_keyboardFiles.find("number.keyboard"); TQStringList::iterator it = m_keyboardFiles.find("number.keyboard");
if (it!=m_keyboardFiles.end()) m_keyboardFiles.remove(it); if (it!=m_keyboardFiles.end()) m_keyboardFiles.remove(it);

@ -101,7 +101,7 @@ class KTouch : public KMainWindow {
void trainingStatistics(); ///< The action Training->Show training statistics... void trainingStatistics(); ///< The action Training->Show training statistics...
void optionsPreferences(); ///< The action Settings->Configure KTouch... void optionsPreferences(); ///< The action Settings->Configure KTouch...
/// Quick-changes the keyboard tqlayout (called from menu). /// Quick-changes the keyboard layout (called from menu).
void changeKeyboard(int num); void changeKeyboard(int num);
/// Quick-changes the colour scheme used on the keyboard (called from menu). /// Quick-changes the colour scheme used on the keyboard (called from menu).
void changeColor(int num); void changeColor(int num);
@ -111,7 +111,7 @@ class KTouch : public KMainWindow {
protected: protected:
/// Reimplementated to save preferences and /// Reimplementated to save preferences and
bool queryExit(); bool queryExit();
/// Some tqlayout fixes here... /// Some layout fixes here...
void resizeEvent(TQResizeEvent *); void resizeEvent(TQResizeEvent *);
/// Accepts a typed char. /// Accepts a typed char.
void keyPressEvent(TQKeyEvent *keyEvent); void keyPressEvent(TQKeyEvent *keyEvent);
@ -128,7 +128,7 @@ class KTouch : public KMainWindow {
/// Initialises the program during a normal startup /// Initialises the program during a normal startup
void init(); void init();
/// Creates the tqlayout and GUI setup for a practice session /// Creates the layout and GUI setup for a practice session
void initTrainingSession(); void initTrainingSession();
/// Creates the (standard) actions and entries in the menu. /// Creates the (standard) actions and entries in the menu.
void setupActions(); void setupActions();
@ -171,8 +171,8 @@ class KTouch : public KMainWindow {
TQStringList m_examinationFiles; ///< A list of all default examination files. TQStringList m_examinationFiles; ///< A list of all default examination files.
TQStringList m_examinationTitles; ///< A list of the titles of all default examination files. TQStringList m_examinationTitles; ///< A list of the titles of all default examination files.
TQStringList m_keyboardFiles; ///< A list of all default keyboard tqlayout files. TQStringList m_keyboardFiles; ///< A list of all default keyboard layout files.
TQStringList m_keyboardTitles; ///< A list of the titles of all default keyboard tqlayout files. TQStringList m_keyboardTitles; ///< A list of the titles of all default keyboard layout files.
KTouchStatisticsData m_stats; ///< All user statistics are kept here. KTouchStatisticsData m_stats; ///< All user statistics are kept here.

@ -129,7 +129,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout18</cstring> <cstring>layout18</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -179,7 +179,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -255,7 +255,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -367,7 +367,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout24</cstring> <cstring>layout24</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -426,7 +426,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="2" colspan="1"> <widget class="TQLayoutWidget" row="0" column="0" rowspan="2" colspan="1">
<property name="name"> <property name="name">
<cstring>tqlayout22</cstring> <cstring>layout22</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -525,7 +525,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="2"> <widget class="TQLayoutWidget" row="0" column="2">
<property name="name"> <property name="name">
<cstring>tqlayout20</cstring> <cstring>layout20</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -617,7 +617,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout28</cstring> <cstring>layout28</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@ extern const unsigned int BEGINNER_SPEED; ///< Speed for rating in characters p
extern const unsigned int ADVANCED_SPEED; ///< Speed for rating in characters per minute. extern const unsigned int ADVANCED_SPEED; ///< Speed for rating in characters per minute.
extern const unsigned int PROFESSIONAL_SPEED; ///< Speed for rating in characters per minute. extern const unsigned int PROFESSIONAL_SPEED; ///< Speed for rating in characters per minute.
extern const int KEYBOARD_MARGIN; ///< The margin around the keybaord tqlayout. extern const int KEYBOARD_MARGIN; ///< The margin around the keybaord layout.
extern const int LCD_UPDATE_INTERVAL; ///< Update interval for LCD display and statistics. extern const int LCD_UPDATE_INTERVAL; ///< Update interval for LCD display and statistics.

@ -34,7 +34,7 @@ void KTouchKeyboard::clear() {
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Loads a keyboard tqlayout (old format) from file (returns true if successful). // Loads a keyboard layout (old format) from file (returns true if successful).
bool KTouchKeyboard::load(TQWidget * window, const KURL& url) { bool KTouchKeyboard::load(TQWidget * window, const KURL& url) {
// Ok, first download the contents as usual using the KIO lib // Ok, first download the contents as usual using the KIO lib
// File is only downloaded if not local, otherwise it's just opened // File is only downloaded if not local, otherwise it's just opened
@ -176,14 +176,14 @@ bool KTouchKeyboard::read(TQTextStream& in) {
// Loads keyboard data from file into an XML document // Loads keyboard data from file into an XML document
bool KTouchKeyboard::read(const TQDomDocument& doc) { bool KTouchKeyboard::read(const TQDomDocument& doc) {
// clean current data // clean current data
kdDebug() << "Reading new keyboard tqlayout" << endl; kdDebug() << "Reading new keyboard layout" << endl;
m_keys.clear(); m_keys.clear();
m_connectors.clear(); m_connectors.clear();
m_title = TQString(); m_title = TQString();
// retrieve the title // retrieve the title
TQDomNodeList entries = doc.elementsByTagName("Title"); TQDomNodeList entries = doc.elementsByTagName("Title");
if (entries.count() >= 1) m_title = entries.item(0).firstChild().nodeValue(); if (entries.count() >= 1) m_title = entries.item(0).firstChild().nodeValue();
else m_title = i18n("untitled keyboard tqlayout"); else m_title = i18n("untitled keyboard layout");
kdDebug() << "Title: " << m_title << endl; kdDebug() << "Title: " << m_title << endl;
// retrieve the comment // retrieve the comment
entries = doc.elementsByTagName("Comment"); entries = doc.elementsByTagName("Comment");
@ -235,7 +235,7 @@ void KTouchKeyboard::write(TQDomDocument& doc) const {
// Store title and ensure that the file contains a title! // Store title and ensure that the file contains a title!
TQDomElement title = doc.createElement("Title"); TQDomElement title = doc.createElement("Title");
TQDomText titleText; TQDomText titleText;
if (m_title.isEmpty()) titleText = doc.createTextNode( i18n("untitled keyboard tqlayout") ); if (m_title.isEmpty()) titleText = doc.createTextNode( i18n("untitled keyboard layout") );
else titleText = doc.createTextNode(m_title); else titleText = doc.createTextNode(m_title);
title.appendChild(titleText); title.appendChild(titleText);
root.appendChild(title); root.appendChild(title);
@ -281,7 +281,7 @@ void KTouchKeyboard::createDefault() {
const int keyWidth = 20; const int keyWidth = 20;
const int col = keyWidth+keySpacing; const int col = keyWidth+keySpacing;
const int row = keyHeight+keySpacing; const int row = keyHeight+keySpacing;
// First let's create the visible tqlayout. // First let's create the visible layout.
// This means we have to create all keys that will be displayed. // This means we have to create all keys that will be displayed.
// Note: purely decorative keys get a key character code of 0! // Note: purely decorative keys get a key character code of 0!
m_keys.clear(); m_keys.clear();
@ -327,7 +327,7 @@ void KTouchKeyboard::createDefault() {
m_connectors.push_back( KTouchKeyConnector('.', '.', '6', 0) ); m_connectors.push_back( KTouchKeyConnector('.', '.', '6', 0) );
m_title = "Number keypad"; m_title = "Number keypad";
m_comment = "Predefined keyboard tqlayout"; m_comment = "Predefined keyboard layout";
m_language = TQString(); m_language = TQString();
// language does not apply to numbers... that's one of the nice things with math :-) // language does not apply to numbers... that's one of the nice things with math :-)
m_fontSuggestions = "Monospace"; m_fontSuggestions = "Monospace";
@ -352,12 +352,12 @@ bool KTouchKeyboard::loadKeyboard(TQWidget * window, const KURL& url, TQString*
bool result = readKeyboard(target, msg); bool result = readKeyboard(target, msg);
KIO::NetAccess::removeTempFile(target); KIO::NetAccess::removeTempFile(target);
if (!result && errorMsg!=NULL) if (!result && errorMsg!=NULL)
*errorMsg = i18n("Could not read the keyboard tqlayout file '%1'. ").arg(url.url()) + msg; *errorMsg = i18n("Could not read the keyboard layout file '%1'. ").arg(url.url()) + msg;
return result; return result;
} }
else { else {
if (errorMsg!=NULL) if (errorMsg!=NULL)
*errorMsg = i18n("Could not download/open keyboard tqlayout file from '%1'.").arg(url.url()); *errorMsg = i18n("Could not download/open keyboard layout file from '%1'.").arg(url.url());
return false; return false;
} }
} }
@ -382,7 +382,7 @@ void KTouchKeyboard::saveKeyboard(TQWidget * window, const KURL& url) {
TQTextStream out( &outfile ); TQTextStream out( &outfile );
out << "########################################## \n"; out << "########################################## \n";
out << "# # \n"; out << "# # \n";
out << "# Keyboard tqlayout file for KTouch # \n"; out << "# Keyboard layout file for KTouch # \n";
out << "# # \n"; out << "# # \n";
out << "########################################## \n"; out << "########################################## \n";
out << "#\n"; out << "#\n";
@ -396,7 +396,7 @@ void KTouchKeyboard::saveKeyboard(TQWidget * window, const KURL& url) {
default : out << "NormalKey "; break; default : out << "NormalKey "; break;
} }
TQRect rect=key->frame(); TQRect rect=key->frame();
out << key->m_keyChar.tqunicode() << '\t' << key->m_keyText << '\t' out << key->m_keyChar.unicode() << '\t' << key->m_keyText << '\t'
<< rect.left() << '\t' << rect.top() << '\t' << rect.width() << '\t' << rect.height() << endl; << rect.left() << '\t' << rect.top() << '\t' << rect.width() << '\t' << rect.height() << endl;
} }
@ -408,15 +408,15 @@ void KTouchKeyboard::saveKeyboard(TQWidget * window, const KURL& url) {
} }
void KTouchKeyboard::applyPreferences(TQWidget * window, bool silent) { void KTouchKeyboard::applyPreferences(TQWidget * window, bool silent) {
// let's check whether the keyboard tqlayout has changed // let's check whether the keyboard layout has changed
if (KTouchConfig().m_currentKeyboardFile!=m_currentLayout) { if (KTouchConfig().m_currentKeyboardFile!=m_currentLayout) {
// if the tqlayout is the number tqlayout just create it and we're done // if the layout is the number layout just create it and we're done
if (KTouchConfig().m_currentKeyboardFile=="number.keyboard") { if (KTouchConfig().m_currentKeyboardFile=="number.keyboard") {
createDefaultKeyboard(); createDefaultKeyboard();
resizeEvent(NULL); resizeEvent(NULL);
return; return;
} }
// ok, let's load this tqlayout // ok, let's load this layout
if (silent) { if (silent) {
// during initialisation we don't want to have a message box, that's why this is silent // during initialisation we don't want to have a message box, that's why this is silent
if (!loadKeyboard(window, KURL::fromPathOrURL( KTouchConfig().m_currentKeyboardFile ))) if (!loadKeyboard(window, KURL::fromPathOrURL( KTouchConfig().m_currentKeyboardFile )))
@ -427,8 +427,8 @@ void KTouchKeyboard::applyPreferences(TQWidget * window, bool silent) {
else { else {
TQString errorMsg; TQString errorMsg;
if (!loadKeyboard(window, KURL::fromPathOrURL( KTouchConfig().m_currentKeyboardFile ), &errorMsg)) { if (!loadKeyboard(window, KURL::fromPathOrURL( KTouchConfig().m_currentKeyboardFile ), &errorMsg)) {
KMessageBox::error( 0, i18n("Error reading the keyboard tqlayout; the default number keypad will " KMessageBox::error( 0, i18n("Error reading the keyboard layout; the default number keypad will "
"be created instead. You can choose another keyboard tqlayout in the preferences dialog."), "be created instead. You can choose another keyboard layout in the preferences dialog."),
errorMsg); errorMsg);
createDefaultKeyboard(); createDefaultKeyboard();
} }

@ -24,7 +24,7 @@
class KURL; class KURL;
/// This class stores the keyboard tqlayout and the connectivity between characters /// This class stores the keyboard layout and the connectivity between characters
/// and the actual keys. /// and the actual keys.
class KTouchKeyboard { class KTouchKeyboard {
public: public:
@ -32,7 +32,7 @@ class KTouchKeyboard {
KTouchKeyboard() { createDefault(); } KTouchKeyboard() { createDefault(); }
/// Clears the keyboard (resets all data) /// Clears the keyboard (resets all data)
void clear(); void clear();
/// Loads a keyboard tqlayout (old format) from file (returns true if successful). /// Loads a keyboard layout (old format) from file (returns true if successful).
bool load(TQWidget * window, const KURL& url); bool load(TQWidget * window, const KURL& url);
/// Loads a lecture (in XML format) from file (returns true if successful). /// Loads a lecture (in XML format) from file (returns true if successful).
bool loadXML(TQWidget * window, const KURL& url); bool loadXML(TQWidget * window, const KURL& url);
@ -47,7 +47,7 @@ class KTouchKeyboard {
TQValueVector<KTouchKeyConnector> m_connectors; ///< Vector with connectivity data. TQValueVector<KTouchKeyConnector> m_connectors; ///< Vector with connectivity data.
TQString m_title; ///< Title of the keyboard (to appear in the menu). TQString m_title; ///< Title of the keyboard (to appear in the menu).
TQString m_comment; ///< Comments about the creator of the keyboard tqlayout. TQString m_comment; ///< Comments about the creator of the keyboard layout.
TQString m_language; ///< Language ID of keyboard TQString m_language; ///< Language ID of keyboard
TQString m_fontSuggestions; ///< Suggestions of fonts to be used on the keys. TQString m_fontSuggestions; ///< Suggestions of fonts to be used on the keys.

@ -133,7 +133,7 @@ void KTouchKeyboardEditor::paintEvent(TQPaintEvent *) {
void KTouchKeyboardEditor::transfer_to_dialog() { void KTouchKeyboardEditor::transfer_to_dialog() {
if (m_currentURL.isEmpty()) { if (m_currentURL.isEmpty()) {
titleEdit->setText( i18n("untitled keyboard tqlayout") ); titleEdit->setText( i18n("untitled keyboard layout") );
keyboardCommentEdit->setText(""); keyboardCommentEdit->setText("");
} }
else { else {
@ -173,7 +173,7 @@ void KTouchKeyboardEditor::transfer_to_dialog() {
void KTouchKeyboardEditor::transfer_from_dialog() { void KTouchKeyboardEditor::transfer_from_dialog() {
m_keyboard.m_title = titleEdit->text(); m_keyboard.m_title = titleEdit->text();
if (m_keyboard.m_title.isEmpty()) m_keyboard.m_title = i18n("untitled keyboard tqlayout"); if (m_keyboard.m_title.isEmpty()) m_keyboard.m_title = i18n("untitled keyboard layout");
m_keyboard.m_comment = keyboardCommentEdit->text(); m_keyboard.m_comment = keyboardCommentEdit->text();
m_keyboard.m_language = languageEdit->text(); m_keyboard.m_language = languageEdit->text();
} }

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -169,7 +169,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -51,12 +51,12 @@ bool KTouchKeyboardWidget::loadKeyboard(TQWidget * window, const KURL& url, TQSt
bool result = readKeyboard(target, msg); bool result = readKeyboard(target, msg);
KIO::NetAccess::removeTempFile(target); KIO::NetAccess::removeTempFile(target);
if (!result && errorMsg!=NULL) if (!result && errorMsg!=NULL)
*errorMsg = i18n("Could not read the keyboard tqlayout file '%1'. ").arg(url.url()) + msg; *errorMsg = i18n("Could not read the keyboard layout file '%1'. ").arg(url.url()) + msg;
return result; return result;
} }
else { else {
if (errorMsg!=NULL) if (errorMsg!=NULL)
*errorMsg = i18n("Could not download/open keyboard tqlayout file from '%1'.").arg(url.url()); *errorMsg = i18n("Could not download/open keyboard layout file from '%1'.").arg(url.url());
return false; return false;
} }
} }
@ -81,7 +81,7 @@ void KTouchKeyboardWidget::saveKeyboard(TQWidget * window, const KURL& url) {
TQTextStream out( &outfile ); TQTextStream out( &outfile );
out << "########################################## \n"; out << "########################################## \n";
out << "# # \n"; out << "# # \n";
out << "# Keyboard tqlayout file for KTouch # \n"; out << "# Keyboard layout file for KTouch # \n";
out << "# # \n"; out << "# # \n";
out << "########################################## \n"; out << "########################################## \n";
out << "#\n"; out << "#\n";
@ -95,7 +95,7 @@ void KTouchKeyboardWidget::saveKeyboard(TQWidget * window, const KURL& url) {
default : out << "NormalKey "; break; default : out << "NormalKey "; break;
} }
TQRect rect=key->frame(); TQRect rect=key->frame();
out << key->m_keyChar.tqunicode() << '\t' << key->m_keyText << '\t' out << key->m_keyChar.unicode() << '\t' << key->m_keyText << '\t'
<< rect.left() << '\t' << rect.top() << '\t' << rect.width() << '\t' << rect.height() << endl; << rect.left() << '\t' << rect.top() << '\t' << rect.width() << '\t' << rect.height() << endl;
} }
@ -112,16 +112,16 @@ void KTouchKeyboardWidget::applyPreferences(TQWidget * window, bool silent) {
setMaximumHeight(100); setMaximumHeight(100);
else else
setMaximumHeight(10000); setMaximumHeight(10000);
// let's check whether the keyboard tqlayout has changed // let's check whether the keyboard layout has changed
if (Prefs::currentKeyboardFile() != m_currentLayout) { if (Prefs::currentKeyboardFile() != m_currentLayout) {
// if the tqlayout is the number tqlayout just create it and we're done // if the layout is the number layout just create it and we're done
//kdDebug() << "[KTouchKeyboardWidget::applyPreferences] keyboard = " << Prefs::currentKeyboardFile() << endl; //kdDebug() << "[KTouchKeyboardWidget::applyPreferences] keyboard = " << Prefs::currentKeyboardFile() << endl;
if (Prefs::currentKeyboardFile()=="number.keyboard") { if (Prefs::currentKeyboardFile()=="number.keyboard") {
createDefaultKeyboard(); createDefaultKeyboard();
resizeEvent(NULL); resizeEvent(NULL);
return; return;
} }
// ok, let's load this tqlayout // ok, let's load this layout
if (silent) { if (silent) {
// during initialisation we don't want to have a message box, that's why this is silent // during initialisation we don't want to have a message box, that's why this is silent
if (!loadKeyboard(window, KURL::fromPathOrURL( Prefs::currentKeyboardFile() ))) if (!loadKeyboard(window, KURL::fromPathOrURL( Prefs::currentKeyboardFile() )))
@ -132,8 +132,8 @@ void KTouchKeyboardWidget::applyPreferences(TQWidget * window, bool silent) {
else { else {
TQString errorMsg; TQString errorMsg;
if (!loadKeyboard(window, KURL::fromPathOrURL( Prefs::currentKeyboardFile() ), &errorMsg)) { if (!loadKeyboard(window, KURL::fromPathOrURL( Prefs::currentKeyboardFile() ), &errorMsg)) {
KMessageBox::error( 0, i18n("Error reading the keyboard tqlayout; the default number keypad will " KMessageBox::error( 0, i18n("Error reading the keyboard layout; the default number keypad will "
"be created instead. You can choose another keyboard tqlayout in the preferences dialog."), "be created instead. You can choose another keyboard layout in the preferences dialog."),
errorMsg); errorMsg);
createDefaultKeyboard(); createDefaultKeyboard();
} }
@ -397,13 +397,13 @@ bool KTouchKeyboardWidget::readKeyboard(const TQString& fileName, TQString& erro
w=h=8; // default values for old keyboard files w=h=8; // default values for old keyboard files
m_keyList.append( new KTouchFingerKey(keyAscII, keyText, x+1, y+1, w, h) ); m_keyList.append( new KTouchFingerKey(keyAscII, keyText, x+1, y+1, w, h) );
m_connectorList.append( KTouchKeyConnection(keyAscII, keyAscII, 0, 0) ); m_connectorList.append( KTouchKeyConnection(keyAscII, keyAscII, 0, 0) );
// kdDebug() << "read : F : tqunicode = " << keyAscII << " char = " << TQChar(keyAscII) << endl; // kdDebug() << "read : F : unicode = " << keyAscII << " char = " << TQChar(keyAscII) << endl;
} }
else if (keyType=="ControlKey") { else if (keyType=="ControlKey") {
lineStream >> keyText >> x >> y >> w >> h; lineStream >> keyText >> x >> y >> w >> h;
m_keyList.append( new KTouchControlKey(keyAscII, keyText, x+1, y+1, w-2, h-2) ); m_keyList.append( new KTouchControlKey(keyAscII, keyText, x+1, y+1, w-2, h-2) );
m_connectorList.append( KTouchKeyConnection(keyAscII, keyAscII, 0, 0) ); m_connectorList.append( KTouchKeyConnection(keyAscII, keyAscII, 0, 0) );
// kdDebug() << "read : C : tqunicode = " << keyAscII << " char = " << keyText << endl; // kdDebug() << "read : C : unicode = " << keyAscII << " char = " << keyText << endl;
} }
else if (keyType=="NormalKey") { else if (keyType=="NormalKey") {
int fingerCharCode; int fingerCharCode;
@ -412,12 +412,12 @@ bool KTouchKeyboardWidget::readKeyboard(const TQString& fileName, TQString& erro
// retrieve the finger key with the matching char // retrieve the finger key with the matching char
m_keyList.append( new KTouchNormalKey(keyAscII, keyText, x+1, y+1, w, h) ); m_keyList.append( new KTouchNormalKey(keyAscII, keyText, x+1, y+1, w, h) );
m_connectorList.append( KTouchKeyConnection(keyAscII, keyAscII, fingerCharCode, 0) ); m_connectorList.append( KTouchKeyConnection(keyAscII, keyAscII, fingerCharCode, 0) );
// kdDebug() << "read : N : tqunicode = " << keyAscII << " char = " << TQChar(keyAscII) << endl; // kdDebug() << "read : N : unicode = " << keyAscII << " char = " << TQChar(keyAscII) << endl;
} else if (keyType=="HiddenKey") { } else if (keyType=="HiddenKey") {
int targetChar, fingerChar, controlChar; int targetChar, fingerChar, controlChar;
lineStream >> targetChar >> fingerChar >> controlChar; lineStream >> targetChar >> fingerChar >> controlChar;
m_connectorList.append( KTouchKeyConnection(keyAscII, targetChar, fingerChar, controlChar) ); m_connectorList.append( KTouchKeyConnection(keyAscII, targetChar, fingerChar, controlChar) );
// kdDebug() << "read : H : tqunicode = " << keyAscII << " char = " << TQChar(keyAscII) << " target = " << targetChar << " finger = " << fingerChar << " control = " << controlChar << endl; // kdDebug() << "read : H : unicode = " << keyAscII << " char = " << TQChar(keyAscII) << " target = " << targetChar << " finger = " << fingerChar << " control = " << controlChar << endl;
} }
else { else {
@ -437,7 +437,7 @@ bool KTouchKeyboardWidget::readKeyboard(const TQString& fileName, TQString& erro
m_keyboardWidth = std::max(m_keyboardWidth, x+w); m_keyboardWidth = std::max(m_keyboardWidth, x+w);
m_keyboardHeight = std::max(m_keyboardHeight, y+h); m_keyboardHeight = std::max(m_keyboardHeight, y+h);
} while (!in.atEnd() && !line.isNull()); } while (!in.atEnd() && !line.isNull());
// kdDebug() << "showing all tqunicode numbers in this file" << endl; // kdDebug() << "showing all unicode numbers in this file" << endl;
/* for (std::set<TQChar>::iterator it = keys.begin(); it != keys.end(); ++it) /* for (std::set<TQChar>::iterator it = keys.begin(); it != keys.end(); ++it)
kdDebug() << *it << endl; kdDebug() << *it << endl;
*/ */
@ -460,9 +460,9 @@ void KTouchKeyboardWidget::updateColours() {
TQChar targetChar = (*it).m_targetKeyChar; // this is the _base_ character of the key that needs to be highlighted TQChar targetChar = (*it).m_targetKeyChar; // this is the _base_ character of the key that needs to be highlighted
TQChar ch = (*it).m_keyChar; TQChar ch = (*it).m_keyChar;
/* kdDebug() << "Key #"<<++counter<<": " << ch << "(" << ch.tqunicode() << ") " /* kdDebug() << "Key #"<<++counter<<": " << ch << "(" << ch.unicode() << ") "
<< "target = " << targetChar << "(" << targetChar.tqunicode() << ") " << "target = " << targetChar << "(" << targetChar.unicode() << ") "
<< "finger = " << fingerChar << "(" << fingerChar.tqunicode() << ")" << endl; << "finger = " << fingerChar << "(" << fingerChar.unicode() << ")" << endl;
*/ */
m_keyCharMap[ch] = -1; m_keyCharMap[ch] = -1;

@ -30,7 +30,7 @@ class KURL;
/** This is the keyboard widget at the bottom of the training screen. /** This is the keyboard widget at the bottom of the training screen.
* In addition to the painting functions this class has the member * In addition to the painting functions this class has the member
* functions loadKeyboard() and saveKeyboard() which can read and write * functions loadKeyboard() and saveKeyboard() which can read and write
* a keyboard tqlayout from/into a file.<p> * a keyboard layout from/into a file.<p>
* The keyboard is drawn in the paintEvent() member function. The * The keyboard is drawn in the paintEvent() member function. The
* resizing, that means the recalculation of m_shift is * resizing, that means the recalculation of m_shift is
* done in the resizeEvent() member function.<p> * done in the resizeEvent() member function.<p>
@ -45,14 +45,14 @@ class KTouchKeyboardWidget : public TQWidget {
public: public:
/// Constructor /// Constructor
KTouchKeyboardWidget(TQWidget *parent); KTouchKeyboardWidget(TQWidget *parent);
/// Reads a keyboard tqlayout from the given URL. /// Reads a keyboard layout from the given URL.
/// The function returns 'true' when the reading was successful or 'false' if not. In this /// The function returns 'true' when the reading was successful or 'false' if not. In this
/// case the optional parameter errorMsg contains the error message. /// case the optional parameter errorMsg contains the error message.
bool loadKeyboard(TQWidget * window, const KURL& url, TQString* errorMsg=NULL); bool loadKeyboard(TQWidget * window, const KURL& url, TQString* errorMsg=NULL);
/// Saves the keyboard tqlayout to the URL. /// Saves the keyboard layout to the URL.
void saveKeyboard(TQWidget * window, const KURL& url); void saveKeyboard(TQWidget * window, const KURL& url);
/// Applies preferences to the keyboard tqlayout and the keys. /// Applies preferences to the keyboard layout and the keys.
/// This means that the tqlayout is basically recreated and if the tqlayout type/language /// This means that the layout is basically recreated and if the layout type/language
/// changed it will be reloaded. /// changed it will be reloaded.
void applyPreferences(TQWidget * window, bool silent); void applyPreferences(TQWidget * window, bool silent);
@ -90,7 +90,7 @@ class KTouchKeyboardWidget : public TQWidget {
int m_keyboardWidth; ///< The width of the keyboard (maximum of the sums of all keywidths in each line). int m_keyboardWidth; ///< The width of the keyboard (maximum of the sums of all keywidths in each line).
int m_keyboardHeight; ///< The height of the keyboard (sum of all key row heights). int m_keyboardHeight; ///< The height of the keyboard (sum of all key row heights).
double m_shift; ///< The horizontal shift for the keyboard. double m_shift; ///< The horizontal shift for the keyboard.
TQString m_currentLayout; ///< The name of the currently used tqlayout. TQString m_currentLayout; ///< The name of the currently used layout.
TQChar m_nextKey; ///< The next to be pressed character. TQChar m_nextKey; ///< The next to be pressed character.
bool m_hideKeyboard; ///< If true, the keyboard won't be shown. bool m_hideKeyboard; ///< If true, the keyboard won't be shown.

@ -66,7 +66,7 @@ class KTouchBaseKey {
int m_wS; ///< The scaled width of the key. int m_wS; ///< The scaled width of the key.
int m_hS; ///< The scaled height of the key. int m_hS; ///< The scaled height of the key.
KeyType m_type; ///< Stores the type of the key (convenience for saving of the keyboard tqlayout). KeyType m_type; ///< Stores the type of the key (convenience for saving of the keyboard layout).
}; };
// --------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------

@ -32,7 +32,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -109,7 +109,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -144,7 +144,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -155,7 +155,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -286,7 +286,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -334,7 +334,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -486,7 +486,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout35</cstring> <cstring>layout35</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -115,7 +115,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget" row="2" column="1"> <widget class="TQLayoutWidget" row="2" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -165,7 +165,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -35,7 +35,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -120,7 +120,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -353,7 +353,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -82,7 +82,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -193,7 +193,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -247,7 +247,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -74,7 +74,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -88,10 +88,10 @@
<string>Override keyboard fonts</string> <string>Override keyboard fonts</string>
</property> </property>
<property name="toolTip" stdset="0"> <property name="toolTip" stdset="0">
<string>If checked you can specify your own keyboard font instead of the predefined one of the keyboard tqlayout.</string> <string>If checked you can specify your own keyboard font instead of the predefined one of the keyboard layout.</string>
</property> </property>
<property name="whatsThis" stdset="0"> <property name="whatsThis" stdset="0">
<string>Every keyboard tqlayout may specify its own font. If the predefined font of a certain keyboard tqlayout does not work or you would like to have your own, check this button. You may then choose your own font that will be used to draw the characters on the keys.</string> <string>Every keyboard layout may specify its own font. If the predefined font of a certain keyboard layout does not work or you would like to have your own, check this button. You may then choose your own font that will be used to draw the characters on the keys.</string>
</property> </property>
</widget> </widget>
<widget class="TQLabel"> <widget class="TQLabel">

@ -60,7 +60,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -174,7 +174,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -69,7 +69,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -127,7 +127,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout28</cstring> <cstring>layout28</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -515,7 +515,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -573,7 +573,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout28_2</cstring> <cstring>layout28_2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -940,7 +940,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -1205,7 +1205,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -41,7 +41,7 @@ int KTouchCharStats::missHitRatio() const {
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
TQTextStream& operator<<(TQTextStream &out, const KTouchCharStats &ch) { TQTextStream& operator<<(TQTextStream &out, const KTouchCharStats &ch) {
return (out << ch.m_char.tqunicode() << " " << ch.m_correctCount << " " << ch.m_wrongCount); return (out << ch.m_char.unicode() << " " << ch.m_correctCount << " " << ch.m_wrongCount);
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@ -135,9 +135,9 @@ void KTouchLevelStats::write(TQDomDocument& doc, TQDomElement& root) const {
level.appendChild(e); level.appendChild(e);
// add char stats // add char stats
TQString char_data; TQString char_data;
// we append for each missed char the char-tqunicode and the counters // we append for each missed char the char-unicode and the counters
for (std::set<KTouchCharStats>::const_iterator it=m_charStats.begin(); it!=m_charStats.end(); ++it) for (std::set<KTouchCharStats>::const_iterator it=m_charStats.begin(); it!=m_charStats.end(); ++it)
char_data += TQString(" %1 %2 %3").arg(it->m_char.tqunicode()) char_data += TQString(" %1 %2 %3").arg(it->m_char.unicode())
.arg(it->m_correctCount).arg(it->m_wrongCount); .arg(it->m_correctCount).arg(it->m_wrongCount);
e = doc.createElement("CharStats"); e = doc.createElement("CharStats");
tn = doc.createTextNode(char_data); tn = doc.createTextNode(char_data);
@ -302,9 +302,9 @@ void KTouchSessionStats::write(TQDomDocument& doc, TQDomElement& root) const {
session.appendChild(e); session.appendChild(e);
// add char data // add char data
TQString char_data; TQString char_data;
// we append for each missed char the char-tqunicode and the counters // we append for each missed char the char-unicode and the counters
for (std::set<KTouchCharStats>::const_iterator it=m_charStats.begin(); it!=m_charStats.end(); ++it) for (std::set<KTouchCharStats>::const_iterator it=m_charStats.begin(); it!=m_charStats.end(); ++it)
char_data += TQString(" %1 %2 %3").arg(it->m_char.tqunicode()) char_data += TQString(" %1 %2 %3").arg(it->m_char.unicode())
.arg(it->m_correctCount).arg(it->m_wrongCount); .arg(it->m_correctCount).arg(it->m_wrongCount);
e = doc.createElement("CharStats"); e = doc.createElement("CharStats");
tn = doc.createTextNode(char_data); tn = doc.createTextNode(char_data);

@ -40,7 +40,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -85,7 +85,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -149,7 +149,7 @@ ColorPicker::ColorPicker(TQWidget *parent)
// for toggling convenience // for toggling convenience
connect( this, TQT_SIGNAL( finished() ), TQT_SLOT( slotEmitVisibility() ) ); connect( this, TQT_SIGNAL( finished() ), TQT_SLOT( slotEmitVisibility() ) );
// Create the top level page and its tqlayout // Create the top level page and its layout
BaseWidget = new TQWidget(this); BaseWidget = new TQWidget(this);
setMainWidget(BaseWidget); setMainWidget(BaseWidget);
@ -157,57 +157,57 @@ ColorPicker::ColorPicker(TQWidget *parent)
setButtonText( KDialogBase::User1, i18n("Insert Color Code at Cursor") ); setButtonText( KDialogBase::User1, i18n("Insert Color Code at Cursor") );
connect( this, TQT_SIGNAL( user1Clicked() ), TQT_SLOT( slotEmitColorCode() ) ); connect( this, TQT_SIGNAL( user1Clicked() ), TQT_SLOT( slotEmitColorCode() ) );
TQVBoxLayout *vtqlayout = new TQVBoxLayout(BaseWidget); TQVBoxLayout *vlayout = new TQVBoxLayout(BaseWidget);
vtqlayout->addSpacing(5); // spacing on top vlayout->addSpacing(5); // spacing on top
// the palette and value selector go into a H-box // the palette and value selector go into a H-box
TQHBoxLayout *h1tqlayout = new TQHBoxLayout(BaseWidget); TQHBoxLayout *h1layout = new TQHBoxLayout(BaseWidget);
vtqlayout->addLayout(h1tqlayout); vlayout->addLayout(h1layout);
h1tqlayout->addSpacing(10); // space on the left border h1layout->addSpacing(10); // space on the left border
hsSelector = new KHSSelector(BaseWidget); // the color (SH) selector hsSelector = new KHSSelector(BaseWidget); // the color (SH) selector
hsSelector->setMinimumSize(300, 150); hsSelector->setMinimumSize(300, 150);
h1tqlayout->addWidget(hsSelector); h1layout->addWidget(hsSelector);
connect( hsSelector, TQT_SIGNAL( valueChanged(int, int) ), TQT_SLOT( slotSelectorChanged(int, int) ) ); connect( hsSelector, TQT_SIGNAL( valueChanged(int, int) ), TQT_SLOT( slotSelectorChanged(int, int) ) );
h1tqlayout->addSpacing(5); // space in between h1layout->addSpacing(5); // space in between
valuePal = new KValueSelector(BaseWidget); // the darkness (V) pal valuePal = new KValueSelector(BaseWidget); // the darkness (V) pal
valuePal->setFixedWidth(30); valuePal->setFixedWidth(30);
h1tqlayout->addWidget(valuePal); h1layout->addWidget(valuePal);
connect( valuePal, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( slotPalChanged(int) ) ); connect( valuePal, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( slotPalChanged(int) ) );
vtqlayout->addSpacing(15); // space in between the top and the bottom widgets vlayout->addSpacing(15); // space in between the top and the bottom widgets
// the patch and the codegenerator also go into a H-box // the patch and the codegenerator also go into a H-box
TQHBoxLayout *h2tqlayout = new TQHBoxLayout(BaseWidget); TQHBoxLayout *h2layout = new TQHBoxLayout(BaseWidget);
vtqlayout->addLayout(h2tqlayout); vlayout->addLayout(h2layout);
h2tqlayout->addSpacing(10); // space on the left border h2layout->addSpacing(10); // space on the left border
patch = new KColorPatch(BaseWidget); // the patch (color previewer) patch = new KColorPatch(BaseWidget); // the patch (color previewer)
patch->setFixedSize(50, 50); patch->setFixedSize(50, 50);
h2tqlayout->addWidget(patch); h2layout->addWidget(patch);
h2tqlayout->addSpacing(10); // space in between h2layout->addSpacing(10); // space in between
// the label and the codegenerator go in a V-box // the label and the codegenerator go in a V-box
TQVBoxLayout *v2tqlayout = new TQVBoxLayout(BaseWidget); TQVBoxLayout *v2layout = new TQVBoxLayout(BaseWidget);
h2tqlayout->addLayout(v2tqlayout); h2layout->addLayout(v2layout);
copyable = new TQLabel(i18n("Color code:"), BaseWidget); // tha label copyable = new TQLabel(i18n("Color code:"), BaseWidget); // tha label
v2tqlayout->addWidget(copyable); v2layout->addWidget(copyable);
colorcode = new TQLineEdit(BaseWidget); // the code generator colorcode = new TQLineEdit(BaseWidget); // the code generator
colorcode->setReadOnly(true); colorcode->setReadOnly(true);
v2tqlayout->addWidget(colorcode); v2layout->addWidget(colorcode);
connect( colorcode, TQT_SIGNAL( selectionChanged() ), TQT_SLOT( slotReselect() ) ); connect( colorcode, TQT_SIGNAL( selectionChanged() ), TQT_SLOT( slotReselect() ) );
h2tqlayout->addSpacing(5); // spacing on the right border h2layout->addSpacing(5); // spacing on the right border
vtqlayout->addSpacing(10); // spacing on the bottom vlayout->addSpacing(10); // spacing on the bottom
h = g = b = 0; // start with red h = g = b = 0; // start with red
s = v = r = 255; s = v = r = 255;

@ -119,9 +119,9 @@ class ColorPicker : public KDialogBase
TQWidget *BaseWidget; TQWidget *BaseWidget;
KHSSelector *hsSelector; KHSSelector *hsSelector;
KValueSelector *valuePal; KValueSelector *valuePal;
TQVBoxLayout *vtqlayout; TQVBoxLayout *vlayout;
TQHBoxLayout *h1tqlayout; TQHBoxLayout *h1layout;
TQHBoxLayout *h2tqlayout; TQHBoxLayout *h2layout;
KColorPatch *patch; KColorPatch *patch;
TQLabel *copyable; TQLabel *copyable;
TQLineEdit *colorcode; TQLineEdit *colorcode;

@ -247,7 +247,7 @@ void MainWindow::setupCanvas()
void MainWindow::slotStatusBar(TQString text, int id) void MainWindow::slotStatusBar(TQString text, int id)
{ {
text = " " + text + " "; // help the tqlayout text = " " + text + " "; // help the layout
statusBar()->changeItem(text, id); statusBar()->changeItem(text, id);
} }
@ -877,35 +877,35 @@ void MainWindow::slotSettings()
TQGridLayout *generalLayout = new TQGridLayout( general, 1, 1, 11, 6, "generalLayout"); TQGridLayout *generalLayout = new TQGridLayout( general, 1, 1, 11, 6, "generalLayout");
WidthHeightBox = new TQGroupBox( i18n("Initial Canvas Size"), general ); WidthHeightBox = new TQGroupBox( i18n("Initial Canvas Size"), general );
WidthHeightBox->setColumnLayout(0, Qt::Vertical ); WidthHeightBox->setColumnLayout(0, Qt::Vertical );
WidthHeightBox->tqlayout()->setSpacing( 6 ); WidthHeightBox->layout()->setSpacing( 6 );
WidthHeightBox->tqlayout()->setMargin( 11 ); WidthHeightBox->layout()->setMargin( 11 );
TQVBoxLayout *WidthHeightBoxLayout = new TQVBoxLayout( WidthHeightBox->tqlayout() ); TQVBoxLayout *WidthHeightBoxLayout = new TQVBoxLayout( WidthHeightBox->layout() );
WidthHeightBoxLayout->setAlignment( TQt::AlignTop ); WidthHeightBoxLayout->setAlignment( TQt::AlignTop );
TQHBoxLayout *tqlayout3 = new TQHBoxLayout( 0, 0, 6, "tqlayout3"); TQHBoxLayout *layout3 = new TQHBoxLayout( 0, 0, 6, "layout3");
TQVBoxLayout *tqlayout2 = new TQVBoxLayout( 0, 0, 6, "tqlayout2"); TQVBoxLayout *layout2 = new TQVBoxLayout( 0, 0, 6, "layout2");
TQVBoxLayout *tqlayout1 = new TQVBoxLayout( 0, 0, 6, "tqlayout1"); TQVBoxLayout *layout1 = new TQVBoxLayout( 0, 0, 6, "layout1");
kcfg_CanvasWidth = new KIntNumInput( WidthHeightBox, "kcfg_CanvasWidth" ); kcfg_CanvasWidth = new KIntNumInput( WidthHeightBox, "kcfg_CanvasWidth" );
kcfg_CanvasWidth->setValue( 400 ); kcfg_CanvasWidth->setValue( 400 );
kcfg_CanvasWidth->setMinValue( 1 ); kcfg_CanvasWidth->setMinValue( 1 );
kcfg_CanvasWidth->setReferencePoint( 1 ); kcfg_CanvasWidth->setReferencePoint( 1 );
tqlayout1->addWidget( kcfg_CanvasWidth ); layout1->addWidget( kcfg_CanvasWidth );
kcfg_CanvasHeight = new KIntNumInput( WidthHeightBox, "kcfg_CanvasHeight" ); kcfg_CanvasHeight = new KIntNumInput( WidthHeightBox, "kcfg_CanvasHeight" );
kcfg_CanvasHeight->setValue( 300 ); kcfg_CanvasHeight->setValue( 300 );
kcfg_CanvasHeight->setMinValue( 1 ); kcfg_CanvasHeight->setMinValue( 1 );
kcfg_CanvasHeight->setReferencePoint( 1 ); kcfg_CanvasHeight->setReferencePoint( 1 );
tqlayout1->addWidget( kcfg_CanvasHeight ); layout1->addWidget( kcfg_CanvasHeight );
WidthLabel = new TQLabel( kcfg_CanvasWidth, i18n("Canvas &width:"), WidthHeightBox ); WidthLabel = new TQLabel( kcfg_CanvasWidth, i18n("Canvas &width:"), WidthHeightBox );
tqlayout2->addWidget( WidthLabel ); layout2->addWidget( WidthLabel );
HeightLabel = new TQLabel( kcfg_CanvasHeight, i18n("Ca&nvas height:"), WidthHeightBox ); HeightLabel = new TQLabel( kcfg_CanvasHeight, i18n("Ca&nvas height:"), WidthHeightBox );
tqlayout2->addWidget( HeightLabel ); layout2->addWidget( HeightLabel );
tqlayout3->addLayout( tqlayout2 ); layout3->addLayout( layout2 );
tqlayout3->addLayout( tqlayout1 ); layout3->addLayout( layout1 );
WidthHeightBoxLayout->addLayout( tqlayout3 ); WidthHeightBoxLayout->addLayout( layout3 );
TQLabel* WidthHeightLabel = new TQLabel(i18n("You need to restart before these settings have effect"), WidthHeightBox); TQLabel* WidthHeightLabel = new TQLabel(i18n("You need to restart before these settings have effect"), WidthHeightBox);
WidthHeightBoxLayout->addWidget( WidthHeightLabel ); WidthHeightBoxLayout->addWidget( WidthHeightLabel );
generalLayout->addWidget( WidthHeightBox, 0, 0 ); generalLayout->addWidget( WidthHeightBox, 0, 0 );
@ -918,12 +918,12 @@ void MainWindow::slotSettings()
TQGridLayout *languageLayout = new TQGridLayout( language, 1, 1, 11, 6, "Form1Layout"); TQGridLayout *languageLayout = new TQGridLayout( language, 1, 1, 11, 6, "Form1Layout");
TQGroupBox *groupBox1 = new TQGroupBox( language, "groupBox1" ); TQGroupBox *groupBox1 = new TQGroupBox( language, "groupBox1" );
groupBox1->setColumnLayout(0, Qt::Vertical ); groupBox1->setColumnLayout(0, Qt::Vertical );
groupBox1->tqlayout()->setSpacing( 6 ); groupBox1->layout()->setSpacing( 6 );
groupBox1->tqlayout()->setMargin( 11 ); groupBox1->layout()->setMargin( 11 );
TQGridLayout *groupBox1Layout = new TQGridLayout( groupBox1->tqlayout() ); TQGridLayout *groupBox1Layout = new TQGridLayout( groupBox1->layout() );
groupBox1Layout->setAlignment( TQt::AlignTop ); groupBox1Layout->setAlignment( TQt::AlignTop );
TQVBoxLayout *tqlayout4 = new TQVBoxLayout( 0, 0, 6, "tqlayout4"); TQVBoxLayout *layout4 = new TQVBoxLayout( 0, 0, 6, "layout4");
kcfg_LanguageComboBox = new KComboBox(groupBox1, "kcfg_LanguageComboBox"); kcfg_LanguageComboBox = new KComboBox(groupBox1, "kcfg_LanguageComboBox");
kcfg_LanguageComboBox->setEditable(false); kcfg_LanguageComboBox->setEditable(false);
@ -935,11 +935,11 @@ void MainWindow::slotSettings()
kcfg_LanguageComboBox->insertStringList(LogoLanguageList); kcfg_LanguageComboBox->insertStringList(LogoLanguageList);
LanguageLabel = new TQLabel(kcfg_LanguageComboBox, i18n("&Select the language for the Logo commands:"), groupBox1); LanguageLabel = new TQLabel(kcfg_LanguageComboBox, i18n("&Select the language for the Logo commands:"), groupBox1);
tqlayout4->addWidget( LanguageLabel ); layout4->addWidget( LanguageLabel );
tqlayout4->addWidget( kcfg_LanguageComboBox ); layout4->addWidget( kcfg_LanguageComboBox );
LanguageLabel->setBuddy( kcfg_LanguageComboBox ); LanguageLabel->setBuddy( kcfg_LanguageComboBox );
groupBox1Layout->addLayout( tqlayout4, 0, 0 ); groupBox1Layout->addLayout( layout4, 0, 0 );
languageLayout->addWidget( groupBox1, 0, 0 ); languageLayout->addWidget( groupBox1, 0, 0 );
language->resize( TQSize(373, 80).expandedTo(minimumSizeHint()) ); language->resize( TQSize(373, 80).expandedTo(minimumSizeHint()) );

@ -32,7 +32,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout1</cstring> <cstring>layout1</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -689,7 +689,7 @@ LanguageOptions::LanguageOptions(LangSet & langset, TQWidget* parent, const char
connect(d_shortName, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotShortActivated(const TQString&))); connect(d_shortName, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotShortActivated(const TQString&)));
connect(e_langLong, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotLangChanged(const TQString&))); connect(e_langLong, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotLangChanged(const TQString&)));
connect(e_shortName2, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotShort2Changed(const TQString&))); connect(e_shortName2, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotShort2Changed(const TQString&)));
connect(d_kbtqlayout, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotKeyboardLayoutChanged(const TQString&))); connect(d_kblayout, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotKeyboardLayoutChanged(const TQString&)));
// Load the languages first, then the countries and create the // Load the languages first, then the countries and create the
// menus for the languages last, so they will have flags // menus for the languages last, so they will have flags
@ -768,13 +768,13 @@ void LanguageOptions::slotDeleteClicked()
enableLangWidgets(); enableLangWidgets();
// doesn't work yet // doesn't work yet
if (d_shortName->count() != 0 && d_kbtqlayout->isEnabled()) if (d_shortName->count() != 0 && d_kblayout->isEnabled())
{ {
for (int i = 0; i < d_kbtqlayout->count(); i++) for (int i = 0; i < d_kblayout->count(); i++)
{ {
if (d_kbtqlayout->text(i) == m_langSet.keyboardLayout(d_shortName->currentItem())) if (d_kblayout->text(i) == m_langSet.keyboardLayout(d_shortName->currentItem()))
{ {
d_kbtqlayout->setCurrentItem(i); d_kblayout->setCurrentItem(i);
break; break;
} }
} }
@ -782,9 +782,9 @@ void LanguageOptions::slotDeleteClicked()
} }
void LanguageOptions::slotKeyboardLayoutChanged(const TQString& tqlayout) void LanguageOptions::slotKeyboardLayoutChanged(const TQString& layout)
{ {
m_langSet.setKeyboardLayout(tqlayout, d_shortName->currentItem()); m_langSet.setKeyboardLayout(layout, d_shortName->currentItem());
emit widgetModified(); emit widgetModified();
m_hasChanged = true; m_hasChanged = true;
} }
@ -818,16 +818,16 @@ void LanguageOptions::enableLangWidgets()
TQDataStream stream(replyData, IO_ReadOnly); TQDataStream stream(replyData, IO_ReadOnly);
stream >> layouts; stream >> layouts;
layouts.prepend(TQString()); layouts.prepend(TQString());
d_kbtqlayout->clear(); d_kblayout->clear();
d_kbtqlayout->insertStringList(layouts); d_kblayout->insertStringList(layouts);
} }
} }
} }
else else
{ {
//kdDebug() << "kxkb not enabled" << endl; //kdDebug() << "kxkb not enabled" << endl;
d_kbtqlayout->clear(); d_kblayout->clear();
d_kbtqlayout->setEnabled(false); d_kblayout->setEnabled(false);
} }
} }
@ -898,22 +898,22 @@ void LanguageOptions::slotShortActivated(const TQString& _id)
else else
b_langPixmap->setText (i18n("No Picture Selected")); b_langPixmap->setText (i18n("No Picture Selected"));
TQString tqlayout = m_langSet.keyboardLayout(d_shortName->currentItem()); TQString layout = m_langSet.keyboardLayout(d_shortName->currentItem());
//kdDebug() << "tqlayout to select " << tqlayout << endl; //kdDebug() << "layout to select " << layout << endl;
for (int i = 0; i < d_kbtqlayout->count(); i++) for (int i = 0; i < d_kblayout->count(); i++)
{ {
if (d_kbtqlayout->text(i) == tqlayout) if (d_kblayout->text(i) == layout)
{ {
d_kbtqlayout->setCurrentItem(i); d_kblayout->setCurrentItem(i);
break; break;
} }
} }
// not found // not found
if (d_kbtqlayout->currentText() != tqlayout) if (d_kblayout->currentText() != layout)
{ {
d_kbtqlayout->setCurrentItem(0); d_kblayout->setCurrentItem(0);
} }
} }
} }

@ -93,7 +93,7 @@
</widget> </widget>
<widget class="KComboBox" row="4" column="1"> <widget class="KComboBox" row="4" column="1">
<property name="name"> <property name="name">
<cstring>d_kbtqlayout</cstring> <cstring>d_kblayout</cstring>
</property> </property>
<property name="toolTip" stdset="0"> <property name="toolTip" stdset="0">
<string>Select a language or use the Add New Language Code to add one.</string> <string>Select a language or use the Add New Language Code to add one.</string>
@ -205,7 +205,7 @@
</widget> </widget>
<widget class="TQLabel" row="4" column="0"> <widget class="TQLabel" row="4" column="0">
<property name="name"> <property name="name">
<cstring>label_kbtqlayout</cstring> <cstring>label_kblayout</cstring>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy> <sizepolicy>
@ -216,10 +216,10 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Keyboard tqlayout:</string> <string>Keyboard layout:</string>
</property> </property>
<property name="buddy" stdset="0"> <property name="buddy" stdset="0">
<cstring>d_kbtqlayout</cstring> <cstring>d_kblayout</cstring>
</property> </property>
<property name="toolTip" stdset="0"> <property name="toolTip" stdset="0">
<string>You can assign a language to each column</string> <string>You can assign a language to each column</string>
@ -337,7 +337,7 @@
<tabstop>e_shortName2</tabstop> <tabstop>e_shortName2</tabstop>
<tabstop>e_langLong</tabstop> <tabstop>e_langLong</tabstop>
<tabstop>b_langPixmap</tabstop> <tabstop>b_langPixmap</tabstop>
<tabstop>d_kbtqlayout</tabstop> <tabstop>d_kblayout</tabstop>
<tabstop>b_langDel</tabstop> <tabstop>b_langDel</tabstop>
<tabstop>e_newName</tabstop> <tabstop>e_newName</tabstop>
<tabstop>b_langNew</tabstop> <tabstop>b_langNew</tabstop>

@ -390,7 +390,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="1"> <widget class="TQLayoutWidget" row="0" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -145,7 +145,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="3"> <widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="3">
<property name="name"> <property name="name">
<cstring>tqlayout8</cstring> <cstring>layout8</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -43,11 +43,11 @@
struct KV_Unicode_Ref { struct KV_Unicode_Ref {
wchar_t code; wchar_t code;
const char *tqunicodename; const char *unicodename;
const char *audible; const char *audible;
}; };
KV_Unicode_Ref kv_tqunicode_ref[] = { KV_Unicode_Ref kv_unicode_ref[] = {
{0x00E6, "LATIN SMALL LETTER AE", I18N_NOOP_maybe("")}, {0x00E6, "LATIN SMALL LETTER AE", I18N_NOOP_maybe("")},
{0x00E7, "LATIN SMALL LETTER C WITH CEDILLA", I18N_NOOP_maybe("")}, {0x00E7, "LATIN SMALL LETTER C WITH CEDILLA", I18N_NOOP_maybe("")},
@ -171,18 +171,18 @@ KV_Unicode_Ref kv_tqunicode_ref[] = {
void PhoneticButton::slotClicked() void PhoneticButton::slotClicked()
{ {
if (text().length() != 0) if (text().length() != 0)
emit page->charSelected(text()[0].tqunicode()); emit page->charSelected(text()[0].unicode());
} }
PhoneticEntryPage::PhoneticEntryPage(const TQFont &ipafont, TQWidget *parent, const char *name, bool modal) PhoneticEntryPage::PhoneticEntryPage(const TQFont &ipafont, TQWidget *parent, const char *name, bool modal)
: KDialogBase(Plain, i18n("Select Characters From Phonetic Alphabet"), Close, Close, parent, name, modal) : KDialogBase(Plain, i18n("Select Characters From Phonetic Alphabet"), Close, Close, parent, name, modal)
{ {
int num = sizeof(kv_tqunicode_ref) / sizeof(kv_tqunicode_ref[0]); int num = sizeof(kv_unicode_ref) / sizeof(kv_unicode_ref[0]);
TQFrame * phoneticbox = plainPage(); TQFrame * phoneticbox = plainPage();
TQGridLayout *gbox = new TQGridLayout(phoneticbox, KV_MAX_HORIZ, (num+KV_MAX_HORIZ-1)/KV_MAX_HORIZ, 1); TQGridLayout *gbox = new TQGridLayout(phoneticbox, KV_MAX_HORIZ, (num+KV_MAX_HORIZ-1)/KV_MAX_HORIZ, 1);
KV_Unicode_Ref *uni_ref = kv_tqunicode_ref; KV_Unicode_Ref *uni_ref = kv_unicode_ref;
int vert = 0; int vert = 0;
int horiz = 0; int horiz = 0;
while (uni_ref->code != 0) { while (uni_ref->code != 0) {
@ -191,7 +191,7 @@ PhoneticEntryPage::PhoneticEntryPage(const TQFont &ipafont, TQWidget *parent, co
PhoneticButton *butt = new PhoneticButton(text, phoneticbox, this); PhoneticButton *butt = new PhoneticButton(text, phoneticbox, this);
connect (butt, TQT_SIGNAL(clicked()), butt, TQT_SLOT(slotClicked()) ); connect (butt, TQT_SIGNAL(clicked()), butt, TQT_SLOT(slotClicked()) );
TQString tip = i18n("Unicode name: "); TQString tip = i18n("Unicode name: ");
tip += TQString::fromLatin1(uni_ref->tqunicodename); tip += TQString::fromLatin1(uni_ref->unicodename);
tip += "\n"; tip += "\n";
tip += i18n("Describing the sound of the character", "Sound: "); tip += i18n("Describing the sound of the character", "Sound: ");
tip += i18n(uni_ref->audible); tip += i18n(uni_ref->audible);
@ -217,7 +217,7 @@ void PhoneticEntryPage::keyPressEvent( TQKeyEvent *e )
if ((e->state() & (ControlButton | AltButton)) == 0) { if ((e->state() & (ControlButton | AltButton)) == 0) {
TQString s = e->text(); TQString s = e->text();
for (unsigned i = 0; i < s.length(); ++i) { for (unsigned i = 0; i < s.length(); ++i) {
emit charSelected(s[i].tqunicode()); emit charSelected(s[i].unicode());
} }
e->accept(); e->accept();
} }

@ -44,7 +44,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -307,7 +307,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -38,7 +38,7 @@ using namespace std;
void kvoctrainApp::slotSmartSearchClip() void kvoctrainApp::slotSmartSearchClip()
{ {
TQString s; TQString s;
TQString entries = TQApplication::tqclipboard()->text(); TQString entries = TQApplication::clipboard()->text();
if (!entries.isEmpty()) { if (!entries.isEmpty()) {
int pos = entries.find ('\n'); // search for a line end int pos = entries.find ('\n'); // search for a line end
@ -148,11 +148,11 @@ void kvoctrainApp::slotEditCopy()
} }
if (!exp.isEmpty()) { if (!exp.isEmpty()) {
#if defined(_WS_X11_) #if defined(_WS_X11_)
// disconnect(TQApplication::tqclipboard(),TQT_SIGNAL(dataChanged()),this,0); // disconnect(TQApplication::clipboard(),TQT_SIGNAL(dataChanged()),this,0);
#endif #endif
TQApplication::tqclipboard()->setText(exp); TQApplication::clipboard()->setText(exp);
#if defined(_WS_X11_) #if defined(_WS_X11_)
// connect(TQApplication::tqclipboard(),TQT_SIGNAL(dataChanged()), this,TQT_SLOT(clipboardChanged())); // connect(TQApplication::clipboard(),TQT_SIGNAL(dataChanged()), this,TQT_SLOT(clipboardChanged()));
#endif #endif
} }
@ -167,7 +167,7 @@ void kvoctrainApp::slotEditPaste()
TQApplication::setOverrideCursor( waitCursor ); TQApplication::setOverrideCursor( waitCursor );
TQString s; TQString s;
TQString entries = TQApplication::tqclipboard()->text(); TQString entries = TQApplication::clipboard()->text();
vector <int> csv_order = getCsvOrder(doc); vector <int> csv_order = getCsvOrder(doc);

@ -424,7 +424,7 @@ void KVocTrainTable::paintCell(TQPainter * p, int row, int col, const TQRect & c
} }
TQPen pen( p->pen() ); TQPen pen( p->pen() );
int gridColor = tqstyle().styleHint( TQStyle::SH_Table_GridLineColor, this ); int gridColor = style().styleHint( TQStyle::SH_Table_GridLineColor, this );
if (gridColor != -1) { if (gridColor != -1) {
const TQPalette &pal = palette(); const TQPalette &pal = palette();
if (cg != colorGroup() if (cg != colorGroup()

@ -138,42 +138,42 @@ bool kvoctrainDoc::loadFromCsv (TQTextStream& is)
// autodetect utf8 // autodetect utf8
if (!utf8_mode) { if (!utf8_mode) {
for (int i = 0; !utf8_mode && i < (int) s.length(); ++i) { for (int i = 0; !utf8_mode && i < (int) s.length(); ++i) {
ushort trigger = s[i].tqunicode(); ushort trigger = s[i].unicode();
if (trigger >= 0x80) { if (trigger >= 0x80) {
int remain = s.length() - i; int remain = s.length() - i;
if ((trigger & 0xE0) == 0xC0){ // 110x xxxx if ((trigger & 0xE0) == 0xC0){ // 110x xxxx
if ( (remain > 1) if ( (remain > 1)
&& (s[i+1].tqunicode() & 0xC0) == 0x80) && (s[i+1].unicode() & 0xC0) == 0x80)
utf8_mode = true; utf8_mode = true;
} }
else if ((trigger & 0xF0) == 0xE0) { // 1110 xxxx else if ((trigger & 0xF0) == 0xE0) { // 1110 xxxx
if ( remain > 2 if ( remain > 2
&& s[i+1].tqunicode() & 0xC0 == 0x80 && s[i+1].unicode() & 0xC0 == 0x80
&& s[i+2].tqunicode() & 0xC0 == 0x80) && s[i+2].unicode() & 0xC0 == 0x80)
utf8_mode = true; utf8_mode = true;
} }
else if ((trigger & 0xF8) == 0xF0) { // 1111 0xxx else if ((trigger & 0xF8) == 0xF0) { // 1111 0xxx
if ( remain > 3 if ( remain > 3
&& s[i+1].tqunicode() & 0xC0 == 0x80 && s[i+1].unicode() & 0xC0 == 0x80
&& s[i+2].tqunicode() & 0xC0 == 0x80 && s[i+2].unicode() & 0xC0 == 0x80
&& s[i+3].tqunicode() & 0xC0 == 0x80) && s[i+3].unicode() & 0xC0 == 0x80)
utf8_mode = true; utf8_mode = true;
} }
else if ((trigger & 0xFC) == 0xF8) { // 1111 10xx else if ((trigger & 0xFC) == 0xF8) { // 1111 10xx
if ( remain > 4 if ( remain > 4
&& s[i+1].tqunicode() & 0xC0 == 0x80 && s[i+1].unicode() & 0xC0 == 0x80
&& s[i+2].tqunicode() & 0xC0 == 0x80 && s[i+2].unicode() & 0xC0 == 0x80
&& s[i+3].tqunicode() & 0xC0 == 0x80 && s[i+3].unicode() & 0xC0 == 0x80
&& s[i+4].tqunicode() & 0xC0 == 0x80) && s[i+4].unicode() & 0xC0 == 0x80)
utf8_mode = true; utf8_mode = true;
} }
else if ((trigger & 0xFE) == 0xFC) { // 1111 110x else if ((trigger & 0xFE) == 0xFC) { // 1111 110x
if ( remain > 5 if ( remain > 5
&& s[i+1].tqunicode() & 0xC0 == 0x80 && s[i+1].unicode() & 0xC0 == 0x80
&& s[i+2].tqunicode() & 0xC0 == 0x80 && s[i+2].unicode() & 0xC0 == 0x80
&& s[i+3].tqunicode() & 0xC0 == 0x80 && s[i+3].unicode() & 0xC0 == 0x80
&& s[i+4].tqunicode() & 0xC0 == 0x80 && s[i+4].unicode() & 0xC0 == 0x80
&& s[i+5].tqunicode() & 0xC0 == 0x80) && s[i+5].unicode() & 0xC0 == 0x80)
utf8_mode = true; utf8_mode = true;
} }
} }

@ -32,8 +32,8 @@ class KOXML_OSTREAM;
* *
* xml.startTag ("head"); // writes &lt;head&gt; * xml.startTag ("head"); // writes &lt;head&gt;
* *
* // write &lt;tqlayout format="a4" orientation="landscape"&gt; * // write &lt;layout format="a4" orientation="landscape"&gt;
* xml.startTag ("tqlayout", false); * xml.startTag ("layout", false);
* xml.addAttribute ("format", "a4"); * xml.addAttribute ("format", "a4");
* xml.addAttribute ("orientation", "landscape"); * xml.addAttribute ("orientation", "landscape");
* xml.closeTag (true); * xml.closeTag (true);

@ -212,9 +212,9 @@ void LangSet::setPixMapFile (const TQString & s, int index)
langs[index].PixMapFile = s; langs[index].PixMapFile = s;
} }
void LangSet::setKeyboardLayout(const TQString& tqlayout, int index) void LangSet::setKeyboardLayout(const TQString& layout, int index)
{ {
if (index < (int) langs.size()) { if (index < (int) langs.size()) {
langs[index].keyboardLayout = tqlayout; langs[index].keyboardLayout = layout;
} }
} }

@ -70,7 +70,7 @@ class LangSet
void setShortId2 (const TQString & shortId2, int index); void setShortId2 (const TQString & shortId2, int index);
void setLongId (const TQString & longId, int index); void setLongId (const TQString & longId, int index);
void setPixMapFile (const TQString & PixMapFile, int index); void setPixMapFile (const TQString & PixMapFile, int index);
void setKeyboardLayout(const TQString & tqlayout, int index); void setKeyboardLayout(const TQString & layout, int index);
TQString findShortId (const TQString & longId) const; TQString findShortId (const TQString & longId) const;
TQString findLongId (const TQString & shortId) const; TQString findLongId (const TQString & shortId) const;

@ -131,7 +131,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="2"> <widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="2">
<property name="name"> <property name="name">
<cstring>tqlayout7</cstring> <cstring>layout7</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -158,7 +158,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -120,7 +120,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="3" column="0"> <widget class="TQLayoutWidget" row="3" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -229,7 +229,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -221,7 +221,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="3" column="0"> <widget class="TQLayoutWidget" row="3" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout14</cstring> <cstring>layout14</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -229,7 +229,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -199,7 +199,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget" row="4" column="0"> <widget class="TQLayoutWidget" row="4" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -229,7 +229,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -29,7 +29,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">
@ -115,7 +115,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout17</cstring> <cstring>layout17</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -240,7 +240,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout16</cstring> <cstring>layout16</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -21,7 +21,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout20</cstring> <cstring>layout20</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -65,7 +65,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0"> <widget class="TQLayoutWidget" row="2" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout30</cstring> <cstring>layout30</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -73,7 +73,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout29</cstring> <cstring>layout29</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -163,7 +163,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout27</cstring> <cstring>layout27</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -269,7 +269,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout19</cstring> <cstring>layout19</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">
@ -309,7 +309,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="4" column="0"> <widget class="TQLayoutWidget" row="4" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout32</cstring> <cstring>layout32</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -317,7 +317,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout31</cstring> <cstring>layout31</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -35,7 +35,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -138,7 +138,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout2_2</cstring> <cstring>layout2_2</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -27,7 +27,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -77,7 +77,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout5</cstring> <cstring>layout5</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -124,7 +124,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="2" column="0"> <widget class="TQLayoutWidget" row="2" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout3</cstring> <cstring>layout3</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -35,7 +35,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<vbox> <vbox>
<property name="name"> <property name="name">

@ -38,7 +38,7 @@ void DlgSpecChar::initDialog(const TQChar &_chr, const TQString &_font, bool /*_
grid = new TQGridLayout( page, 1, 1, KDialog::marginHint(), KDialog::spacingHint() ); grid = new TQGridLayout( page, 1, 1, KDialog::marginHint(), KDialog::spacingHint() );
int t = (_chr.tqunicode()/256); int t = (_chr.unicode()/256);
charSelect = new KCharSelect( page, "", _font, _chr, t); charSelect = new KCharSelect( page, "", _font, _chr, t);
connect(charSelect, TQT_SIGNAL(doubleClicked()),this, TQT_SLOT(slotDoubleClicked())); connect(charSelect, TQT_SIGNAL(doubleClicked()),this, TQT_SLOT(slotDoubleClicked()));

@ -234,7 +234,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="3"> <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="3">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -259,7 +259,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -801,7 +801,7 @@ void KWordQuizApp::slotVocabFont()
void KWordQuizApp::slotVocabKeyboard() void KWordQuizApp::slotVocabKeyboard()
{ {
slotStatusMsg(i18n("Changing the keyboard tqlayout...")); slotStatusMsg(i18n("Changing the keyboard layout..."));
KMessageBox::sorry(0, i18n("Not implemented yet")); KMessageBox::sorry(0, i18n("Not implemented yet"));
slotStatusMsg(i18n("Ready")); slotStatusMsg(i18n("Ready"));
} }
@ -1081,7 +1081,7 @@ void KWordQuizApp::updateSpecialCharIcons( )
TQString KWordQuizApp::charIcon(const TQChar & c) TQString KWordQuizApp::charIcon(const TQChar & c)
{ {
///Create a name and path for the icon ///Create a name and path for the icon
TQString s = locateLocal("icon", "char" + TQString::number(c.tqunicode()) + ".png"); TQString s = locateLocal("icon", "char" + TQString::number(c.unicode()) + ".png");
///No need to redraw if it already exists ///No need to redraw if it already exists
if (KStandardDirs::exists(s)) if (KStandardDirs::exists(s))

@ -32,7 +32,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout58</cstring> <cstring>layout58</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -137,7 +137,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="4" column="0"> <widget class="TQLayoutWidget" row="4" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout60</cstring> <cstring>layout60</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -242,7 +242,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="6" column="0"> <widget class="TQLayoutWidget" row="6" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout13</cstring> <cstring>layout13</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -267,7 +267,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout12</cstring> <cstring>layout12</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -551,7 +551,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="5" column="0"> <widget class="TQLayoutWidget" row="5" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout61</cstring> <cstring>layout61</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -656,7 +656,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout63</cstring> <cstring>layout63</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -814,7 +814,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="3" column="0"> <widget class="TQLayoutWidget" row="3" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout59</cstring> <cstring>layout59</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -308,7 +308,7 @@
</spacer> </spacer>
<widget class="TQLayoutWidget" row="1" column="1"> <widget class="TQLayoutWidget" row="1" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout9</cstring> <cstring>layout9</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -32,7 +32,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="7" column="0"> <widget class="TQLayoutWidget" row="7" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout23</cstring> <cstring>layout23</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -282,7 +282,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="3" column="0"> <widget class="TQLayoutWidget" row="3" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout51</cstring> <cstring>layout51</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -387,7 +387,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="4" column="0"> <widget class="TQLayoutWidget" row="4" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout52</cstring> <cstring>layout52</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -492,7 +492,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="5" column="0"> <widget class="TQLayoutWidget" row="5" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout53</cstring> <cstring>layout53</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -597,7 +597,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="1" column="0"> <widget class="TQLayoutWidget" row="1" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout54</cstring> <cstring>layout54</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -738,7 +738,7 @@
</widget> </widget>
<widget class="TQLayoutWidget" row="0" column="0"> <widget class="TQLayoutWidget" row="0" column="0">
<property name="name"> <property name="name">
<cstring>tqlayout57</cstring> <cstring>layout57</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">

@ -34,9 +34,9 @@ WQPrintDialogPage::WQPrintDialogPage(TQWidget *parent, const char *name )
g = new TQButtonGroup(i18n("Select Type of Printout"), this ); g = new TQButtonGroup(i18n("Select Type of Printout"), this );
g->setColumnLayout(0, Qt::Vertical ); g->setColumnLayout(0, Qt::Vertical );
g->tqlayout()->setSpacing( 6 ); g->layout()->setSpacing( 6 );
g->tqlayout()->setMargin( 11 ); g->layout()->setMargin( 11 );
TQGridLayout * v = new TQGridLayout( g->tqlayout() ); TQGridLayout * v = new TQGridLayout( g->layout() );
v->setAlignment( TQt::AlignTop ); v->setAlignment( TQt::AlignTop );
rb0 = new TQRadioButton(i18n("Vocabulary &list"), g ); rb0 = new TQRadioButton(i18n("Vocabulary &list"), g );

@ -490,7 +490,7 @@ ExtDatePicker::setFontSize(int s)
maxMonthRect.setHeight(TQMAX(r.height(), maxMonthRect.height())); maxMonthRect.setHeight(TQMAX(r.height(), maxMonthRect.height()));
} }
TQSize metricBound = tqstyle().tqsizeFromContents(TQStyle::CT_ToolButton, TQSize metricBound = style().tqsizeFromContents(TQStyle::CT_ToolButton,
selectMonth, selectMonth,
maxMonthRect); maxMonthRect);
selectMonth->setMinimumSize(metricBound); selectMonth->setMinimumSize(metricBound);

@ -436,7 +436,7 @@ void ExtDateTimeEditor::paintEvent( TQPaintEvent * )
colorGroup().brush( isEnabled() ? TQColorGroup::Base : TQColorGroup::Background ); colorGroup().brush( isEnabled() ? TQColorGroup::Base : TQColorGroup::Background );
buffer.painter()->fillRect( 0, 0, width(), height(), bg ); buffer.painter()->fillRect( 0, 0, width(), height(), bg );
d->paint( txt, hasFocus(), *buffer.painter(), colorGroup(), rect(), d->paint( txt, hasFocus(), *buffer.painter(), colorGroup(), rect(),
tqstyle() ); style() );
buffer.end(); buffer.end();
} }
@ -974,7 +974,7 @@ TQSize ExtDateEdit::sizeHint() const
{ {
constPolish(); constPolish();
TQFontMetrics fm( font() ); TQFontMetrics fm( font() );
int fw = tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth, this ); int fw = style().pixelMetric( TQStyle::PM_DefaultFrameWidth, this );
int h = TQMAX( fm.lineSpacing(), 14 ) + 2; int h = TQMAX( fm.lineSpacing(), 14 ) + 2;
int w = 2 + fm.width( '9' ) * 8 + fm.width( d->ed->separator() ) * 2 int w = 2 + fm.width( '9' ) * 8 + fm.width( d->ed->separator() ) * 2
+ d->controls->upRect().width() + fw * 4; + d->controls->upRect().width() + fw * 4;
@ -2434,7 +2434,7 @@ public:
// { // {
// constPolish(); // constPolish();
// TQFontMetrics fm( font() ); // TQFontMetrics fm( font() );
// int fw = tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth, this ); // int fw = style().pixelMetric( TQStyle::PM_DefaultFrameWidth, this );
// int h = fm.lineSpacing() + 2; // int h = fm.lineSpacing() + 2;
// int w = 2 + fm.width( '9' ) * 6 + fm.width( d->ed->separator() ) * 2 + // int w = 2 + fm.width( '9' ) * 6 + fm.width( d->ed->separator() ) * 2 +
// d->controls->upRect().width() + fw * 4; // d->controls->upRect().width() + fw * 4;

@ -74,8 +74,8 @@ ExtDateWidget::ExtDateWidget( const ExtDate &date, TQWidget *parent,
// { // {
// d = new ExtDateWidgetPrivate; // d = new ExtDateWidgetPrivate;
// KLocale *locale = KGlobal::locale(); // KLocale *locale = KGlobal::locale();
// TQHBoxLayout *tqlayout = new TQHBoxLayout(this, 0, KDialog::spacingHint()); // TQHBoxLayout *layout = new TQHBoxLayout(this, 0, KDialog::spacingHint());
// tqlayout->setAutoAdd(true); // layout->setAutoAdd(true);
// d->m_day = new ExtDateWidgetSpinBox(1, 1, this); // d->m_day = new ExtDateWidgetSpinBox(1, 1, this);
// d->m_month = new TQComboBox(false, this); // d->m_month = new TQComboBox(false, this);
// for (int i = 1; ; ++i) // for (int i = 1; ; ++i)
@ -98,8 +98,8 @@ void ExtDateWidget::init(const ExtDate& date)
{ {
d = new ExtDateWidgetPrivate; d = new ExtDateWidgetPrivate;
//KLocale *locale = KGlobal::locale(); //KLocale *locale = KGlobal::locale();
TQHBoxLayout *tqlayout = new TQHBoxLayout(this, 0, KDialog::spacingHint()); TQHBoxLayout *layout = new TQHBoxLayout(this, 0, KDialog::spacingHint());
tqlayout->setAutoAdd(true); layout->setAutoAdd(true);
d->m_day = new ExtDateWidgetSpinBox(1, 1, this); d->m_day = new ExtDateWidgetSpinBox(1, 1, this);
d->m_month = new TQComboBox(false, this); d->m_month = new TQComboBox(false, this);
for (int i = 1; ; ++i) for (int i = 1; ; ++i)

@ -148,7 +148,7 @@ class Glossary
TQString m_picturepath; TQString m_picturepath;
/** /**
* Load the tqlayout from an XML file. * Load the layout from an XML file.
* *
* @param doc The TQDomDocument which will contain the read XML * @param doc The TQDomDocument which will contain the read XML
* contents. * contents.

Loading…
Cancel
Save