summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-06 11:29:10 +0900
committerMichele Calgaro <[email protected]>2023-11-07 10:49:54 +0900
commit96f327c14acd697b936e88289165e0edb57d7fb6 (patch)
treefdf24ccd79bca9a6085d35a670c7299cb2a27fe3
parentd48a4e1b0d41fa262f29142736d11ce22cffa657 (diff)
downloadtdeaddons-96f327c14acd697b936e88289165e0edb57d7fb6.tar.gz
tdeaddons-96f327c14acd697b936e88289165e0edb57d7fb6.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp4
-rw-r--r--kate/cppsymbolviewer/plugin_katesymbolviewer.cpp2
-rw-r--r--kate/insertcommand/plugin_kateinsertcommand.cpp2
-rw-r--r--kate/snippets/plugin_katesnippets.cpp4
-rw-r--r--kate/tabbarextension/plugin_katetabbarextension.cpp18
-rw-r--r--kate/tabbarextension/plugin_katetabbarextension.h12
-rw-r--r--kicker-applets/kbinaryclock/kbinaryclock.cpp6
-rw-r--r--kicker-applets/kolourpicker/kolourpicker.cpp2
-rw-r--r--kicker-applets/kolourpicker/simplebutton.cpp4
-rw-r--r--kicker-applets/kolourpicker/simplebutton.h4
-rw-r--r--kicker-applets/ktimemon/confdlg.cpp2
-rw-r--r--kicker-applets/ktimemon/timemon.cpp6
-rw-r--r--kicker-applets/math/mathapplet.cpp6
-rw-r--r--kicker-applets/mediacontrol/mcslider.cpp4
-rw-r--r--kicker-applets/mediacontrol/mcslider.h2
-rw-r--r--kicker-applets/mediacontrol/mediacontrol.cpp16
-rw-r--r--kicker-applets/mediacontrol/simplebutton.cpp4
-rw-r--r--kicker-applets/mediacontrol/simplebutton.h4
-rw-r--r--konq-plugins/fsview/treemap.cpp4
-rw-r--r--konq-plugins/fsview/treemap.h8
-rw-r--r--konq-plugins/sidebar/delicious/mainWidget.cpp2
-rw-r--r--konq-plugins/sidebar/mediaplayer/controls.cpp12
-rw-r--r--konq-plugins/sidebar/mediaplayer/controls.h4
-rw-r--r--konq-plugins/sidebar/metabar/src/configdialog.cpp6
-rw-r--r--konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp2
-rw-r--r--ksig/ksig.cpp2
-rw-r--r--noatun-plugins/alarm/wakeup.cpp2
-rw-r--r--noatun-plugins/alsaplayer/seeker.cpp2
-rw-r--r--noatun-plugins/alsaplayer/userinterface.cpp2
-rw-r--r--noatun-plugins/charlatan/seeker.cpp2
-rw-r--r--noatun-plugins/charlatan/userinterface.cpp2
-rw-r--r--noatun-plugins/lyrics/cmodule.cpp2
-rw-r--r--noatun-plugins/nexscope/gui.cpp2
-rw-r--r--noatun-plugins/nexscope/renderers.h2
-rw-r--r--noatun-plugins/oblique/cmodule.cpp2
35 files changed, 80 insertions, 80 deletions
diff --git a/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp b/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp
index 41399ea..bccf776 100644
--- a/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp
+++ b/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp
@@ -59,7 +59,7 @@ static bool checkDateTime( const TQString &dateStr, TQDateTime &dt )
{
if (dateStr.isEmpty())
return false;
- dt = TQDateTime::fromString(dateStr, Qt::ISODate);
+ dt = TQDateTime::fromString(dateStr, TQt::ISODate);
if (dt.isValid() && dt.date().year()>1901)
return true;
dt.setDate(TQDate());
@@ -244,7 +244,7 @@ static const TQString dateString( const TQDateTime &dt )
{
if (!dt.isValid())
return TQString::fromLatin1("1000-01-01 00:00:00");
- TQString d(dt.toString(Qt::ISODate));
+ TQString d(dt.toString(TQt::ISODate));
d[10] = ' '; // remove the "T" in the middle of the string
return d;
}
diff --git a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp
index 3de7fa2..a8175d2 100644
--- a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp
+++ b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp
@@ -315,7 +315,7 @@ KatePluginSymbolViewerConfigPage::KatePluginSymbolViewerConfigPage(
TQGroupBox* gb = new TQGroupBox( i18n("Parser Options"),
this, "cppsymbolviewer_config_page_layout" );
- gb->setColumnLayout(1, Qt::Horizontal);
+ gb->setColumnLayout(1, TQt::Horizontal);
gb->setInsideSpacing(KDialogBase::spacingHint());
viewReturns = new TQCheckBox(i18n("Display functions parameters"), gb);
expandTree = new TQCheckBox(i18n("Automatically expand nodes in tree mode"), gb);
diff --git a/kate/insertcommand/plugin_kateinsertcommand.cpp b/kate/insertcommand/plugin_kateinsertcommand.cpp
index 37b72c3..cdbe0a2 100644
--- a/kate/insertcommand/plugin_kateinsertcommand.cpp
+++ b/kate/insertcommand/plugin_kateinsertcommand.cpp
@@ -385,7 +385,7 @@ InsertCommandConfigPage::InsertCommandConfigPage(TQObject* /*parent*/,
// dir history length
// initial dir choice
- rg_startin = new TQButtonGroup( 1, Qt::Horizontal, i18n("Start In"), this );
+ rg_startin = new TQButtonGroup( 1, TQt::Horizontal, i18n("Start In"), this );
rg_startin->setRadioButtonExclusive( true );
(void) new TQRadioButton( i18n("Application &working folder"), rg_startin);
(void) new TQRadioButton( i18n("&Document folder"), rg_startin);
diff --git a/kate/snippets/plugin_katesnippets.cpp b/kate/snippets/plugin_katesnippets.cpp
index d895989..856cfbc 100644
--- a/kate/snippets/plugin_katesnippets.cpp
+++ b/kate/snippets/plugin_katesnippets.cpp
@@ -171,8 +171,8 @@ void KatePluginSnippetsView::slot_lvSnippetsClicked (TQListViewItem * item) {
}
sText.replace( TQRegExp("<mark/>"), sSelection );
- sText.replace( TQRegExp("<date/>"), TQDate::currentDate().toString(Qt::LocalDate) );
- sText.replace( TQRegExp("<time/>"), TQTime::currentTime().toString(Qt::LocalDate) );
+ sText.replace( TQRegExp("<date/>"), TQDate::currentDate().toString(TQt::LocalDate) );
+ sText.replace( TQRegExp("<time/>"), TQTime::currentTime().toString(TQt::LocalDate) );
kv->insertText ( sText );
}
kv->setFocus();
diff --git a/kate/tabbarextension/plugin_katetabbarextension.cpp b/kate/tabbarextension/plugin_katetabbarextension.cpp
index 51d675d..e26524c 100644
--- a/kate/tabbarextension/plugin_katetabbarextension.cpp
+++ b/kate/tabbarextension/plugin_katetabbarextension.cpp
@@ -112,8 +112,8 @@ void KatePluginTabBarExtension::addView(Kate::MainWindow *win)
TDEToolBar* toolbar = dynamic_cast<TDEToolBar*>
(win->guiFactory()->container("tabbarExtensionToolBar", view));
if (toolbar) {
- connect(toolbar, TQT_SIGNAL(orientationChanged(Qt::Orientation)),
- view->tabbar, TQT_SLOT(slotMoved(Qt::Orientation)));
+ connect(toolbar, TQT_SIGNAL(orientationChanged(TQt::Orientation)),
+ view->tabbar, TQT_SLOT(slotMoved(TQt::Orientation)));
}
}
@@ -128,7 +128,7 @@ void KatePluginTabBarExtension::removeView(Kate::MainWindow *win)
if (m_views.count() == 1)
{
pConfig->writeEntry("horizontal orientation",
- view->tabbar->orientation()==Qt::Horizontal?true:false);
+ view->tabbar->orientation()==TQt::Horizontal?true:false);
pConfig->writeEntry("sort", view->tabbar->sortByName());
pConfig->writeEntry("closeOnMiddleClick", view->tabbar->closeOnMiddleClick());
pConfig->sync();
@@ -270,10 +270,10 @@ KateTabBarExtension::KateTabBarExtension(Kate::DocumentManager *pDocManager,
{
if (bHorizOrientation) {
top = new TQBoxLayout(this, TQBoxLayout::LeftToRight);
- m_orientation = Qt::Horizontal;
+ m_orientation = TQt::Horizontal;
} else {
top = new TQBoxLayout(this, TQBoxLayout::TopToBottom);
- m_orientation = Qt::Vertical;
+ m_orientation = TQt::Vertical;
}
// add all already existing documents to the tabbar
@@ -294,15 +294,15 @@ KateTabBarExtension::KateTabBarExtension(Kate::DocumentManager *pDocManager,
setCloseOnMiddleClick(bCloseOnMiddleClick);
}
-void KateTabBarExtension::slotMoved(Qt::Orientation o)
+void KateTabBarExtension::slotMoved(TQt::Orientation o)
{
// the tabbar moved (top, right, bottom, left or fluently)
switch (o) {
- case Qt::Vertical:
+ case TQt::Vertical:
top->setDirection(TQBoxLayout::TopToBottom);
break;
- case Qt::Horizontal:
+ case TQt::Horizontal:
top->setDirection(TQBoxLayout::LeftToRight);
break;
}
@@ -480,7 +480,7 @@ KateTabBarExtensionConfigPage::KateTabBarExtensionConfigPage(
TQVBoxLayout* top = new TQVBoxLayout(this, 0,
KDialogBase::spacingHint());
- TQGroupBox* gb = new TQGroupBox(1, Qt::Horizontal, i18n("Behavior options"),
+ TQGroupBox* gb = new TQGroupBox(1, TQt::Horizontal, i18n("Behavior options"),
this, "tab_bar_extension_config_page_layout" );
gb->setInsideSpacing(KDialogBase::spacingHint());
pSortAlpha = new TQCheckBox(i18n("Sort files alphabetically"), gb);
diff --git a/kate/tabbarextension/plugin_katetabbarextension.h b/kate/tabbarextension/plugin_katetabbarextension.h
index 710eb97..f991c42 100644
--- a/kate/tabbarextension/plugin_katetabbarextension.h
+++ b/kate/tabbarextension/plugin_katetabbarextension.h
@@ -179,8 +179,8 @@ class KateTabBarExtension : public TQWidget
* constructor
* @param pDocManager pointer to kate's document manager
* @param win pinter to the main window
- * @param bHorizOrientation true, if orientation is Qt::Horizontal
- * @param bSort true, if orientation is Qt::Horizontal
+ * @param bHorizOrientation true, if orientation is Horizontal
+ * @param bSort true, if orientation is Horizontal
* @param parent parent widget
* @param name name of widget
* @param f widget flags
@@ -196,7 +196,7 @@ class KateTabBarExtension : public TQWidget
/**
* @return the tabbar's orientation
*/
- Qt::Orientation orientation() const { return m_orientation; }
+ TQt::Orientation orientation() const { return m_orientation; }
/**
* @return true, when sorting is alphabetically
@@ -271,9 +271,9 @@ class KateTabBarExtension : public TQWidget
/**
* called whenever the toolbar's orientation changes
- * @param o new orientation [Qt::Horizontal or Qt::Vertical]
+ * @param o new orientation [TQt::Horizontal or TQt::Vertical]
*/
- void slotMoved(Qt::Orientation o);
+ void slotMoved(TQt::Orientation o);
/**
* called when we want to close the document associated with the tab
@@ -288,7 +288,7 @@ class KateTabBarExtension : public TQWidget
Kate::DocumentManager* m_docManager; ///< pointer to the document manager
// TQPtrList <KateTabBarButton> m_tabs; ///< list containing all tabs
MyPtrList m_tabs; ///< list containing all tabs
- Qt::Orientation m_orientation; ///< save tabbar's orientation
+ TQt::Orientation m_orientation; ///< save tabbar's orientation
bool m_sort; ///< how to sort
bool m_closeOnMiddleClick; ///< Enable/disable "close document on mouse middle click" feature
};
diff --git a/kicker-applets/kbinaryclock/kbinaryclock.cpp b/kicker-applets/kbinaryclock/kbinaryclock.cpp
index 04497f4..3064179 100644
--- a/kicker-applets/kbinaryclock/kbinaryclock.cpp
+++ b/kicker-applets/kbinaryclock/kbinaryclock.cpp
@@ -264,15 +264,15 @@ void KBinaryClock::updateClock(){
*/
void KBinaryClock::mousePressEvent(TQMouseEvent *event) {
switch (event->button()) {
- case Qt::RightButton:
+ case TQt::RightButton:
TQToolTip::remove(this);
openContextMenu();
break;
- case Qt::LeftButton:
+ case TQt::LeftButton:
toggleCalendar();
TQToolTip::remove(this);
break;
- case Qt::MidButton:
+ case TQt::MidButton:
TQToolTip::remove(this);
break;
default:
diff --git a/kicker-applets/kolourpicker/kolourpicker.cpp b/kicker-applets/kolourpicker/kolourpicker.cpp
index 55b4ef4..91997b6 100644
--- a/kicker-applets/kolourpicker/kolourpicker.cpp
+++ b/kicker-applets/kolourpicker/kolourpicker.cpp
@@ -242,7 +242,7 @@ void KolourPicker::arrangeButtons()
{
int h, w, p;
- if (orientation() ==Qt::Horizontal)
+ if (orientation() ==TQt::Horizontal)
{
h = height();
if (h > 40)
diff --git a/kicker-applets/kolourpicker/simplebutton.cpp b/kicker-applets/kolourpicker/simplebutton.cpp
index 98b7570..f95fbe8 100644
--- a/kicker-applets/kolourpicker/simplebutton.cpp
+++ b/kicker-applets/kolourpicker/simplebutton.cpp
@@ -35,7 +35,7 @@
SimpleButton::SimpleButton(TQWidget *parent, const char *name)
: TQButton(parent, name),
m_highlight(false),
- m_orientation(Qt::Horizontal)
+ m_orientation(TQt::Horizontal)
{
setBackgroundOrigin( AncestorOrigin );
@@ -57,7 +57,7 @@ void SimpleButton::setPixmap(const TQPixmap &pix)
update();
}
-void SimpleButton::setOrientation(Qt::Orientation orientation)
+void SimpleButton::setOrientation(TQt::Orientation orientation)
{
m_orientation = orientation;
update();
diff --git a/kicker-applets/kolourpicker/simplebutton.h b/kicker-applets/kolourpicker/simplebutton.h
index b3ab442..7243d50 100644
--- a/kicker-applets/kolourpicker/simplebutton.h
+++ b/kicker-applets/kolourpicker/simplebutton.h
@@ -34,7 +34,7 @@ class KDE_EXPORT SimpleButton : public TQButton
public:
SimpleButton(TQWidget *parent, const char *name = 0);
void setPixmap(const TQPixmap &pix);
- void setOrientation(Qt::Orientation orientaton);
+ void setOrientation(TQt::Orientation orientaton);
TQSize sizeHint() const;
TQSize minimumSizeHint() const;
@@ -56,7 +56,7 @@ class KDE_EXPORT SimpleButton : public TQButton
TQPixmap m_normalIcon;
TQPixmap m_activeIcon;
TQPixmap m_disabledIcon;
- Qt::Orientation m_orientation;
+ TQt::Orientation m_orientation;
class SimpleButtonPrivate;
SimpleButtonPrivate* d;
};
diff --git a/kicker-applets/ktimemon/confdlg.cpp b/kicker-applets/ktimemon/confdlg.cpp
index 337f5c5..c2c9493 100644
--- a/kicker-applets/ktimemon/confdlg.cpp
+++ b/kicker-applets/ktimemon/confdlg.cpp
@@ -166,7 +166,7 @@ KConfDialog::KConfDialog(KTimeMon *t)
bl = new TQVBoxLayout(page, 0, spacingHint());
b = new TQGroupBox(i18n("Mouse Events"), page);
- b->setColumnLayout( 0, Qt::Vertical );
+ b->setColumnLayout( 0, TQt::Vertical );
bl->addWidget(b);
bl->addStretch();
diff --git a/kicker-applets/ktimemon/timemon.cpp b/kicker-applets/ktimemon/timemon.cpp
index d417ba8..3d0d3da 100644
--- a/kicker-applets/ktimemon/timemon.cpp
+++ b/kicker-applets/ktimemon/timemon.cpp
@@ -385,9 +385,9 @@ void KTimeMon::mousePressEvent(TQMouseEvent *event)
if (event == 0) return;
int index = -1;
- if (event->button() == Qt::LeftButton) index = 0;
- else if (event->button() == Qt::MidButton) index = 1;
- else if (event->button() == Qt::RightButton) index = 2;
+ if (event->button() == TQt::LeftButton) index = 0;
+ else if (event->button() == TQt::MidButton) index = 1;
+ else if (event->button() == TQt::RightButton) index = 2;
if (index == -1) return;
diff --git a/kicker-applets/math/mathapplet.cpp b/kicker-applets/math/mathapplet.cpp
index 83604ea..253ba78 100644
--- a/kicker-applets/math/mathapplet.cpp
+++ b/kicker-applets/math/mathapplet.cpp
@@ -151,7 +151,7 @@ void MathApplet::useRadians() {
void MathApplet::resizeEvent(TQResizeEvent*)
{
- if(orientation() ==Qt::Horizontal)
+ if(orientation() ==TQt::Horizontal)
{
_btn->hide();
_input->reparent(this, TQPoint(0,0), true);
@@ -269,13 +269,13 @@ void MathApplet::evaluate(const TQString& command)
}
}
- if (orientation() ==Qt::Vertical)
+ if (orientation() ==TQt::Vertical)
_hbox->hide();
}
void MathApplet::mousePressEvent(TQMouseEvent *e)
{
- if ( e->button() != Qt::RightButton )
+ if ( e->button() != TQt::RightButton )
{
KPanelApplet::mousePressEvent( e );
return;
diff --git a/kicker-applets/mediacontrol/mcslider.cpp b/kicker-applets/mediacontrol/mcslider.cpp
index 611aec4..49e29b0 100644
--- a/kicker-applets/mediacontrol/mcslider.cpp
+++ b/kicker-applets/mediacontrol/mcslider.cpp
@@ -19,7 +19,7 @@
#include "mcslider.h"
-MCSlider::MCSlider( Qt::Orientation orientation, TQWidget *parent, const char *name )
+MCSlider::MCSlider( TQt::Orientation orientation, TQWidget *parent, const char *name )
: TQSlider( orientation, parent, name )
{
setBackgroundOrigin(WidgetOrigin);
@@ -46,7 +46,7 @@ void MCSlider::setBackground()
void MCSlider::wheelEvent(TQWheelEvent *e)
{
- if (e->orientation() ==Qt::Horizontal)
+ if (e->orientation() ==TQt::Horizontal)
return;
if (e->state() == ShiftButton)
diff --git a/kicker-applets/mediacontrol/mcslider.h b/kicker-applets/mediacontrol/mcslider.h
index 26b7922..6e67ae0 100644
--- a/kicker-applets/mediacontrol/mcslider.h
+++ b/kicker-applets/mediacontrol/mcslider.h
@@ -26,7 +26,7 @@ class MCSlider : public TQSlider
public:
- MCSlider( Qt::Orientation orientation, TQWidget *parent, const char *name = 0 );
+ MCSlider( TQt::Orientation orientation, TQWidget *parent, const char *name = 0 );
~MCSlider();
void setBackground();
private:
diff --git a/kicker-applets/mediacontrol/mediacontrol.cpp b/kicker-applets/mediacontrol/mediacontrol.cpp
index fed96e9..e2d5492 100644
--- a/kicker-applets/mediacontrol/mediacontrol.cpp
+++ b/kicker-applets/mediacontrol/mediacontrol.cpp
@@ -139,7 +139,7 @@ MediaControl::MediaControl(const TQString &configFile, Type t, int actions,
playpause_button = new TrayButton (this, "PLAYPAUSE");
stop_button = new TrayButton (this, "STOP");
next_button = new TrayButton (this, "NEXT");
- time_slider = new MCSlider (Qt::Horizontal, this, "time_slider" );
+ time_slider = new MCSlider (TQt::Horizontal, this, "time_slider" );
time_slider->setRange(0,0);
time_slider->setValue(0);
time_slider->setTracking( false );
@@ -184,7 +184,7 @@ void MediaControl::dropEvent(TQDropEvent* event)
void MediaControl::setSliderPosition(int len ,int time)
{
time_slider->blockSignals(true);
- if(orientation() ==Qt::Vertical)
+ if(orientation() ==TQt::Vertical)
time = len - time;
if (mLastLen != len)
@@ -318,7 +318,7 @@ void MediaControl::reportBug()
// Fixing the orientation problem in qslider.
void MediaControl::adjustTime(int time)
{
- if(orientation() ==Qt::Vertical)
+ if(orientation() ==TQt::Vertical)
emit(newJumpToTime(mLastLen - time));
else
emit(newJumpToTime(time));
@@ -498,7 +498,7 @@ int MediaControl::heightForWidth(int width) const
void MediaControl::mousePressEvent(TQMouseEvent* e)
{
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
rmbMenu->popup(e->globalPos());
}
@@ -507,7 +507,7 @@ bool MediaControl::eventFilter(TQObject *, TQEvent *e)
if (e->type() == TQEvent::MouseButtonPress)
{
TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
- if (me->button() == Qt::RightButton)
+ if (me->button() == TQt::RightButton)
{
rmbMenu->popup(me->globalPos());
return true;
@@ -532,9 +532,9 @@ void MediaControl::resizeEvent( TQResizeEvent* )
// kdDebug(90200) << "resizeEvent()" << endl;
int w = width();
int h = height();
- if ( orientation() ==Qt::Vertical )
+ if ( orientation() ==TQt::Vertical )
{ // ====== VERTICAL =================================================
- time_slider->setOrientation(Qt::Vertical);
+ time_slider->setOrientation(TQt::Vertical);
int slider_width = time_slider->minimumSizeHint().width();
// some styles need more space for sliders than avilable in very small panels :(
if ( slider_width > w ) slider_width = w;
@@ -566,7 +566,7 @@ void MediaControl::resizeEvent( TQResizeEvent* )
}
else // ====== HORIZONTAL ===============================================
{
- time_slider->setOrientation(Qt::Horizontal);
+ time_slider->setOrientation(TQt::Horizontal);
int slider_height = time_slider->minimumSizeHint().height();
// some styles need more space for sliders than avilable in very small panels :(
if ( slider_height > h ) slider_height = h;
diff --git a/kicker-applets/mediacontrol/simplebutton.cpp b/kicker-applets/mediacontrol/simplebutton.cpp
index 98b7570..f95fbe8 100644
--- a/kicker-applets/mediacontrol/simplebutton.cpp
+++ b/kicker-applets/mediacontrol/simplebutton.cpp
@@ -35,7 +35,7 @@
SimpleButton::SimpleButton(TQWidget *parent, const char *name)
: TQButton(parent, name),
m_highlight(false),
- m_orientation(Qt::Horizontal)
+ m_orientation(TQt::Horizontal)
{
setBackgroundOrigin( AncestorOrigin );
@@ -57,7 +57,7 @@ void SimpleButton::setPixmap(const TQPixmap &pix)
update();
}
-void SimpleButton::setOrientation(Qt::Orientation orientation)
+void SimpleButton::setOrientation(TQt::Orientation orientation)
{
m_orientation = orientation;
update();
diff --git a/kicker-applets/mediacontrol/simplebutton.h b/kicker-applets/mediacontrol/simplebutton.h
index b3ab442..7243d50 100644
--- a/kicker-applets/mediacontrol/simplebutton.h
+++ b/kicker-applets/mediacontrol/simplebutton.h
@@ -34,7 +34,7 @@ class KDE_EXPORT SimpleButton : public TQButton
public:
SimpleButton(TQWidget *parent, const char *name = 0);
void setPixmap(const TQPixmap &pix);
- void setOrientation(Qt::Orientation orientaton);
+ void setOrientation(TQt::Orientation orientaton);
TQSize sizeHint() const;
TQSize minimumSizeHint() const;
@@ -56,7 +56,7 @@ class KDE_EXPORT SimpleButton : public TQButton
TQPixmap m_normalIcon;
TQPixmap m_activeIcon;
TQPixmap m_disabledIcon;
- Qt::Orientation m_orientation;
+ TQt::Orientation m_orientation;
class SimpleButtonPrivate;
SimpleButtonPrivate* d;
};
diff --git a/konq-plugins/fsview/treemap.cpp b/konq-plugins/fsview/treemap.cpp
index f56d1cd..ef41fb1 100644
--- a/konq-plugins/fsview/treemap.cpp
+++ b/konq-plugins/fsview/treemap.cpp
@@ -1826,7 +1826,7 @@ void TreeMapWidget::mousePressEvent( TQMouseEvent* e )
}
// item under mouse always selected on right button press
- if (e->button() == Qt::RightButton) {
+ if (e->button() == TQt::RightButton) {
TreeMapItem* changed2 = setTmpSelected(item, true);
if (changed2) changed = changed2->commonParent(changed);
}
@@ -1836,7 +1836,7 @@ void TreeMapWidget::mousePressEvent( TQMouseEvent* e )
if (changed)
redraw(changed);
- if (e->button() == Qt::RightButton) {
+ if (e->button() == TQt::RightButton) {
// emit selection change
if (! (_tmpSelection == _selection)) {
diff --git a/konq-plugins/fsview/treemap.h b/konq-plugins/fsview/treemap.h
index 797ac0a..8f12228 100644
--- a/konq-plugins/fsview/treemap.h
+++ b/konq-plugins/fsview/treemap.h
@@ -227,10 +227,10 @@ public:
* longest side of rectangle left for drawing
* Best: Choose split direction for all subitems of an area
* depending on longest side
- * HAlternate:Qt::Horizontal at top; alternate direction on depth step
- * VAlternate:Qt::Vertical at top; alternate direction on depth step
- * Qt::Horizontal: Always horizontal split direction
- * Qt::Vertical: Always vertical split direction
+ * HAlternate: Horizontal at top; alternate direction on depth step
+ * VAlternate: Vertical at top; alternate direction on depth step
+ * Horizontal: Always horizontal split direction
+ * Vertical: Always vertical split direction
*/
enum SplitMode { Bisection, Columns, Rows,
AlwaysBest, Best,
diff --git a/konq-plugins/sidebar/delicious/mainWidget.cpp b/konq-plugins/sidebar/delicious/mainWidget.cpp
index 6567c50..775d371 100644
--- a/konq-plugins/sidebar/delicious/mainWidget.cpp
+++ b/konq-plugins/sidebar/delicious/mainWidget.cpp
@@ -194,7 +194,7 @@ void MainWidget::slotBookmarkExecuted( TQListViewItem * item )
void MainWidget::slotBookmarkClicked( int button, TQListViewItem * item, const TQPoint &, int )
{
BookmarkListItem * bookmark = static_cast<BookmarkListItem *>( item );
- if ( bookmark && button == Qt::MidButton ) // handle middle click
+ if ( bookmark && button == TQt::MidButton ) // handle middle click
{
kdDebug() << k_funcinfo << "Middle clicked bookmark URL: " << bookmark->url() << endl;
emit signalURLMidClicked( bookmark->url() );
diff --git a/konq-plugins/sidebar/mediaplayer/controls.cpp b/konq-plugins/sidebar/mediaplayer/controls.cpp
index ba5a504..eb034ca 100644
--- a/konq-plugins/sidebar/mediaplayer/controls.cpp
+++ b/konq-plugins/sidebar/mediaplayer/controls.cpp
@@ -26,11 +26,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
L33tSlider::L33tSlider(TQWidget * parent, const char * name) :
TQSlider(parent,name), pressed(false)
{}
-L33tSlider::L33tSlider(Qt::Orientation o, TQWidget * parent, const char * name) :
+L33tSlider::L33tSlider(TQt::Orientation o, TQWidget * parent, const char * name) :
TQSlider(o,parent,name), pressed(false)
{}
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 L33tSlider::setValue(int i)
void L33tSlider::mousePressEvent(TQMouseEvent*e)
{
- if (e->button()!=Qt::RightButton)
+ if (e->button()!=TQt::RightButton)
{
pressed=true;
TQSlider::mousePressEvent(e);
@@ -91,7 +91,7 @@ int 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 );
@@ -115,12 +115,12 @@ return;
/*
if (pos == TDEToolBar::Left || pos == TDEToolBar::Right)
{
- m_slider->setOrientation(Qt::Vertical);
+ m_slider->setOrientation(TQt::Vertical);
m_slider->setFixedWidth(m_slider->height());
}
else
{
- m_slider->setOrientation(Qt::Horizontal);
+ m_slider->setOrientation(TQt::Horizontal);
m_slider->resize(m_slider->height(), m_slider->height());
}
*/
diff --git a/konq-plugins/sidebar/mediaplayer/controls.h b/konq-plugins/sidebar/mediaplayer/controls.h
index 6a8d8dc..c50201e 100644
--- a/konq-plugins/sidebar/mediaplayer/controls.h
+++ b/konq-plugins/sidebar/mediaplayer/controls.h
@@ -44,9 +44,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/konq-plugins/sidebar/metabar/src/configdialog.cpp b/konq-plugins/sidebar/metabar/src/configdialog.cpp
index e03a7a1..35816df 100644
--- a/konq-plugins/sidebar/metabar/src/configdialog.cpp
+++ b/konq-plugins/sidebar/metabar/src/configdialog.cpp
@@ -77,7 +77,7 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent
config->setGroup("General");
TQWidget *general = new TQWidget;
- TQGroupBox *entries_group = new TQGroupBox(2, Qt::Horizontal, i18n("Items"), general);
+ TQGroupBox *entries_group = new TQGroupBox(2, TQt::Horizontal, i18n("Items"), general);
entries_group->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred);
TQLabel *entries_label = new TQLabel(i18n("Open with:"), entries_group);
@@ -97,7 +97,7 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent
actions_label->setBuddy(max_actions);
- TQGroupBox *appearance_group = new TQGroupBox(1, Qt::Horizontal, i18n("Appearance"), general);
+ TQGroupBox *appearance_group = new TQGroupBox(1, TQt::Horizontal, i18n("Appearance"), general);
appearance_group->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred);
animate = new TQCheckBox(i18n("Animate resize"), appearance_group);
@@ -109,7 +109,7 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent
showframe = new TQCheckBox(i18n("Show frame"), appearance_group);
showframe->setChecked(config->readBoolEntry("ShowFrame", true));
- TQGroupBox *theme_group = new TQGroupBox(2, Qt::Horizontal, i18n("Themes"), general);
+ TQGroupBox *theme_group = new TQGroupBox(2, TQt::Horizontal, i18n("Themes"), general);
theme_group->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred);
themes = new KComboBox(theme_group);
diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
index 52edae0..8ee0c78 100644
--- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
+++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
@@ -211,7 +211,7 @@ namespace KSB_News {
bool NSStackTabWidget::eventFilter(TQObject *obj, TQEvent *ev) {
if (ev->type() == TQEvent::MouseButtonPress
- && ((TQMouseEvent *)ev)->button() == Qt::RightButton) {
+ && ((TQMouseEvent *)ev)->button() == TQt::RightButton) {
m_last_button_rightclicked = (TQPushButton *)obj;
popup->exec(TQCursor::pos());
return true;
diff --git a/ksig/ksig.cpp b/ksig/ksig.cpp
index a8a04a8..38d31c1 100644
--- a/ksig/ksig.cpp
+++ b/ksig/ksig.cpp
@@ -79,7 +79,7 @@ void KSig::setupActions()
void KSig::setupLayout()
{
- splitter = new TQSplitter(Qt::Vertical, this);
+ splitter = new TQSplitter(TQt::Vertical, this);
setCentralWidget(splitter);
diff --git a/noatun-plugins/alarm/wakeup.cpp b/noatun-plugins/alarm/wakeup.cpp
index fabec0a..b9f38d1 100644
--- a/noatun-plugins/alarm/wakeup.cpp
+++ b/noatun-plugins/alarm/wakeup.cpp
@@ -240,7 +240,7 @@ WakeupPrefs::WakeupPrefs( TQObject *parent ) :
grid->addWidget (minute7,7,2,TQt::AlignLeft);
grid->setColStretch (0,3);
- TQButtonGroup *modeGroup = new TQButtonGroup (3, Qt::Vertical, i18n ("Volume Control"),this);
+ TQButtonGroup *modeGroup = new TQButtonGroup (3, TQt::Vertical, i18n ("Volume Control"),this);
alarmmode = new TQRadioButton (i18n("No change to volume, just starts the player"),modeGroup);
nightmode = new TQRadioButton (i18n("The volume decreases slowly and finally stops the player"),modeGroup);
morningmode = new TQRadioButton (i18n("The player starts and the volume increases to the chosen value"),modeGroup);
diff --git a/noatun-plugins/alsaplayer/seeker.cpp b/noatun-plugins/alsaplayer/seeker.cpp
index 3149462..b440b2b 100644
--- a/noatun-plugins/alsaplayer/seeker.cpp
+++ b/noatun-plugins/alsaplayer/seeker.cpp
@@ -27,7 +27,7 @@
#include "seeker.h"
Seeker::Seeker(TQWidget * parent, const char * name)
- : L33tSlider(0, 1000, 10, 0,Qt::Horizontal, parent, name)
+ : L33tSlider(0, 1000, 10, 0,TQt::Horizontal, parent, name)
{
connect(this, TQT_SIGNAL(userChanged(int)), TQT_SLOT(slotValueChanged(int)));
diff --git a/noatun-plugins/alsaplayer/userinterface.cpp b/noatun-plugins/alsaplayer/userinterface.cpp
index a7fdadf..cbd6598 100644
--- a/noatun-plugins/alsaplayer/userinterface.cpp
+++ b/noatun-plugins/alsaplayer/userinterface.cpp
@@ -250,7 +250,7 @@ void AlsaPlayer::slotPlayListHidden()
void AlsaPlayer::mousePressEvent(TQMouseEvent * e)
{
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
{
NoatunStdAction::ContextMenu::showContextMenu();
return;
diff --git a/noatun-plugins/charlatan/seeker.cpp b/noatun-plugins/charlatan/seeker.cpp
index 7368b37..8e639d8 100644
--- a/noatun-plugins/charlatan/seeker.cpp
+++ b/noatun-plugins/charlatan/seeker.cpp
@@ -28,7 +28,7 @@
#include "seeker.moc"
Seeker::Seeker(TQWidget * parent)
- : TQSlider(0, 60, 10, 0,Qt::Horizontal, parent),
+ : TQSlider(0, 60, 10, 0,TQt::Horizontal, parent),
adjusting_(false)
{
delayedUpdateTimer_ = new TQTimer(this);
diff --git a/noatun-plugins/charlatan/userinterface.cpp b/noatun-plugins/charlatan/userinterface.cpp
index e99845a..88314d5 100644
--- a/noatun-plugins/charlatan/userinterface.cpp
+++ b/noatun-plugins/charlatan/userinterface.cpp
@@ -344,7 +344,7 @@ void Charlatan::slotPlayListHidden()
void Charlatan::mousePressEvent(TQMouseEvent * e)
{
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
{
NoatunStdAction::ContextMenu::showContextMenu();
return;
diff --git a/noatun-plugins/lyrics/cmodule.cpp b/noatun-plugins/lyrics/cmodule.cpp
index ac21c22..2a955b4 100644
--- a/noatun-plugins/lyrics/cmodule.cpp
+++ b/noatun-plugins/lyrics/cmodule.cpp
@@ -57,7 +57,7 @@ LyricsCModule::LyricsCModule(TQObject *_parent) : CModule(i18n("Lyrics"), i18n("
providersBox = new TDEListBox( this, "providersBox" );
boxlayout->addWidget(providersBox);
- boxButtons = new KButtonBox( this,Qt::Vertical );
+ boxButtons = new KButtonBox( this,TQt::Vertical );
boxButtons->addButton( i18n( "New Search Provider" ), TQT_TQOBJECT(this), TQT_SLOT( newSearch() ) );
boxButtons->addButton( i18n( "Delete Search Provider" ), TQT_TQOBJECT(this), TQT_SLOT( delSearch() ) );
boxButtons->addButton( i18n( "Move Up" ), TQT_TQOBJECT(this), TQT_SLOT( moveUpSearch() ) );
diff --git a/noatun-plugins/nexscope/gui.cpp b/noatun-plugins/nexscope/gui.cpp
index c1b6756..ca371a6 100644
--- a/noatun-plugins/nexscope/gui.cpp
+++ b/noatun-plugins/nexscope/gui.cpp
@@ -81,7 +81,7 @@ Control::Control() : mConfigurator(0)
setCaption(i18n("Nex Configuration"));
TQSplitter *mainSplitter=new TQSplitter(this);
setCentralWidget(mainSplitter);
- TQSplitter *left=new TQSplitter(Qt::Vertical, mainSplitter);
+ TQSplitter *left=new TQSplitter(TQt::Vertical, mainSplitter);
{
mTree=new RendererListView(left);
mTree->setItemsMovable(true);
diff --git a/noatun-plugins/nexscope/renderers.h b/noatun-plugins/nexscope/renderers.h
index e23304a..2c8e726 100644
--- a/noatun-plugins/nexscope/renderers.h
+++ b/noatun-plugins/nexscope/renderers.h
@@ -23,7 +23,7 @@ Renderer *function();
REGISTER(fade, Fade)
REGISTER(doubler, Doubler)
-REGISTER(waveform,Qt::HorizontalPair);
+REGISTER(waveform,TQt::HorizontalPair);
REGISTER(hartley, Hartley);
#undef REGISTER
diff --git a/noatun-plugins/oblique/cmodule.cpp b/noatun-plugins/oblique/cmodule.cpp
index 044119e..b3bf45f 100644
--- a/noatun-plugins/oblique/cmodule.cpp
+++ b/noatun-plugins/oblique/cmodule.cpp
@@ -151,7 +151,7 @@ SchemaConfig::SchemaConfig(TQWidget *parent, Oblique *oblique)
{
TQGroupBox *groupbox = new TQGroupBox(
- 3, Qt::Horizontal, i18n("Options"), side
+ 3, TQt::Horizontal, i18n("Options"), side
);
mOptionPlayable = new TQCheckBox(i18n("Play&able"), groupbox);