summaryrefslogtreecommitdiffstats
path: root/kdcop
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:46:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:46:05 -0600
commit73c08b592db45af554b9f21029bc549d70f683ab (patch)
tree122898ea951e59fdc4419b3c84b7a6c2dd0bb5f7 /kdcop
parente81bdee8ae92d6eeb82daa8c0a0e46bf37f4a6da (diff)
downloadtdebase-73c08b592db45af554b9f21029bc549d70f683ab.tar.gz
tdebase-73c08b592db45af554b9f21029bc549d70f683ab.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kdcop')
-rw-r--r--kdcop/kdcopview.ui2
-rw-r--r--kdcop/kdcopwindow.cpp52
2 files changed, 27 insertions, 27 deletions
diff --git a/kdcop/kdcopview.ui b/kdcop/kdcopview.ui
index 7491da6cb..cfef4f95c 100644
--- a/kdcop/kdcopview.ui
+++ b/kdcop/kdcopview.ui
@@ -98,7 +98,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
diff --git a/kdcop/kdcopwindow.cpp b/kdcop/kdcopwindow.cpp
index 212376a0a..1f6fa75a6 100644
--- a/kdcop/kdcopwindow.cpp
+++ b/kdcop/kdcopwindow.cpp
@@ -30,7 +30,7 @@
#include <tqwidgetstack.h>
#include <tqlabel.h>
#include <tqsplitter.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcheckbox.h>
#include <tqlineedit.h>
#include <tqvalidator.h>
@@ -40,7 +40,7 @@
#include <tqcursor.h>
#include <tqsize.h>
#include <tqrect.h>
-#include <tqclipboard.h>
+#include <clipboard.h>
#include <tqdatetime.h>
#include <dcopref.h>
#include <tqvbox.h>
@@ -114,7 +114,7 @@ DCOPBrowserApplicationItem::DCOPBrowserApplicationItem
{
setExpandable(true);
setText(0, TQString::fromUtf8(app_));
- setPixmap(0, KGlobal::iconLoader()->loadIcon( TQString::tqfromLatin1( "exec" ), KIcon::Small ));
+ setPixmap(0, KGlobal::iconLoader()->loadIcon( TQString::fromLatin1( "exec" ), KIcon::Small ));
/* Get the icon: we use the icon from a mainwindow in that class.
@@ -674,7 +674,7 @@ void KDCOPWindow::slotCallFunction( TQListViewItem* it )
}
if (!wl.isEmpty())
- wl.tqat(0)->setFocus();
+ wl.at(0)->setFocus();
i++;
@@ -693,104 +693,104 @@ void KDCOPWindow::slotCallFunction( TQListViewItem* it )
if ( type == "int" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << e->text().toInt();
}
else if ( type == "unsigned" || type == "uint" || type == "unsigned int"
|| type == "TQ_UINT32" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << e->text().toUInt();
}
else if( type == "long" || type == "long int" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << e->text().toLong();
}
else if( type == "ulong" || type == "unsigned long" || type == "unsigned long int" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << e->text().toULong();
}
else if( type == "short" || type == "short int" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << e->text().toShort();
}
else if( type == "ushort" || type == "unsigned short" || type == "unsigned short int" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << e->text().toUShort();
}
else if ( type == "TQ_UINT64" )
{
- KLineEdit* e = ( KLineEdit* )wl.tqat( i );
+ KLineEdit* e = ( KLineEdit* )wl.at( i );
arg << e->text().toULongLong();
}
else if( type == "float" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << e->text().toFloat();
}
else if( type == "double" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << e->text().toDouble();
}
else if( type == "bool" )
{
- TQCheckBox* c = (TQCheckBox*)wl.tqat( i );
+ TQCheckBox* c = (TQCheckBox*)wl.at( i );
arg << c->isChecked();
}
else if( type == "TQCString" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << TQCString( e->text().local8Bit() );
}
else if( type == "TQString" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << e->text();
}
else if( type == "TQStringList" )
{
- KEditListBox* e = (KEditListBox*)wl.tqat( i );
+ KEditListBox* e = (KEditListBox*)wl.at( i );
arg << e->items();
}
else if( type == "TQValueList<TQCString>" )
{
- KEditListBox* e = (KEditListBox*)wl.tqat( i );
+ KEditListBox* e = (KEditListBox*)wl.at( i );
for (int i = 0; i < e->count(); i++)
arg << TQCString( e->text(i).local8Bit() );
}
else if( type == "KURL" )
{
- KLineEdit* e = (KLineEdit*)wl.tqat( i );
+ KLineEdit* e = (KLineEdit*)wl.at( i );
arg << KURL( e->text() );
}
else if( type == "TQColor" )
{
- KColorButton* e = (KColorButton*)wl.tqat( i );
+ KColorButton* e = (KColorButton*)wl.at( i );
arg << e->color();
}
else if( type == "TQSize" )
{
- KMultiIntEdit* e = (KMultiIntEdit*)wl.tqat( i );
+ KMultiIntEdit* e = (KMultiIntEdit*)wl.at( i );
arg << TQSize(e->field(1) , e->field(2)) ;
}
else if( type == "TQPoint" )
{
- KMultiIntEdit* e = (KMultiIntEdit*)wl.tqat( i );
+ KMultiIntEdit* e = (KMultiIntEdit*)wl.at( i );
arg << TQPoint(e->field(1) , e->field(2)) ;
}
else if( type == "TQRect" )
{
- KMultiIntEdit* e = (KMultiIntEdit*)wl.tqat( i );
+ KMultiIntEdit* e = (KMultiIntEdit*)wl.at( i );
arg << TQRect(e->field(1) , e->field(2) , e->field(3) , e->field(4)) ;
}
else if( type == "TQPixmap" )
{
- KURLRequester* e= (KURLRequester*)wl.tqat( i );
+ KURLRequester* e= (KURLRequester*)wl.at( i );
arg << TQPixmap(e->url());
}
else
@@ -1053,7 +1053,7 @@ bool KDCOPWindow::demarshal
TQCursor r;
reply >> r;
//theList->insertItem(r, 1);
- ret << "Cursor #" + TQString::number(r.tqshape());
+ ret << "Cursor #" + TQString::number(r.shape());
}
else if (replyType == "TQPixmap")
{
@@ -1211,7 +1211,7 @@ void KDCOPWindow::slotCopy()
// below list view. If there is nothing selected from
// the below menu then tell the tree to copy its current
// selection as text.
- TQClipboard *clipboard = TQApplication::tqclipboard();
+ TQClipboard *clipboard = TQApplication::clipboard();
if (mainView->lb_replyData->count()!= 0)
{