diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
commit | bab40890696ec68c337dc290880423a0602b83c7 (patch) | |
tree | 6ba03f720b1fa88235ba339e7aedb4455430357e /kdeprint/lpr/editentrydialog.cpp | |
parent | f7e71d47719ab6094cf4a9fafffa5ea351973522 (diff) | |
download | tdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip |
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
Diffstat (limited to 'kdeprint/lpr/editentrydialog.cpp')
-rw-r--r-- | kdeprint/lpr/editentrydialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdeprint/lpr/editentrydialog.cpp b/kdeprint/lpr/editentrydialog.cpp index 6b0fb63f7..9029a6736 100644 --- a/kdeprint/lpr/editentrydialog.cpp +++ b/kdeprint/lpr/editentrydialog.cpp @@ -34,10 +34,10 @@ EditEntryDialog::EditEntryDialog(PrintcapEntry *entry, TQWidget *parent, const char *name) : KDialogBase(parent, name, true, TQString::null, Ok|Cancel) { - QWidget *w = new TQWidget(this); + TQWidget *w = new TQWidget(this); setMainWidget(w); - QLabel *lab0 = new TQLabel(i18n("Aliases:"), w); + TQLabel *lab0 = new TQLabel(i18n("Aliases:"), w); m_aliases = new TQLineEdit(w); m_view = new KListView(w); m_view->addColumn(""); @@ -55,9 +55,9 @@ EditEntryDialog::EditEntryDialog(PrintcapEntry *entry, TQWidget *parent, const c m_stack->addWidget(m_number, 1); m_name = new TQLineEdit(w); - QVBoxLayout *l0 = new TQVBoxLayout(w, 0, 10); - QHBoxLayout *l1 = new TQHBoxLayout(0, 0, 10); - QHBoxLayout *l2 = new TQHBoxLayout(0, 0, 5); + TQVBoxLayout *l0 = new TQVBoxLayout(w, 0, 10); + TQHBoxLayout *l1 = new TQHBoxLayout(0, 0, 10); + TQHBoxLayout *l2 = new TQHBoxLayout(0, 0, 5); l0->addLayout(l1); l1->addWidget(lab0); l1->addWidget(m_aliases); @@ -72,7 +72,7 @@ EditEntryDialog::EditEntryDialog(PrintcapEntry *entry, TQWidget *parent, const c setCaption(i18n("Printcap Entry: %1").arg(entry->name)); m_fields = entry->fields; m_aliases->setText(entry->aliases.join("|")); - QListViewItem *root = new TQListViewItem(m_view, entry->name), *item = 0; + TQListViewItem *root = new TQListViewItem(m_view, entry->name), *item = 0; root->setSelectable(false); root->setOpen(true); root->setPixmap(0, SmallIcon("fileprint")); |