diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:36:44 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:43:01 +0900 |
commit | b3df4d055e72863ca51ec9c0428a490306989ff4 (patch) | |
tree | df96e48a48115df6c20bff7b24ba13d8ca361b91 /kaboodle | |
parent | b6d4b7931aaf79a821bcbf5c653beb9c06916750 (diff) | |
download | tdemultimedia-b3df4d055e72863ca51ec9c0428a490306989ff4.tar.gz tdemultimedia-b3df4d055e72863ca51ec9c0428a490306989ff4.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kaboodle')
-rw-r--r-- | kaboodle/controls.cpp | 8 | ||||
-rw-r--r-- | kaboodle/controls.h | 4 | ||||
-rw-r--r-- | kaboodle/view.cpp | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kaboodle/controls.cpp b/kaboodle/controls.cpp index c6b0a4a8..5ac7d3b0 100644 --- a/kaboodle/controls.cpp +++ b/kaboodle/controls.cpp @@ -26,11 +26,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Kaboodle::L33tSlider::L33tSlider(TQWidget * parent, const char * name) : TQSlider(parent,name), pressed(false) {} -Kaboodle::L33tSlider::L33tSlider(Qt::Orientation o, TQWidget * parent, const char * name) : +Kaboodle::L33tSlider::L33tSlider(TQt::Orientation o, TQWidget * parent, const char * name) : TQSlider(o,parent,name), pressed(false) {} Kaboodle::L33tSlider::L33tSlider(int minValue, int maxValue, int pageStep, int value, - Qt::Orientation o, TQWidget * parent, const char * name) : + TQt::Orientation o, TQWidget * parent, const char * name) : TQSlider(minValue, maxValue, pageStep, value, o, parent,name), pressed(false) {} @@ -47,7 +47,7 @@ void Kaboodle::L33tSlider::setValue(int i) void Kaboodle::L33tSlider::mousePressEvent(TQMouseEvent*e) { - if (e->button()!=Qt::RightButton) + if (e->button()!=TQt::RightButton) { pressed=true; TQSlider::mousePressEvent(e); @@ -91,7 +91,7 @@ int Kaboodle::SliderAction::plug( TQWidget *w, int index ) int id = TDEAction::getToolButtonID(); //Create it. - m_slider=new L33tSlider(0, 1000, 100, 0,Qt::Horizontal, toolBar); + m_slider=new L33tSlider(0, 1000, 100, 0,TQt::Horizontal, toolBar); m_slider->setMinimumWidth(10); toolBar->insertWidget(id, 10, m_slider, index ); diff --git a/kaboodle/controls.h b/kaboodle/controls.h index 73916b6e..36bf4cb4 100644 --- a/kaboodle/controls.h +++ b/kaboodle/controls.h @@ -46,9 +46,9 @@ TQ_OBJECT public: L33tSlider(TQWidget * parent, const char * name=0); - L33tSlider(Qt::Orientation, TQWidget * parent, const char * name=0); + L33tSlider(TQt::Orientation, TQWidget * parent, const char * name=0); L33tSlider(int minValue, int maxValue, int pageStep, int value, - Qt::Orientation, TQWidget * parent, const char * name=0); + TQt::Orientation, TQWidget * parent, const char * name=0); bool currentlyPressed() const; signals: diff --git a/kaboodle/view.cpp b/kaboodle/view.cpp index e5bcf305..ef9e1fcb 100644 --- a/kaboodle/view.cpp +++ b/kaboodle/view.cpp @@ -89,7 +89,7 @@ Kaboodle::View::View(TQWidget *parent, const char *name, Player *p) pauseButton = createButton(BarIconSet("media-playback-pause"), i18n("Pause"), player, TQT_SLOT(pause()), sliderBox); stopButton = createButton(BarIconSet("media-playback-stop"), i18n("Stop"), player, TQT_SLOT(stop()), sliderBox); - slider = new L33tSlider(0, 1000, 10, 0, Qt::Horizontal, sliderBox); + slider = new L33tSlider(0, 1000, 10, 0, TQt::Horizontal, sliderBox); slider->setTickmarks(TQSlider::NoMarks); slider->show(); |