summaryrefslogtreecommitdiffstats
path: root/kcontrol/filetypes/kserviceselectdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/filetypes/kserviceselectdlg.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/filetypes/kserviceselectdlg.cpp')
-rw-r--r--kcontrol/filetypes/kserviceselectdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/filetypes/kserviceselectdlg.cpp b/kcontrol/filetypes/kserviceselectdlg.cpp
index c3a925218..340391e32 100644
--- a/kcontrol/filetypes/kserviceselectdlg.cpp
+++ b/kcontrol/filetypes/kserviceselectdlg.cpp
@@ -22,17 +22,17 @@
#include <klocale.h>
-#include <qvbox.h>
-#include <qlabel.h>
+#include <tqvbox.h>
+#include <tqlabel.h>
-KServiceSelectDlg::KServiceSelectDlg( const QString& /*serviceType*/, const QString& /*value*/, QWidget *parent )
+KServiceSelectDlg::KServiceSelectDlg( const TQString& /*serviceType*/, const TQString& /*value*/, TQWidget *parent )
: KDialogBase( parent, "serviceSelectDlg", true,
i18n( "Add Service" ), Ok|Cancel, Ok )
{
- QVBox *vbox = new QVBox ( this );
+ TQVBox *vbox = new TQVBox ( this );
vbox->setSpacing( KDialog::spacingHint() );
- new QLabel( i18n( "Select service:" ), vbox );
+ new TQLabel( i18n( "Select service:" ), vbox );
m_listbox=new KListBox( vbox );
// Can't make a KTrader query since we don't have a servicetype to give,
@@ -40,7 +40,7 @@ KServiceSelectDlg::KServiceSelectDlg( const QString& /*serviceType*/, const QStr
// So we have to do it the slow way
// ### Why can't we query for KParts/ReadOnlyPart as the servicetype? Should work fine!
KService::List allServices = KService::allServices();
- QValueListIterator<KService::Ptr> it(allServices.begin());
+ TQValueListIterator<KService::Ptr> it(allServices.begin());
for ( ; it != allServices.end() ; ++it )
if ( (*it)->hasServiceType( "KParts/ReadOnlyPart" ) )
{
@@ -50,7 +50,7 @@ KServiceSelectDlg::KServiceSelectDlg( const QString& /*serviceType*/, const QStr
m_listbox->sort();
m_listbox->setMinimumHeight(350);
m_listbox->setMinimumWidth(300);
- connect(m_listbox,SIGNAL(doubleClicked ( QListBoxItem * )),SLOT(slotOk()));
+ connect(m_listbox,TQT_SIGNAL(doubleClicked ( TQListBoxItem * )),TQT_SLOT(slotOk()));
setMainWidget(vbox);
}