diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
commit | a374efce3a207b39514be3c52264091400ce297e (patch) | |
tree | 77bdf654b55826d4f59b53a5621310206bcaead1 /ktouch/src/ktouchcoloreditor.cpp | |
parent | f81a494f3957d5cf38c787973415597941934727 (diff) | |
download | tdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip |
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktouch/src/ktouchcoloreditor.cpp')
-rw-r--r-- | ktouch/src/ktouchcoloreditor.cpp | 10 |
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); } // ---------------------------------------------------------------------------- |