diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:28 -0600 |
commit | 90705c50d34801a0f7516ddc4d3bf6c295413297 (patch) | |
tree | e3b61cdd31aaddef0bf7c78231a08599f8851225 /src/knutprefdlg.cpp | |
parent | e29455aea4fc1fda591862200c6321a3722e134c (diff) | |
download | knutclient-90705c50d34801a0f7516ddc4d3bf6c295413297.tar.gz knutclient-90705c50d34801a0f7516ddc4d3bf6c295413297.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit e29455aea4fc1fda591862200c6321a3722e134c.
Diffstat (limited to 'src/knutprefdlg.cpp')
-rw-r--r-- | src/knutprefdlg.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/knutprefdlg.cpp b/src/knutprefdlg.cpp index 91474c8..e440380 100644 --- a/src/knutprefdlg.cpp +++ b/src/knutprefdlg.cpp @@ -22,7 +22,7 @@ #include <kiconloader.h> -#include <layout.h> +#include <tqlayout.h> #include <tqgroupbox.h> #include <tqbuttongroup.h> #include <tqradiobutton.h> @@ -210,7 +210,7 @@ void KNutPrefDlg::slotNewUps () { // pridame data do okenka m_listBox2->insertItem(upsRecord.name); // pokud pridame prvni prekreslime hlavni okno - // when adds the first sameone, will repaint window + // when adds the first sameone, will tqrepaint window m_checked = true; if (m_myUpsData->getCount() ==1 ) m_checkedActiveUps = true; } @@ -630,16 +630,16 @@ void KNutPrefDlg::initUps () { // makes box for names of UPS's / Vytvorime box pro jmena UPS-ek m_listBox2 = new KListBox( page, "ListBox2" ); - m_listBox2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, m_listBox2->sizePolicy().hasHeightForWidth() ) ); + m_listBox2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, m_listBox2->sizePolicy().hasHeightForWidth() ) ); m_listBox2->setFrameShape( TQListBox::StyledPanel ); m_listBox2->setFrameShadow( TQListBox::Sunken ); m_listBox2->setMinimumSize (100,100); // sets listbox for (int i=0; i < m_myUpsData->getCount (); i++) m_listBox2->insertItem (m_myUpsData->getName(i)); - //includes listbox into horizontal layout on the first place + //includes listbox into horizontal tqlayout on the first place upsTopLayout->addWidget( m_listBox2, 20 ); - // makes vertical layout and includes it in horizontal layout into the second place + // makes vertical tqlayout and includes it in horizontal tqlayout into the second place TQVBoxLayout *upsLayout = new TQVBoxLayout( upsTopLayout, spacingHint (),"upsLayout" ); // vytvorime tlacitka @@ -647,7 +647,7 @@ void KNutPrefDlg::initUps () { KPushButton *editButton = new KPushButton (i18n("&Edit"),page); KPushButton *deleteButton = new KPushButton (i18n("&Delete"),page); - // includes buttons into layout / vlozime tlacitka do layoutu + // includes buttons into tqlayout / vlozime tlacitka do layoutu upsLayout->addWidget( newButton ); upsLayout->addWidget( editButton ); upsLayout->addWidget( deleteButton ); |