summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 20:33:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-15 23:47:11 +0900
commit303b6445011a6ed10c48ac6e1eda415e5c371264 (patch)
treeaded2a8ee5046176d3295bbf1f90f5dd73746677 /tdeio
parent141ced0c41af8726eedac425ea24cd162bcff862 (diff)
downloadtdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.tar.gz
tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/bookmarks/kbookmarkbar.cpp4
-rw-r--r--tdeio/bookmarks/kbookmarkmenu.cpp2
-rw-r--r--tdeio/kssl/ksslinfodlg.cpp22
-rw-r--r--tdeio/tdefile/kacleditwidget.cpp2
-rw-r--r--tdeio/tdefile/kcustommenueditor.cpp2
-rw-r--r--tdeio/tdefile/kicondialog.cpp2
-rw-r--r--tdeio/tdefile/kimagefilepreview.cpp2
-rw-r--r--tdeio/tdefile/kmetaprops.cpp2
-rw-r--r--tdeio/tdefile/knotifydialog.cpp2
-rw-r--r--tdeio/tdefile/kpropertiesdialog.cpp16
-rw-r--r--tdeio/tdefile/kurlbar.cpp12
-rw-r--r--tdeio/tdefile/kurlbar.h12
-rw-r--r--tdeio/tdefile/tdefiledialog.cpp14
-rw-r--r--tdeio/tdefile/tdefilesharedlg.cpp4
-rw-r--r--tdeio/tdeio/job.cpp2
-rw-r--r--tdeio/tdeio/passdlg.cpp20
-rw-r--r--tdeio/tdeio/statusbarprogress.cpp2
17 files changed, 61 insertions, 61 deletions
diff --git a/tdeio/bookmarks/kbookmarkbar.cpp b/tdeio/bookmarks/kbookmarkbar.cpp
index 0f8f910c2..b4d548886 100644
--- a/tdeio/bookmarks/kbookmarkbar.cpp
+++ b/tdeio/bookmarks/kbookmarkbar.cpp
@@ -265,7 +265,7 @@ void KBookmarkBar::slotBookmarkSelected( TDEAction::ActivationReason /*reason*/,
void KBookmarkBar::slotBookmarkSelected()
{
- slotBookmarkSelected(TDEAction::ToolBarActivation, Qt::NoButton);
+ slotBookmarkSelected(TDEAction::ToolBarActivation, TQt::NoButton);
}
static const int const_sepId = -9999; // FIXME this is ugly,
@@ -456,7 +456,7 @@ bool KBookmarkBar::eventFilter( TQObject *o, TQEvent *e )
// FIXME, see how this holds up on an empty toolbar
_a = handleToolbarMouseButton( mev->pos(), dptr()->m_actions, m_pManager, pt );
- if (_a && mev->button() == Qt::RightButton)
+ if (_a && mev->button() == TQt::RightButton)
{
dptr()->m_highlightedAddress = _a->property("address").toString();
KBookmark bookmark = m_pManager->findByAddress( dptr()->m_highlightedAddress );
diff --git a/tdeio/bookmarks/kbookmarkmenu.cpp b/tdeio/bookmarks/kbookmarkmenu.cpp
index fd35736dd..38816f8dc 100644
--- a/tdeio/bookmarks/kbookmarkmenu.cpp
+++ b/tdeio/bookmarks/kbookmarkmenu.cpp
@@ -756,7 +756,7 @@ void KBookmarkMenu::slotBookmarkSelected( TDEAction::ActivationReason /*reason*/
void KBookmarkMenu::slotBookmarkSelected()
{
- slotBookmarkSelected(TDEAction::PopupMenuActivation, Qt::NoButton);
+ slotBookmarkSelected(TDEAction::PopupMenuActivation, TQt::NoButton);
}
KExtendedBookmarkOwner* KBookmarkMenu::extOwner()
diff --git a/tdeio/kssl/ksslinfodlg.cpp b/tdeio/kssl/ksslinfodlg.cpp
index 37e13854e..9ed7742a7 100644
--- a/tdeio/kssl/ksslinfodlg.cpp
+++ b/tdeio/kssl/ksslinfodlg.cpp
@@ -285,14 +285,14 @@ void KSSLInfoDlg::displayCert(KSSLCertificate *x) {
d->_serialNum->setText(x->getSerialNumber());
cspl = d->_validFrom->palette();
- if (x->getQDTNotBefore() > TQDateTime::currentDateTime(Qt::UTC))
+ if (x->getQDTNotBefore() > TQDateTime::currentDateTime(TQt::UTC))
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
else cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
d->_validFrom->setPalette(cspl);
d->_validFrom->setText(x->getNotBefore());
cspl = d->_validUntil->palette();
- if (x->getQDTNotAfter() < TQDateTime::currentDateTime(Qt::UTC))
+ if (x->getQDTNotAfter() < TQDateTime::currentDateTime(TQt::UTC))
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
else cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
d->_validUntil->setPalette(cspl);
@@ -317,8 +317,8 @@ void KSSLInfoDlg::displayCert(KSSLCertificate *x) {
ksv = ksvl.first();
if (ksv == KSSLCertificate::SelfSigned) {
- if (x->getQDTNotAfter() > TQDateTime::currentDateTime(Qt::UTC) &&
- x->getQDTNotBefore() < TQDateTime::currentDateTime(Qt::UTC)) {
+ if (x->getQDTNotAfter() > TQDateTime::currentDateTime(TQt::UTC) &&
+ x->getQDTNotBefore() < TQDateTime::currentDateTime(TQt::UTC)) {
if (KSSLSigners().useForSSL(*x))
ksv = KSSLCertificate::Ok;
} else {
@@ -411,37 +411,37 @@ void KSSLCertBox::setValues(TQString certName, TQWidget *mailCatcher) {
TQLabel *label = 0L;
if (!(tmp = cert.getValue("O")).isEmpty()) {
label = new TQLabel(i18n("Organization:"), _frame);
- label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
+ label->setAlignment(TQt::AlignLeft | TQt::AlignTop);
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
}
if (!(tmp = cert.getValue("OU")).isEmpty()) {
label = new TQLabel(i18n("Organizational unit:"), _frame);
- label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
+ label->setAlignment(TQt::AlignLeft | TQt::AlignTop);
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
}
if (!(tmp = cert.getValue("L")).isEmpty()) {
label = new TQLabel(i18n("Locality:"), _frame);
- label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
+ label->setAlignment(TQt::AlignLeft | TQt::AlignTop);
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
}
if (!(tmp = cert.getValue("ST")).isEmpty()) {
label = new TQLabel(i18n("Federal State","State:"), _frame);
- label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
+ label->setAlignment(TQt::AlignLeft | TQt::AlignTop);
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
}
if (!(tmp = cert.getValue("C")).isEmpty()) {
label = new TQLabel(i18n("Country:"), _frame);
- label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
+ label->setAlignment(TQt::AlignLeft | TQt::AlignTop);
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
}
if (!(tmp = cert.getValue("CN")).isEmpty()) {
label = new TQLabel(i18n("Common name:"), _frame);
- label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
+ label->setAlignment(TQt::AlignLeft | TQt::AlignTop);
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
}
if (!(tmp = cert.getValue("Email")).isEmpty()) {
label = new TQLabel(i18n("Email:"), _frame);
- label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
+ label->setAlignment(TQt::AlignLeft | TQt::AlignTop);
if (mailCatcher) {
KURLLabel *mail = new KURLLabel(tmp, tmp, _frame);
connect(mail, TQT_SIGNAL(leftClickedURL(const TQString &)), mailCatcher, TQT_SLOT(mailClicked(const TQString &)));
diff --git a/tdeio/tdefile/kacleditwidget.cpp b/tdeio/tdefile/kacleditwidget.cpp
index 8b1995005..0bf668a97 100644
--- a/tdeio/tdefile/kacleditwidget.cpp
+++ b/tdeio/tdefile/kacleditwidget.cpp
@@ -213,7 +213,7 @@ void KACLListViewItem::paintCell( TQPainter* p, const TQColorGroup &cg,
const bool lastNonDefault = !isDefault && below && below->isDefault;
if ( type == KACLListView::Mask || lastUser || lastNonDefault )
{
- p->setPen( TQPen( Qt::gray, 0, TQPen::DotLine ) );
+ p->setPen( TQPen( TQt::gray, 0, TQPen::DotLine ) );
if ( type == KACLListView::Mask )
p->drawLine( 0, 0, width - 1, 0 );
p->drawLine( 0, height() - 1, width - 1, height() - 1 );
diff --git a/tdeio/tdefile/kcustommenueditor.cpp b/tdeio/tdefile/kcustommenueditor.cpp
index b59108071..3e6056edd 100644
--- a/tdeio/tdefile/kcustommenueditor.cpp
+++ b/tdeio/tdefile/kcustommenueditor.cpp
@@ -94,7 +94,7 @@ KCustomMenuEditor::KCustomMenuEditor(TQWidget *parent)
m_listView->addColumn(i18n("Menu"));
m_listView->setFullWidth(true);
m_listView->setSorting(-1);
- KButtonBox *buttonBox = new KButtonBox(page, Qt::Vertical);
+ KButtonBox *buttonBox = new KButtonBox(page, TQt::Vertical);
buttonBox->addButton(i18n("New..."), TQT_TQOBJECT(this), TQT_SLOT(slotNewItem()));
d->pbRemove=buttonBox->addButton(i18n("Remove"), TQT_TQOBJECT(this), TQT_SLOT(slotRemoveItem()));
d->pbMoveUp=buttonBox->addButton(i18n("Move Up"), TQT_TQOBJECT(this), TQT_SLOT(slotMoveUp()));
diff --git a/tdeio/tdefile/kicondialog.cpp b/tdeio/tdefile/kicondialog.cpp
index 7acc04ad0..c2a2721b6 100644
--- a/tdeio/tdefile/kicondialog.cpp
+++ b/tdeio/tdefile/kicondialog.cpp
@@ -267,7 +267,7 @@ void TDEIconDialog::init()
TQVBoxLayout *top = new TQVBoxLayout(main);
top->setSpacing( spacingHint() );
- TQButtonGroup *bgroup = new TQButtonGroup(0, Qt::Vertical, i18n("Icon Source"), main);
+ TQButtonGroup *bgroup = new TQButtonGroup(0, TQt::Vertical, i18n("Icon Source"), main);
bgroup->layout()->setSpacing(KDialog::spacingHint());
bgroup->layout()->setMargin(KDialog::marginHint());
top->addWidget(bgroup);
diff --git a/tdeio/tdefile/kimagefilepreview.cpp b/tdeio/tdefile/kimagefilepreview.cpp
index f96be72fc..a1aa22454 100644
--- a/tdeio/tdefile/kimagefilepreview.cpp
+++ b/tdeio/tdefile/kimagefilepreview.cpp
@@ -43,7 +43,7 @@ KImageFilePreview::KImageFilePreview( TQWidget *parent )
imageLabel = new TQLabel( this );
imageLabel->setFrameStyle( TQFrame::NoFrame );
- imageLabel->setAlignment( Qt::AlignHCenter | Qt::AlignVCenter );
+ imageLabel->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
imageLabel->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding) );
vb->addWidget( imageLabel );
diff --git a/tdeio/tdefile/kmetaprops.cpp b/tdeio/tdefile/kmetaprops.cpp
index 21c75e0ce..e511d5b61 100644
--- a/tdeio/tdefile/kmetaprops.cpp
+++ b/tdeio/tdefile/kmetaprops.cpp
@@ -150,7 +150,7 @@ void KFileMetaPropsPlugin::createLayout()
if (itemList.isEmpty())
continue;
- TQGroupBox *groupBox = new TQGroupBox(2, Qt::Horizontal,
+ TQGroupBox *groupBox = new TQGroupBox(2, TQt::Horizontal,
TQStyleSheet::escape(mtinfo->groupInfo(*git)->translatedName()),
d->m_frame);
diff --git a/tdeio/tdefile/knotifydialog.cpp b/tdeio/tdefile/knotifydialog.cpp
index 5d1aba62d..330a19b30 100644
--- a/tdeio/tdefile/knotifydialog.cpp
+++ b/tdeio/tdefile/knotifydialog.cpp
@@ -133,7 +133,7 @@ namespace KNotify
TQHeader *header = static_cast<TQHeader*>( parentWidget() );
int section = 0;
- if ( header->orientation() == Qt::Horizontal )
+ if ( header->orientation() == TQt::Horizontal )
section= header->sectionAt( p.x() );
else
section= header->sectionAt( p.y() );
diff --git a/tdeio/tdefile/kpropertiesdialog.cpp b/tdeio/tdefile/kpropertiesdialog.cpp
index cab15872c..58d58688b 100644
--- a/tdeio/tdefile/kpropertiesdialog.cpp
+++ b/tdeio/tdefile/kpropertiesdialog.cpp
@@ -906,7 +906,7 @@ KFilePropsPlugin::KFilePropsPlugin( KPropertiesDialog *_props )
}
iconArea = iconLabel;
}
- grid->addWidget(iconArea, curRow, 0, Qt::AlignLeft);
+ grid->addWidget(iconArea, curRow, 0, TQt::AlignLeft);
if (d->bMultiple || isTrash || isDevice || isMediaNode || hasRoot)
{
@@ -1676,7 +1676,7 @@ KFilePermissionsPropsPlugin::KFilePermissionsPropsPlugin( KPropertiesDialog *_pr
TQPushButton* pbAdvancedPerm = 0;
/* Group: Access Permissions */
- gb = new TQGroupBox ( 0, Qt::Vertical, i18n("Access Permissions"), d->m_frame );
+ gb = new TQGroupBox ( 0, TQt::Vertical, i18n("Access Permissions"), d->m_frame );
gb->layout()->setSpacing(KDialog::spacingHint());
gb->layout()->setMargin(KDialog::marginHint());
box->addWidget (gb);
@@ -1737,7 +1737,7 @@ KFilePermissionsPropsPlugin::KFilePermissionsPropsPlugin( KPropertiesDialog *_pr
gl->addMultiCell(spacer, 5, 5, 0, 1);
pbAdvancedPerm = new TQPushButton(i18n("A&dvanced Permissions"), gb);
- gl->addMultiCellWidget(pbAdvancedPerm, 6, 6, 0, 1, Qt::AlignRight);
+ gl->addMultiCellWidget(pbAdvancedPerm, 6, 6, 0, 1, TQt::AlignRight);
connect(pbAdvancedPerm, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotShowAdvancedPermissions() ));
}
else
@@ -1745,7 +1745,7 @@ KFilePermissionsPropsPlugin::KFilePermissionsPropsPlugin( KPropertiesDialog *_pr
/**** Group: Ownership ****/
- gb = new TQGroupBox ( 0, Qt::Vertical, i18n("Ownership"), d->m_frame );
+ gb = new TQGroupBox ( 0, TQt::Vertical, i18n("Ownership"), d->m_frame );
gb->layout()->setSpacing(KDialog::spacingHint());
gb->layout()->setMargin(KDialog::marginHint());
box->addWidget (gb);
@@ -1941,7 +1941,7 @@ void KFilePermissionsPropsPlugin::slotShowAdvancedPermissions() {
TQVBox *mainVBox = dlg.makeVBoxMainWidget();
// Group: Access Permissions
- gb = new TQGroupBox ( 0, Qt::Vertical, i18n("Access Permissions"), mainVBox );
+ gb = new TQGroupBox ( 0, TQt::Vertical, i18n("Access Permissions"), mainVBox );
gb->layout()->setSpacing(KDialog::spacingHint());
gb->layout()->setMargin(KDialog::marginHint());
@@ -3702,7 +3702,7 @@ KExecPropsPlugin::KExecPropsPlugin( KPropertiesDialog *_props )
// The groupbox about swallowing
TQGroupBox* tmpQGroupBox;
tmpQGroupBox = new TQGroupBox( i18n("Panel Embedding"), d->m_frame );
- tmpQGroupBox->setColumnLayout( 0, Qt::Horizontal );
+ tmpQGroupBox->setColumnLayout( 0, TQt::Horizontal );
mainlayout->addWidget(tmpQGroupBox);
@@ -3729,7 +3729,7 @@ KExecPropsPlugin::KExecPropsPlugin( KPropertiesDialog *_props )
// The groupbox about run in terminal
tmpQGroupBox = new TQGroupBox( d->m_frame );
- tmpQGroupBox->setColumnLayout( 0, Qt::Horizontal );
+ tmpQGroupBox->setColumnLayout( 0, TQt::Horizontal );
mainlayout->addWidget(tmpQGroupBox);
@@ -3768,7 +3768,7 @@ KExecPropsPlugin::KExecPropsPlugin( KPropertiesDialog *_props )
// The groupbox about run with substituted uid.
tmpQGroupBox = new TQGroupBox( d->m_frame );
- tmpQGroupBox->setColumnLayout( 0, Qt::Horizontal );
+ tmpQGroupBox->setColumnLayout( 0, TQt::Horizontal );
mainlayout->addWidget(tmpQGroupBox);
diff --git a/tdeio/tdefile/kurlbar.cpp b/tdeio/tdefile/kurlbar.cpp
index 1195b1451..17ef303ac 100644
--- a/tdeio/tdefile/kurlbar.cpp
+++ b/tdeio/tdefile/kurlbar.cpp
@@ -377,7 +377,7 @@ KURLBarItem * KURLBar::insertDynamicItem(const KURL& url, const TQString& descri
return item;
}
-void KURLBar::setOrientation( Qt::Orientation orient )
+void KURLBar::setOrientation( TQt::Orientation orient )
{
m_listBox->setOrientation( orient );
setSizePolicy( TQSizePolicy( isVertical() ?
@@ -388,7 +388,7 @@ void KURLBar::setOrientation( Qt::Orientation orient )
TQSizePolicy::Maximum ));
}
-Qt::Orientation KURLBar::orientation() const
+TQt::Orientation KURLBar::orientation() const
{
return m_listBox->orientation();
}
@@ -399,7 +399,7 @@ void KURLBar::setListBox( KURLBarListBox *view )
if ( !view ) {
m_listBox = new KURLBarListBox( this, "urlbar listbox" );
- setOrientation( Qt::Vertical );
+ setOrientation( TQt::Vertical );
}
else {
m_listBox = view;
@@ -520,7 +520,7 @@ TQSize KURLBar::minimumSizeHint() const
void KURLBar::slotSelected( int button, TQListBoxItem *item )
{
- if ( button != Qt::LeftButton )
+ if ( button != TQt::LeftButton )
return;
slotSelected( item );
@@ -877,9 +877,9 @@ void KURLBarListBox::contextMenuEvent( TQContextMenuEvent *e )
}
}
-void KURLBarListBox::setOrientation( Qt::Orientation orient )
+void KURLBarListBox::setOrientation( TQt::Orientation orient )
{
- if ( orient == Qt::Vertical ) {
+ if ( orient == TQt::Vertical ) {
setColumnMode( 1 );
setRowMode( Variable );
}
diff --git a/tdeio/tdefile/kurlbar.h b/tdeio/tdefile/kurlbar.h
index a41366243..6fec32ee3 100644
--- a/tdeio/tdefile/kurlbar.h
+++ b/tdeio/tdefile/kurlbar.h
@@ -277,7 +277,7 @@ public:
* horizontally in one row.
* @see orientation
*/
- virtual void setOrientation( Qt::Orientation orient );
+ virtual void setOrientation( TQt::Orientation orient );
/**
* @returns the current orientation mode.
* @see setOrientation
@@ -382,7 +382,7 @@ public:
/**
* @returns true if the bar is in vertical mode.
*/
- bool isVertical() const { return orientation() == Qt::Vertical; }
+ bool isVertical() const { return orientation() == TQt::Vertical; }
public slots:
/**
@@ -510,14 +510,14 @@ public:
* column.
* @see orientation
*/
- virtual void setOrientation( Qt::Orientation orient );
+ virtual void setOrientation( TQt::Orientation orient );
/**
* @returns the current orientation.
* @see setOrientation
*/
- Qt::Orientation orientation() const { return m_orientation; }
+ TQt::Orientation orientation() const { return m_orientation; }
- bool isVertical() const { return m_orientation == Qt::Vertical; }
+ bool isVertical() const { return m_orientation == TQt::Vertical; }
signals:
/**
@@ -537,7 +537,7 @@ protected:
virtual void paintEvent( TQPaintEvent* );
private:
- Qt::Orientation m_orientation;
+ TQt::Orientation m_orientation;
KURLBarToolTip *m_toolTip;
protected:
diff --git a/tdeio/tdefile/tdefiledialog.cpp b/tdeio/tdefile/tdefiledialog.cpp
index 0362998b2..bed8155c1 100644
--- a/tdeio/tdefile/tdefiledialog.cpp
+++ b/tdeio/tdefile/tdefiledialog.cpp
@@ -968,7 +968,7 @@ void KFileDialog::init(const TQString& startDir, const TQString& filter, TQWidge
menu->plug( toolbar );
//Insert a separator.
- TDEToolBarSeparator* spacerWidget = new TDEToolBarSeparator(Qt::Horizontal, false /*no line*/,
+ TDEToolBarSeparator* spacerWidget = new TDEToolBarSeparator(TQt::Horizontal, false /*no line*/,
toolbar);
d->m_pathComboIndex = toolbar->insertWidget(-1, -1, spacerWidget);
toolbar->insertWidget(PATH_COMBO, 0, d->pathCombo);
@@ -1083,13 +1083,13 @@ void KFileDialog::initGUI()
TQGridLayout* lafBox= new TQGridLayout(2, 3, KDialog::spacingHint());
- lafBox->addWidget(d->locationLabel, 0, 0, Qt::AlignVCenter);
- lafBox->addWidget(locationEdit, 0, 1, Qt::AlignVCenter);
- lafBox->addWidget(d->okButton, 0, 2, Qt::AlignVCenter);
+ lafBox->addWidget(d->locationLabel, 0, 0, TQt::AlignVCenter);
+ lafBox->addWidget(locationEdit, 0, 1, TQt::AlignVCenter);
+ lafBox->addWidget(d->okButton, 0, 2, TQt::AlignVCenter);
- lafBox->addWidget(d->filterLabel, 1, 0, Qt::AlignVCenter);
- lafBox->addWidget(filterWidget, 1, 1, Qt::AlignVCenter);
- lafBox->addWidget(d->cancelButton, 1, 2, Qt::AlignVCenter);
+ lafBox->addWidget(d->filterLabel, 1, 0, TQt::AlignVCenter);
+ lafBox->addWidget(filterWidget, 1, 1, TQt::AlignVCenter);
+ lafBox->addWidget(d->cancelButton, 1, 2, TQt::AlignVCenter);
lafBox->setColStretch(1, 4);
diff --git a/tdeio/tdefile/tdefilesharedlg.cpp b/tdeio/tdefile/tdefilesharedlg.cpp
index a2fb01c2c..8c18a582a 100644
--- a/tdeio/tdefile/tdefilesharedlg.cpp
+++ b/tdeio/tdefile/tdefilesharedlg.cpp
@@ -194,7 +194,7 @@ void KFileSharePropsPlugin::init()
vbox->addWidget( label, 0 );
m_pbConfig = new TQPushButton( i18n("Configure File Sharing..."), m_widget );
connect( m_pbConfig, TQT_SIGNAL( clicked() ), TQT_SLOT( slotConfigureFileSharing() ) );
- vbox->addWidget( m_pbConfig, 0, Qt::AlignHCenter );
+ vbox->addWidget( m_pbConfig, 0, TQt::AlignHCenter );
vbox->addStretch( 10 );
@@ -221,7 +221,7 @@ void KFileSharePropsPlugin::init()
vbox->addLayout( hBox, 0 );
m_pbConfig = new TQPushButton( i18n("Configure File Sharing..."), m_widget );
connect( m_pbConfig, TQT_SIGNAL( clicked() ), TQT_SLOT( slotConfigureFileSharing() ) );
- hBox->addWidget( m_pbConfig, 0, Qt::AlignHCenter );
+ hBox->addWidget( m_pbConfig, 0, TQt::AlignHCenter );
vbox->addStretch( 10 ); // align items on top
break;
}
diff --git a/tdeio/tdeio/job.cpp b/tdeio/tdeio/job.cpp
index cbe1a81d5..bb5ed8178 100644
--- a/tdeio/tdeio/job.cpp
+++ b/tdeio/tdeio/job.cpp
@@ -1794,7 +1794,7 @@ void FileCopyJob::startDataPump()
m_putJob = put( m_dest, m_permissions, m_overwrite, m_resume, false /* no GUI */);
if ( d->m_modificationTime != static_cast<time_t>( -1 ) ) {
TQDateTime dt; dt.setTime_t( d->m_modificationTime );
- m_putJob->addMetaData( "modified", dt.toString( Qt::ISODate ) );
+ m_putJob->addMetaData( "modified", dt.toString( TQt::ISODate ) );
}
//kdDebug(7007) << "FileCopyJob: m_putJob = " << m_putJob << " m_dest=" << m_dest << endl;
diff --git a/tdeio/tdeio/passdlg.cpp b/tdeio/tdeio/passdlg.cpp
index 91fba050d..c0109f3cf 100644
--- a/tdeio/tdeio/passdlg.cpp
+++ b/tdeio/tdeio/passdlg.cpp
@@ -87,13 +87,13 @@ void PasswordDialog::init( const TQString& prompt, const TQString& user,
{
lbl = new TQLabel( main );
lbl->setPixmap( pix );
- lbl->setAlignment( Qt::AlignLeft|Qt::AlignVCenter );
+ lbl->setAlignment( TQt::AlignLeft|TQt::AlignVCenter );
lbl->setFixedSize( lbl->sizeHint() );
- d->layout->addWidget( lbl, 0, 0, Qt::AlignLeft );
+ d->layout->addWidget( lbl, 0, 0, TQt::AlignLeft );
}
d->prompt = new TQLabel( main );
- d->prompt->setAlignment( Qt::AlignLeft|Qt::AlignVCenter|TQt::WordBreak );
- d->layout->addWidget( d->prompt, 0, 2, Qt::AlignLeft );
+ d->prompt->setAlignment( TQt::AlignLeft|TQt::AlignVCenter|TQt::WordBreak );
+ d->layout->addWidget( d->prompt, 0, 2, TQt::AlignLeft );
if ( prompt.isEmpty() )
setPrompt( i18n( "You need to supply a username and a password" ) );
else
@@ -106,7 +106,7 @@ void PasswordDialog::init( const TQString& prompt, const TQString& user,
// Row 4: Username field
d->userNameLabel = new TQLabel( i18n("&Username:"), main );
- d->userNameLabel->setAlignment( Qt::AlignVCenter | Qt::AlignLeft );
+ d->userNameLabel->setAlignment( TQt::AlignVCenter | TQt::AlignLeft );
d->userNameLabel->setFixedSize( d->userNameLabel->sizeHint() );
d->userNameHBox = new TQHBox( main );
@@ -123,7 +123,7 @@ void PasswordDialog::init( const TQString& prompt, const TQString& user,
// Row 6: Password field
lbl = new TQLabel( i18n("&Password:"), main );
- lbl->setAlignment( Qt::AlignVCenter | Qt::AlignLeft );
+ lbl->setAlignment( TQt::AlignVCenter | TQt::AlignLeft );
lbl->setFixedSize( lbl->sizeHint() );
TQHBox* hbox = new TQHBox( main );
d->passEdit = new KLineEdit( hbox );
@@ -239,13 +239,13 @@ void PasswordDialog::addCommentLine( const TQString& label,
TQWidget *main = mainWidget();
TQLabel* lbl = new TQLabel( label, main);
- lbl->setAlignment( Qt::AlignVCenter|Qt::AlignRight );
+ lbl->setAlignment( TQt::AlignVCenter|TQt::AlignRight );
lbl->setFixedSize( lbl->sizeHint() );
- d->layout->addWidget( lbl, d->nRow+2, 0, Qt::AlignLeft );
+ d->layout->addWidget( lbl, d->nRow+2, 0, TQt::AlignLeft );
lbl = new TQLabel( comment, main);
- lbl->setAlignment( Qt::AlignVCenter|Qt::AlignLeft|TQt::WordBreak );
+ lbl->setAlignment( TQt::AlignVCenter|TQt::AlignLeft|TQt::WordBreak );
calculateLabelSize(lbl);
- d->layout->addWidget( lbl, d->nRow+2, 2, Qt::AlignLeft );
+ d->layout->addWidget( lbl, d->nRow+2, 2, TQt::AlignLeft );
d->layout->addRowSpacing( 3, 10 ); // Add a spacer
d->nRow++;
}
diff --git a/tdeio/tdeio/statusbarprogress.cpp b/tdeio/tdeio/statusbarprogress.cpp
index d7ef698c4..3d28f9ad1 100644
--- a/tdeio/tdeio/statusbarprogress.cpp
+++ b/tdeio/tdeio/statusbarprogress.cpp
@@ -144,7 +144,7 @@ bool StatusbarProgress::eventFilter( TQObject *, TQEvent *ev ) {
if ( ev->type() == TQEvent::MouseButtonPress ) {
TQMouseEvent *e = (TQMouseEvent*)ev;
- if ( e->button() == Qt::LeftButton ) { // toggle view on left mouse button
+ if ( e->button() == TQt::LeftButton ) { // toggle view on left mouse button
if ( mode == Label ) {
mode = Progress;
} else if ( mode == Progress ) {