summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/qeditlistbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/qeditlistbox.cpp')
-rw-r--r--lib/widgets/propeditor/qeditlistbox.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/widgets/propeditor/qeditlistbox.cpp b/lib/widgets/propeditor/qeditlistbox.cpp
index db40e8e7..565786f0 100644
--- a/lib/widgets/propeditor/qeditlistbox.cpp
+++ b/lib/widgets/propeditor/qeditlistbox.cpp
@@ -46,24 +46,24 @@ public:
int buttons;
};
-QEditListBox::QEditListBox(TQWidget *parent, const char *name,
+QEditListBox::QEditListBox(TQWidget *tqparent, const char *name,
bool checkAtEntering, int buttons )
- :TQGroupBox(parent, name )
+ :TQGroupBox(tqparent, name )
{
init( checkAtEntering, buttons );
}
-QEditListBox::QEditListBox(const TQString& title, TQWidget *parent,
+QEditListBox::QEditListBox(const TQString& title, TQWidget *tqparent,
const char *name, bool checkAtEntering, int buttons)
- :TQGroupBox(title, parent, name )
+ :TQGroupBox(title, tqparent, name )
{
init( checkAtEntering, buttons );
}
QEditListBox::QEditListBox(const TQString& title, const CustomEditor& custom,
- TQWidget *parent, const char *name,
+ TQWidget *tqparent, const char *name,
bool checkAtEntering, int buttons)
- :TQGroupBox(title, parent, name )
+ :TQGroupBox(title, tqparent, name )
{
m_lineEdit = custom.lineEdit();
init( checkAtEntering, buttons, custom.representationWidget() );
@@ -92,7 +92,7 @@ void QEditListBox::init( bool checkAtEntering, int buttons,
servNewButton = servRemoveButton = servUpButton = servDownButton = 0L;
- setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding,
+ tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding,
TQSizePolicy::MinimumExpanding));
TQWidget * gb = this;
@@ -185,7 +185,7 @@ void QEditListBox::typedSomething(const TQString& text)
else
{
StringComparisonMode mode = (StringComparisonMode) (ExactMatch | CaseSensitive );
- bool enable = (m_listBox->findItem( text, mode ) == 0L);
+ bool enable = (m_listBox->tqfindItem( text, mode ) == 0L);
servNewButton->setEnabled( enable );
}
}
@@ -256,7 +256,7 @@ void QEditListBox::addItem()
else
{
StringComparisonMode mode = (StringComparisonMode) (ExactMatch | CaseSensitive );
- alreadyInList =(m_listBox->findItem(currentTextLE, mode) != 0);
+ alreadyInList =(m_listBox->tqfindItem(currentTextLE, mode) != 0);
}
}
@@ -298,7 +298,7 @@ void QEditListBox::removeItem()
m_listBox->removeItem( selected );
if ( count() > 0 )
- m_listBox->setSelected( QMIN( selected, count() - 1 ), true );
+ m_listBox->setSelected( TQMIN( selected, count() - 1 ), true );
emit changed();
emit removed( removedText );