diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:20 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:20 -0600 |
commit | c6611272c2bc4a42580848946c8c5d81bb0409c7 (patch) | |
tree | 0fd5b58844663dfcd00fb2b79cf67dd0fd429c62 /src/modules/options/optw_mediatypes.cpp | |
parent | 805c2821ceaddada48b346c6d11bd0dc1351a539 (diff) | |
download | kvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.tar.gz kvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 805c2821ceaddada48b346c6d11bd0dc1351a539.
Diffstat (limited to 'src/modules/options/optw_mediatypes.cpp')
-rw-r--r-- | src/modules/options/optw_mediatypes.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/modules/options/optw_mediatypes.cpp b/src/modules/options/optw_mediatypes.cpp index 51cdad76..b93081e9 100644 --- a/src/modules/options/optw_mediatypes.cpp +++ b/src/modules/options/optw_mediatypes.cpp @@ -22,7 +22,7 @@ #include "optw_mediatypes.h" -#include <layout.h> +#include <tqlayout.h> #include <tqlabel.h> #include "kvi_tal_tooltip.h" @@ -77,72 +77,72 @@ KviMediaTypesOptionsWidget::KviMediaTypesOptionsWidget(TQWidget * parent) connect(m_pListView,TQT_SIGNAL(currentChanged(KviTalListViewItem *)),this,TQT_SLOT(currentItemChanged(KviTalListViewItem *))); - layout()->addMultiCellWidget(m_pListView,0,0,0,2); + tqlayout()->addMultiCellWidget(m_pListView,0,0,0,2); TQLabel * l = new TQLabel(__tr2qs_ctx("Description:","options"),this); - layout()->addWidget(l,1,0); + tqlayout()->addWidget(l,1,0); m_pDescription = new TQLineEdit(this); - layout()->addMultiCellWidget(m_pDescription,1,1,1,2); + tqlayout()->addMultiCellWidget(m_pDescription,1,1,1,2); l = new TQLabel(__tr2qs_ctx("MIME type:","options"),this); - layout()->addWidget(l,2,0); + tqlayout()->addWidget(l,2,0); m_pIanaType = new TQLineEdit(this); - layout()->addMultiCellWidget(m_pIanaType,2,2,1,2); + tqlayout()->addMultiCellWidget(m_pIanaType,2,2,1,2); l = new TQLabel(__tr2qs_ctx("File pattern:","options"),this); - layout()->addWidget(l,3,0); + tqlayout()->addWidget(l,3,0); m_pFileMask = new TQLineEdit(this); - layout()->addMultiCellWidget(m_pFileMask,3,3,1,2); + tqlayout()->addMultiCellWidget(m_pFileMask,3,3,1,2); l = new TQLabel(__tr2qs_ctx("Magic bytes:","options"),this); - layout()->addWidget(l,4,0); + tqlayout()->addWidget(l,4,0); m_pMagicBytes = new TQLineEdit(this); - layout()->addMultiCellWidget(m_pMagicBytes,4,4,1,2); + tqlayout()->addMultiCellWidget(m_pMagicBytes,4,4,1,2); l = new TQLabel(__tr2qs_ctx("Save path:","options"),this); - layout()->addWidget(l,5,0); + tqlayout()->addWidget(l,5,0); m_pSavePath = new TQLineEdit(this); - layout()->addMultiCellWidget(m_pSavePath,5,5,1,2); + tqlayout()->addMultiCellWidget(m_pSavePath,5,5,1,2); l = new TQLabel(__tr2qs_ctx("Local open command:","options"),this); - layout()->addWidget(l,6,0); + tqlayout()->addWidget(l,6,0); m_pCommandline = new TQLineEdit(this); - layout()->addMultiCellWidget(m_pCommandline,6,6,1,2); + tqlayout()->addMultiCellWidget(m_pCommandline,6,6,1,2); #ifdef COMPILE_INFO_TIPS mergeTip(m_pCommandline,__tr2qs_ctx("<center>This field contains the command to execute to open a local file.<br>" \ "<tt>$0</tt> is used in place of the filename</center>","options")); #endif l = new TQLabel(__tr2qs_ctx("Remote open command:","options"),this); - layout()->addWidget(l,7,0); + tqlayout()->addWidget(l,7,0); m_pRemoteExecCommandline = new TQLineEdit(this); - layout()->addMultiCellWidget(m_pRemoteExecCommandline,7,7,1,2); + tqlayout()->addMultiCellWidget(m_pRemoteExecCommandline,7,7,1,2); #ifdef COMPILE_INFO_TIPS mergeTip(m_pRemoteExecCommandline,__tr2qs_ctx("<center>This field contains the command to execute when automatically opening a received file.<br>" \ "<tt>$0</tt> is used in place of the filename</center>","options")); #endif l = new TQLabel(__tr2qs_ctx("Icon","options"),this); - layout()->addWidget(l,8,0); + tqlayout()->addWidget(l,8,0); m_pIcon = new TQLineEdit(this); - layout()->addMultiCellWidget(m_pIcon,8,8,1,2); + tqlayout()->addMultiCellWidget(m_pIcon,8,8,1,2); TQFrame * f = new TQFrame(this); f->setFrameStyle(TQFrame::Sunken | TQFrame::HLine); - layout()->addMultiCellWidget(f,9,9,0,2); + tqlayout()->addMultiCellWidget(f,9,9,0,2); TQPushButton * b = new TQPushButton(__tr2qs_ctx("&New","options"),this); connect(b,TQT_SIGNAL(clicked()),this,TQT_SLOT(newMediaType())); - layout()->addWidget(b,10,1); + tqlayout()->addWidget(b,10,1); m_pDelete = new TQPushButton(__tr2qs_ctx("Re&move","options"),this); connect(m_pDelete,TQT_SIGNAL(clicked()),this,TQT_SLOT(delMediaType())); - layout()->addWidget(m_pDelete,10,2); + tqlayout()->addWidget(m_pDelete,10,2); - layout()->setColStretch(1,1); - layout()->setColStretch(2,1); - layout()->setRowStretch(0,1); + tqlayout()->setColStretch(1,1); + tqlayout()->setColStretch(2,1); + tqlayout()->setRowStretch(0,1); m_pLastItem = 0; |