diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:19:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:19:21 -0600 |
commit | b492b550f35c84160958775c14ea7037c5b12181 (patch) | |
tree | 536b2c14f3f66ed88c75941c38f6b2de56b024ed /libkonq | |
parent | f64397c82fa94371ab4a64af28c4d0029f4cd93f (diff) | |
download | tdebase-b492b550f35c84160958775c14ea7037c5b12181.tar.gz tdebase-b492b550f35c84160958775c14ea7037c5b12181.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'libkonq')
-rw-r--r-- | libkonq/konq_bgnddlg.cc | 6 | ||||
-rw-r--r-- | libkonq/konq_dirpart.cc | 4 | ||||
-rw-r--r-- | libkonq/konq_iconviewwidget.cc | 4 | ||||
-rw-r--r-- | libkonq/konq_operations.cc | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/libkonq/konq_bgnddlg.cc b/libkonq/konq_bgnddlg.cc index 53e46bfbe..ca21c69a3 100644 --- a/libkonq/konq_bgnddlg.cc +++ b/libkonq/konq_bgnddlg.cc @@ -48,9 +48,9 @@ KonqBgndDialog::KonqBgndDialog( TQWidget* parent, m_buttonGroup = new TQButtonGroup( i18n("Background"), page ); m_buttonGroup->setColumnLayout( 0, Qt::Vertical ); - m_buttonGroup->tqlayout()->setMargin( KDialog::marginHint() ); - m_buttonGroup->tqlayout()->setSpacing( KDialog::spacingHint() ); - TQGridLayout* groupLayout = new TQGridLayout( m_buttonGroup->tqlayout() ); + m_buttonGroup->layout()->setMargin( KDialog::marginHint() ); + m_buttonGroup->layout()->setSpacing( KDialog::spacingHint() ); + TQGridLayout* groupLayout = new TQGridLayout( m_buttonGroup->layout() ); groupLayout->setAlignment( Qt::AlignTop ); mainLayout->addWidget( m_buttonGroup ); diff --git a/libkonq/konq_dirpart.cc b/libkonq/konq_dirpart.cc index 702e85b83..d64dde7ef 100644 --- a/libkonq/konq_dirpart.cc +++ b/libkonq/konq_dirpart.cc @@ -133,7 +133,7 @@ KonqDirPart::KonqDirPart( TQObject *parent, const char *name ) resetCount(); //m_bMultipleItemsSelected = false; - connect( TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) ); + connect( TQApplication::clipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) ); actionCollection()->setHighlightingEnabled( true ); @@ -418,7 +418,7 @@ void KonqDirPart::slotClipboardDataChanged() // This is very related to KDIconView::slotClipboardDataChanged KURL::List lst; - TQMimeSource *data = TQApplication::tqclipboard()->data(); + TQMimeSource *data = TQApplication::clipboard()->data(); if ( data->provides( "application/x-kde-cutselection" ) && data->provides( "text/uri-list" ) ) if ( KonqDrag::decodeIsCutSelection( data ) ) (void) KURLDrag::decode( data, lst ); diff --git a/libkonq/konq_iconviewwidget.cc b/libkonq/konq_iconviewwidget.cc index f15e9d1d6..9c8571f1e 100644 --- a/libkonq/konq_iconviewwidget.cc +++ b/libkonq/konq_iconviewwidget.cc @@ -1147,14 +1147,14 @@ void KonqIconViewWidget::cutSelection() kdDebug(1203) << " -- KonqIconViewWidget::cutSelection() -- " << endl; KonqIconDrag * obj = konqDragObject( /* no parent ! */ ); obj->setMoveSelection( true ); - TQApplication::tqclipboard()->setData( obj ); + TQApplication::clipboard()->setData( obj ); } void KonqIconViewWidget::copySelection() { kdDebug(1203) << " -- KonqIconViewWidget::copySelection() -- " << endl; KonqIconDrag * obj = konqDragObject( /* no parent ! */ ); - TQApplication::tqclipboard()->setData( obj ); + TQApplication::clipboard()->setData( obj ); } void KonqIconViewWidget::pasteSelection() diff --git a/libkonq/konq_operations.cc b/libkonq/konq_operations.cc index 0e0416f70..9d52bddb7 100644 --- a/libkonq/konq_operations.cc +++ b/libkonq/konq_operations.cc @@ -124,7 +124,7 @@ void KonqOperations::doPaste( TQWidget * parent, const KURL & destURL, const TQP { // move or not move ? bool move = false; - TQMimeSource *data = TQApplication::tqclipboard()->data(); + TQMimeSource *data = TQApplication::clipboard()->data(); if ( data->provides( "application/x-kde-cutselection" ) ) { move = KonqDrag::decodeIsCutSelection( data ); kdDebug(1203) << "move (from clipboard data) = " << move << endl; |