summaryrefslogtreecommitdiffstats
path: root/src/modules/logview
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:29 -0600
commit2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf (patch)
tree9cf20f45e85e8192ae89b22807cf1e82e5012cd9 /src/modules/logview
parentf91149819be7e7f45e68f22876f3c0062a11d4b9 (diff)
downloadkvirc-2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf.tar.gz
kvirc-2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/modules/logview')
-rw-r--r--src/modules/logview/logviewmdiwindow.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/modules/logview/logviewmdiwindow.cpp b/src/modules/logview/logviewmdiwindow.cpp
index 55b36225..84a67118 100644
--- a/src/modules/logview/logviewmdiwindow.cpp
+++ b/src/modules/logview/logviewmdiwindow.cpp
@@ -90,67 +90,67 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra
m_pSearchTab = new TQWidget(m_pTabWidget);
m_pTabWidget->insertTab(m_pSearchTab,__tr2qs_ctx("Filter","logview"));
- TQGridLayout *tqlayout = new TQGridLayout(m_pSearchTab,10,2,3,5);
+ TQGridLayout *layout = new TQGridLayout(m_pSearchTab,10,2,3,5);
m_pShowChannelsCheck = new KviStyledCheckBox(__tr2qs_ctx("Show channel logs","logview"),m_pSearchTab);
m_pShowChannelsCheck->setChecked(true);
- tqlayout->addMultiCellWidget(m_pShowChannelsCheck,0,0,0,1);
+ layout->addMultiCellWidget(m_pShowChannelsCheck,0,0,0,1);
m_pShowQueryesCheck = new KviStyledCheckBox(__tr2qs_ctx("Show query logs","logview"),m_pSearchTab);
m_pShowQueryesCheck->setChecked(true);
- tqlayout->addMultiCellWidget(m_pShowQueryesCheck,1,1,0,1);
+ layout->addMultiCellWidget(m_pShowQueryesCheck,1,1,0,1);
m_pShowConsolesCheck = new KviStyledCheckBox(__tr2qs_ctx("Show console logs","logview"),m_pSearchTab);
m_pShowConsolesCheck->setChecked(true);
- tqlayout->addMultiCellWidget(m_pShowConsolesCheck,2,2,0,1);
+ layout->addMultiCellWidget(m_pShowConsolesCheck,2,2,0,1);
m_pShowDccChatCheck = new KviStyledCheckBox(__tr2qs_ctx("Show DCC chat logs","logview"),m_pSearchTab);
m_pShowDccChatCheck->setChecked(true);
- tqlayout->addMultiCellWidget(m_pShowDccChatCheck,3,3,0,1);
+ layout->addMultiCellWidget(m_pShowDccChatCheck,3,3,0,1);
m_pShowOtherCheck = new KviStyledCheckBox(__tr2qs_ctx("Show other logs","logview"),m_pSearchTab);
m_pShowOtherCheck->setChecked(true);
- tqlayout->addMultiCellWidget(m_pShowOtherCheck,4,4,0,1);
+ layout->addMultiCellWidget(m_pShowOtherCheck,4,4,0,1);
TQLabel *l;
l = new TQLabel(__tr2qs_ctx("Contents filter","logview"),m_pSearchTab);
- tqlayout->addMultiCellWidget(l,5,5,0,1);
+ layout->addMultiCellWidget(l,5,5,0,1);
l = new TQLabel(__tr2qs_ctx("Log name mask:","logview"),m_pSearchTab);
m_pFileNameMask = new TQLineEdit(m_pSearchTab);
connect(m_pFileNameMask,TQT_SIGNAL(returnPressed()),this,TQT_SLOT(applyFilter()));
- tqlayout->addWidget(l,6,0);
- tqlayout->addWidget(m_pFileNameMask,6,1);
+ layout->addWidget(l,6,0);
+ layout->addWidget(m_pFileNameMask,6,1);
l = new TQLabel(__tr2qs_ctx("Log contents mask:","logview"),m_pSearchTab);
m_pContentsMask = new TQLineEdit(m_pSearchTab);
connect(m_pContentsMask,TQT_SIGNAL(returnPressed()),this,TQT_SLOT(applyFilter()));
- tqlayout->addWidget(l,7,0);
- tqlayout->addWidget(m_pContentsMask,7,1);
+ layout->addWidget(l,7,0);
+ layout->addWidget(m_pContentsMask,7,1);
m_pEnableFromFilter = new KviStyledCheckBox(__tr2qs_ctx("Only older than","logview"),m_pSearchTab);
m_pFromDateEdit = new TQDateEdit(m_pSearchTab);
m_pFromDateEdit->setDate(TQDate::currentDate());
- tqlayout->addWidget(m_pEnableFromFilter,8,0);
- tqlayout->addWidget(m_pFromDateEdit,8,1);
+ layout->addWidget(m_pEnableFromFilter,8,0);
+ layout->addWidget(m_pFromDateEdit,8,1);
connect(m_pEnableFromFilter,TQT_SIGNAL(toggled(bool)),m_pFromDateEdit,TQT_SLOT(setEnabled(bool)));
m_pFromDateEdit->setEnabled(false);
m_pEnableToFilter = new KviStyledCheckBox(__tr2qs_ctx("Only newier than","logview"),m_pSearchTab);
m_pToDateEdit = new TQDateEdit(m_pSearchTab);
m_pToDateEdit->setDate(TQDate::currentDate());
- tqlayout->addWidget(m_pEnableToFilter,9,0);
- tqlayout->addWidget(m_pToDateEdit,9,1);
+ layout->addWidget(m_pEnableToFilter,9,0);
+ layout->addWidget(m_pToDateEdit,9,1);
connect(m_pEnableToFilter,TQT_SIGNAL(toggled(bool)),m_pToDateEdit,TQT_SLOT(setEnabled(bool)));
m_pToDateEdit->setEnabled(false);
TQPushButton *pb = new TQPushButton(__tr2qs_ctx("Apply filter","logview"),m_pSearchTab);
connect(pb,TQT_SIGNAL(clicked()),this,TQT_SLOT(applyFilter()));
- tqlayout->addWidget(pb,10,1);
+ layout->addWidget(pb,10,1);
TQWidget *w = new TQWidget(m_pSearchTab);
w->setSizePolicy(TQSizePolicy::Ignored,TQSizePolicy::Ignored);
- tqlayout->addWidget(w,11,1);
+ layout->addWidget(w,11,1);
m_pIrcView = new KviIrcView(m_pSplitter,g_pFrame,this);
#ifdef COMPILE_USE_QT4