From 90705c50d34801a0f7516ddc4d3bf6c295413297 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:28 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit e29455aea4fc1fda591862200c6321a3722e134c. --- src/knutprefdlg.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/knutprefdlg.cpp') 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 -#include +#include #include #include #include @@ -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 ); -- cgit v1.2.1