From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: Finished remaining porting to new TQt API git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/plugincombobox.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kdeprint/plugincombobox.cpp') diff --git a/kdeprint/plugincombobox.cpp b/kdeprint/plugincombobox.cpp index b6533353a..02934b0d9 100644 --- a/kdeprint/plugincombobox.cpp +++ b/kdeprint/plugincombobox.cpp @@ -42,19 +42,19 @@ PluginComboBox::PluginComboBox(TQWidget *parent, const char *name) m_combo = new TQComboBox(this, "PluginCombo"); TQWhatsThis::add(m_combo, whatsThisCurrentPrintsystem); - QLabel *m_label = new TQLabel(i18n("Print s&ystem currently used:"), this); + TQLabel *m_label = new TQLabel(i18n("Print s&ystem currently used:"), this); TQWhatsThis::add(m_label, whatsThisCurrentPrintsystem); m_label->tqsetAlignment(AlignVCenter|AlignRight); m_label->setBuddy(m_combo); m_plugininfo = new TQLabel("Plugin information", this); - QGridLayout *l0 = new TQGridLayout(this, 2, 2, 0, 5); + TQGridLayout *l0 = new TQGridLayout(this, 2, 2, 0, 5); l0->setColStretch(0, 1); l0->addWidget(m_label, 0, 0); l0->addWidget(m_combo, 0, 1); l0->addWidget(m_plugininfo, 1, 1); TQValueList list = KMFactory::self()->pluginList(); - QString currentPlugin = KMFactory::self()->printSystem(); + TQString currentPlugin = KMFactory::self()->printSystem(); for (TQValueList::ConstIterator it=list.begin(); it!=list.end(); ++it) { m_combo->insertItem((*it).comment); @@ -69,7 +69,7 @@ PluginComboBox::PluginComboBox(TQWidget *parent, const char *name) void PluginComboBox::slotActivated(int index) { - QString plugin = m_pluginlist[index]; + TQString plugin = m_pluginlist[index]; if (!plugin.isEmpty()) { // the factory will notify all registered objects of the change @@ -79,9 +79,9 @@ void PluginComboBox::slotActivated(int index) void PluginComboBox::reload() { - QString syst = KMFactory::self()->printSystem(); + TQString syst = KMFactory::self()->printSystem(); int index(-1); - if ((index=m_pluginlist.findIndex(syst)) != -1) + if ((index=m_pluginlist.tqfindIndex(syst)) != -1) m_combo->setCurrentItem(index); configChanged(); } -- cgit v1.2.3