summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kxmlcommandselector.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeprint/management/kxmlcommandselector.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kxmlcommandselector.cpp')
-rw-r--r--kdeprint/management/kxmlcommandselector.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeprint/management/kxmlcommandselector.cpp b/kdeprint/management/kxmlcommandselector.cpp
index 4e57b3922..c6eccda28 100644
--- a/kdeprint/management/kxmlcommandselector.cpp
+++ b/kdeprint/management/kxmlcommandselector.cpp
@@ -137,7 +137,7 @@ void KXmlCommandSelector::loadCommands()
}
m_cmd->insertStringList(desclist);
- int index = m_cmdlist.findIndex(thisCmd);
+ int index = m_cmdlist.tqfindIndex(thisCmd);
if (index != -1)
m_cmd->setCurrentItem(index);
if (m_cmd->currentItem() != -1 && m_cmd->isEnabled())
@@ -156,7 +156,7 @@ TQString KXmlCommandSelector::command() const
void KXmlCommandSelector::setCommand(const TQString& cmd)
{
- int index = m_cmdlist.findIndex(cmd);
+ int index = m_cmdlist.tqfindIndex(cmd);
if (m_usefilter)
m_usefilter->setChecked(index != -1);
@@ -176,7 +176,7 @@ void KXmlCommandSelector::slotAddCommand()
{
bool added(true);
- if (m_cmdlist.findIndex(cmdId) != -1)
+ if (m_cmdlist.tqfindIndex(cmdId) != -1)
{
if (KMessageBox::warningContinueCancel(
this,
@@ -275,7 +275,7 @@ void KXmlCommandSelector::slotHelpCommand()
{
KPopupFrame *pop = new KPopupFrame( m_helpbtn );
KActiveLabel *lab = new KActiveLabel( m_help, pop );
- lab->resize( lab->sizeHint() );
+ lab->resize( lab->tqsizeHint() );
pop->setMainWidget( lab );
pop->exec( m_helpbtn->mapToGlobal( TQPoint( m_helpbtn->width(), 0 ) ) );
pop->close( 0 );