diff options
Diffstat (limited to 'developer-doc/phb/src-examples.docbook')
-rw-r--r-- | developer-doc/phb/src-examples.docbook | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/developer-doc/phb/src-examples.docbook b/developer-doc/phb/src-examples.docbook index 92e912e..0075ce3 100644 --- a/developer-doc/phb/src-examples.docbook +++ b/developer-doc/phb/src-examples.docbook @@ -241,13 +241,13 @@ void KSettingsDlg::setPageGeneral() // Create a group box to hold the available options QButtonGroup *qbuttongroup = new QButtonGroup(qvboxMainFrame, "GroupBox1"); qbuttongroup->setTitle( i18n( "Startup options" ) ); - qbuttongroup->setColumnLayout(0, Qt::Vertical ); + qbuttongroup->setColumnLayout(0, TQt::Vertical ); qbuttongroup->layout()->setSpacing( 0 ); qbuttongroup->layout()->setMargin( 0 ); // Create a layout to organize the widgets. QVBoxLayout *qvboxlayout = new QVBoxLayout(qbuttongroup->layout()); - qvboxlayout->setAlignment( Qt::AlignTop ); + qvboxlayout->setAlignment( TQt::AlignTop ); qvboxlayout->setSpacing( 6 ); qvboxlayout->setMargin( 11 ); @@ -308,13 +308,13 @@ void KSettingsDlg::setPageList() // Create a group to hold two radio buttons QButtonGroup *qbuttongroup = new QButtonGroup(qwidgetPage, "ButtonGroup1"); qbuttongroup->setTitle(i18n("Row Colour options")); - qbuttongroup->setColumnLayout(0, Qt::Vertical ); + qbuttongroup->setColumnLayout(0, TQt::Vertical ); qbuttongroup->layout()->setSpacing( 0 ); qbuttongroup->layout()->setMargin( 0 ); // Create a layout QVBoxLayout *qvboxlayout = new QVBoxLayout(qbuttongroup->layout()); - qvboxlayout->setAlignment( Qt::AlignTop ); + qvboxlayout->setAlignment( TQt::AlignTop ); qvboxlayout->setSpacing( 6 ); qvboxlayout->setMargin( 11 ); @@ -416,8 +416,8 @@ void KSettingsDlg::configRead() tdeconfig->setGroup("List Options"); QFont qfontDefault = QFont("helvetica", 12); - TQColor qcolorDefault = Qt::white; - TQColor qcolorDefaultBG = Qt::gray; + TQColor qcolorDefault = TQt::white; + TQColor qcolorDefaultBG = TQt::gray; m_qcolorTempList = tdeconfig->readColorEntry("listColor", &qcolorDefault); m_kcolorbuttonList->setColor(m_qcolorTempList); |