summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:24:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:24:43 -0600
commitb0f531735b0175ba112ceb87d01731a7b2334772 (patch)
tree373f53c0f57c1f6c5a866781241be07edaf4840c /quanta/treeviews
parent84c989c19db5daab602a67f47ca0f5fd7a2b53d2 (diff)
downloadtdewebdev-b0f531735b0175ba112ceb87d01731a7b2334772.tar.gz
tdewebdev-b0f531735b0175ba112ceb87d01731a7b2334772.zip
Rename obsolete tq methods to standard names
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 b0418558..94c4611a 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 533c0186..cfd05141 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;