Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/27/head
Michele Calgaro 6 months ago
parent d48a4e1b0d
commit 96f327c14a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;
}

@ -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);

@ -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);

@ -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();

@ -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);

@ -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
};

@ -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:

@ -242,7 +242,7 @@ void KolourPicker::arrangeButtons()
{
int h, w, p;
if (orientation() ==Qt::Horizontal)
if (orientation() ==TQt::Horizontal)
{
h = height();
if (h > 40)

@ -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();

@ -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;
};

@ -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();

@ -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;

@ -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;

@ -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)

@ -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:

@ -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;

@ -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();

@ -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;
};

@ -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)) {

@ -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,

@ -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() );

@ -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());
}
*/

@ -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:

@ -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);

@ -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;

@ -79,7 +79,7 @@ void KSig::setupActions()
void KSig::setupLayout()
{
splitter = new TQSplitter(Qt::Vertical, this);
splitter = new TQSplitter(TQt::Vertical, this);
setCentralWidget(splitter);

@ -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);

@ -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)));

@ -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;

@ -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);

@ -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;

@ -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() ) );

@ -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);

@ -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

@ -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);

Loading…
Cancel
Save