summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchcoloreditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ktouch/src/ktouchcoloreditor.cpp')
-rw-r--r--ktouch/src/ktouchcoloreditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ktouch/src/ktouchcoloreditor.cpp b/ktouch/src/ktouchcoloreditor.cpp
index e9bdb829..b1f3e3a4 100644
--- a/ktouch/src/ktouchcoloreditor.cpp
+++ b/ktouch/src/ktouchcoloreditor.cpp
@@ -23,8 +23,8 @@
#include <klocale.h>
#include <kmessagebox.h>
-KTouchColorEditor::KTouchColorEditor(TQWidget* parent, const char* name, bool modal, WFlags fl)
-: KTouchColorEditorDlg(parent,name, modal,fl)
+KTouchColorEditor::KTouchColorEditor(TQWidget* tqparent, const char* name, bool modal, WFlags fl)
+: KTouchColorEditorDlg(tqparent,name, modal,fl)
{
}
// ----------------------------------------------------------------------------
@@ -36,7 +36,7 @@ KTouchColorEditor::~KTouchColorEditor()
void KTouchColorEditor::startEditor(TQValueList<KTouchColorScheme>& schemes, int active, int & selected) {
m_schemes = schemes;
- m_currentItem = QMAX(0, active);
+ m_currentItem = TQMAX(0, active);
updateListBox();
if (active >= 0) m_currentItem = active;
@@ -107,7 +107,7 @@ void KTouchColorEditor::updateClicked() {
(*it).m_background[7] = back8Btn->color();
updateListBox();
- schemeListBox->setCurrentItem( QMIN(old_num, static_cast<int>(m_schemes.count())-1) );
+ schemeListBox->setCurrentItem( TQMIN(old_num, static_cast<int>(m_schemes.count())-1) );
colorSchemeChanged(NULL);
}
// ----------------------------------------------------------------------------
@@ -121,7 +121,7 @@ void KTouchColorEditor::removeBtnClicked() {
m_schemes.erase(it);
}
updateListBox();
- schemeListBox->setCurrentItem( QMIN(old_num, static_cast<int>(m_schemes.count())-1) );
+ schemeListBox->setCurrentItem( TQMIN(old_num, static_cast<int>(m_schemes.count())-1) );
colorSchemeChanged(NULL);
}
// ----------------------------------------------------------------------------