summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:24:43 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-19 19:42:58 +0200
commit44b195a5922fe83a0769b971e8805cd2d3b5450e (patch)
tree5c21414324c577cd4b13a13b51a0c37a57d6cd1b /quanta/treeviews
parent39356ff58b6a5a76b0ee7fa85c538598ededdeff (diff)
downloadtdewebdev-44b195a5922fe83a0769b971e8805cd2d3b5450e.tar.gz
tdewebdev-44b195a5922fe83a0769b971e8805cd2d3b5450e.zip
Rename obsolete tq methods to standard names
(cherry picked from commit b0f531735b0175ba112ceb87d01731a7b2334772)
Diffstat (limited to 'quanta/treeviews')
-rw-r--r--quanta/treeviews/basetreeview.cpp6
-rw-r--r--quanta/treeviews/basetreeview.h4
-rw-r--r--quanta/treeviews/templatedirform.ui2
-rw-r--r--quanta/treeviews/templatestreeview.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/quanta/treeviews/basetreeview.cpp b/quanta/treeviews/basetreeview.cpp
index 924373b4..ef4fdbc3 100644
--- a/quanta/treeviews/basetreeview.cpp
+++ b/quanta/treeviews/basetreeview.cpp
@@ -648,7 +648,7 @@ void BaseTreeView::slotCopy()
{
if (currentItem())
{
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
cb->setText( currentURL().prettyURL() );
}
}
@@ -658,7 +658,7 @@ void BaseTreeView::slotPaste()
{
if (currentItem())
{
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
KURL::List list( TQStringList::split( TQChar('\n'), cb->text() ) );
KURL url = currentURL();
@@ -952,7 +952,7 @@ bool BaseTreeView::isFileOpen(const KURL &url)
bool BaseTreeView::isPathInClipboard()
{
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
KURL::List list( TQStringList::split( TQChar('\n'), cb->text() ) );
for ( KURL::List::Iterator it = list.begin(); it != list.end(); ++it )
{
diff --git a/quanta/treeviews/basetreeview.h b/quanta/treeviews/basetreeview.h
index 18ff5ae0..3d99fa3c 100644
--- a/quanta/treeviews/basetreeview.h
+++ b/quanta/treeviews/basetreeview.h
@@ -141,7 +141,7 @@ public:
virtual ~BaseTreeView();
/**
- * Saves the list view's tqlayout (column widtsh, column order, sort column)
+ * Saves the list view's layout (column widtsh, column order, sort column)
* to a KConfig group. Reimplemented to save the open folders.
*
* @param config the KConfig object to write to
@@ -150,7 +150,7 @@ public:
void saveLayout(KConfig *config, const TQString &group);
/**
- * Reads the list view's tqlayout from a KConfig group as stored with
+ * Reads the list view's layout from a KConfig group as stored with
* saveLayout. Reimplemented to load the open folders.
*
* @param config the KConfig object to read from
diff --git a/quanta/treeviews/templatedirform.ui b/quanta/treeviews/templatedirform.ui
index 524e6fbf..a8cb7705 100644
--- a/quanta/treeviews/templatedirform.ui
+++ b/quanta/treeviews/templatedirform.ui
@@ -65,7 +65,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
diff --git a/quanta/treeviews/templatestreeview.cpp b/quanta/treeviews/templatestreeview.cpp
index 1cb52171..bcd4292c 100644
--- a/quanta/treeviews/templatestreeview.cpp
+++ b/quanta/treeviews/templatestreeview.cpp
@@ -846,7 +846,7 @@ void TemplatesTreeView::slotPaste()
{
if (currentItem())
{
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
KURL::List list( TQStringList::split( TQChar('\n'), cb->text() ) );
KURL url;