summaryrefslogtreecommitdiffstats
path: root/libkonq
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:19:21 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 03:26:34 +0200
commit0251b10c2e9a79e857e5729453d375d09fa8336e (patch)
tree11223ad7a12c1bdbc81b9bb698618b0386a1ce5e /libkonq
parenta5b44fbe44e58478ad74d819c5f4c36926d31872 (diff)
downloadtdebase-0251b10c2e9a79e857e5729453d375d09fa8336e.tar.gz
tdebase-0251b10c2e9a79e857e5729453d375d09fa8336e.zip
Rename obsolete tq methods to standard names
(cherry picked from commit b492b550f35c84160958775c14ea7037c5b12181)
Diffstat (limited to 'libkonq')
-rw-r--r--libkonq/konq_bgnddlg.cc6
-rw-r--r--libkonq/konq_dirpart.cc4
-rw-r--r--libkonq/konq_iconviewwidget.cc4
-rw-r--r--libkonq/konq_operations.cc2
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 cae8179c2..8db0483bb 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;