diff options
Diffstat (limited to 'tdeio/tdefile')
-rw-r--r-- | tdeio/tdefile/kacleditwidget.cpp | 2 | ||||
-rw-r--r-- | tdeio/tdefile/kcustommenueditor.cpp | 2 | ||||
-rw-r--r-- | tdeio/tdefile/kicondialog.cpp | 2 | ||||
-rw-r--r-- | tdeio/tdefile/kimagefilepreview.cpp | 2 | ||||
-rw-r--r-- | tdeio/tdefile/kmetaprops.cpp | 2 | ||||
-rw-r--r-- | tdeio/tdefile/knotifydialog.cpp | 2 | ||||
-rw-r--r-- | tdeio/tdefile/kpropertiesdialog.cpp | 16 | ||||
-rw-r--r-- | tdeio/tdefile/kurlbar.cpp | 12 | ||||
-rw-r--r-- | tdeio/tdefile/kurlbar.h | 12 | ||||
-rw-r--r-- | tdeio/tdefile/tdefiledialog.cpp | 14 | ||||
-rw-r--r-- | tdeio/tdefile/tdefilesharedlg.cpp | 4 |
11 files changed, 35 insertions, 35 deletions
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; } |