summaryrefslogtreecommitdiffstats
path: root/src/knutprefdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/knutprefdlg.cpp')
-rw-r--r--src/knutprefdlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/knutprefdlg.cpp b/src/knutprefdlg.cpp
index e440380..91474c8 100644
--- a/src/knutprefdlg.cpp
+++ b/src/knutprefdlg.cpp
@@ -22,7 +22,7 @@
#include <kiconloader.h>
-#include <tqlayout.h>
+#include <layout.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 tqrepaint window
+ // when adds the first sameone, will repaint 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->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, m_listBox2->sizePolicy().hasHeightForWidth() ) );
+ m_listBox2->setSizePolicy( 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 tqlayout on the first place
+ //includes listbox into horizontal layout on the first place
upsTopLayout->addWidget( m_listBox2, 20 );
- // makes vertical tqlayout and includes it in horizontal tqlayout into the second place
+ // makes vertical layout and includes it in horizontal layout 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 tqlayout / vlozime tlacitka do layoutu
+ // includes buttons into layout / vlozime tlacitka do layoutu
upsLayout->addWidget( newButton );
upsLayout->addWidget( editButton );
upsLayout->addWidget( deleteButton );