summaryrefslogtreecommitdiffstats
path: root/parts/classview/hierarchydlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview/hierarchydlg.cpp')
-rw-r--r--parts/classview/hierarchydlg.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/parts/classview/hierarchydlg.cpp b/parts/classview/hierarchydlg.cpp
index a1f2c763..2eedf64d 100644
--- a/parts/classview/hierarchydlg.cpp
+++ b/parts/classview/hierarchydlg.cpp
@@ -41,30 +41,30 @@ HierarchyDialog::HierarchyDialog( ClassViewPart *part )
: TQDialog(0, "hierarchy dialog", false)
{
class_combo = new KComboView(true, 150, this);
- class_combo->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred );
+ class_combo->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred );
// class_combo->setMinimumWidth(150);
namespace_combo = new KComboView(true, 150, this);
- namespace_combo->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred );
+ namespace_combo->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred );
// namespace_combo->setMinimumWidth(150);
TQPushButton *close_button = new KPushButton(KStdGuiItem::close(), this);
TQPushButton *save_button = new KPushButton(KStdGuiItem::save(), this);
TQPushButton *refresh_button = new KPushButton(i18n("Refresh"), this);
- TQSplitter *splitter = new TQSplitter(Vertical, this);
+ TQSplitter *splitter = new TQSplitter(Qt::Vertical, this);
digraph = new DigraphView(splitter, "digraph view");
// member_tree = new ClassToolWidget(part, splitter);
- TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
TQBoxLayout *combo_layout = new TQHBoxLayout();
- layout->addLayout(combo_layout);
+ tqlayout->addLayout(combo_layout);
combo_layout->addWidget(namespace_combo);
combo_layout->addWidget(class_combo);
combo_layout->addSpacing(60);
combo_layout->addWidget(refresh_button);
combo_layout->addWidget(save_button);
combo_layout->addWidget(close_button);
- layout->addWidget(splitter);
+ tqlayout->addWidget(splitter);
connect( namespace_combo, TQT_SIGNAL(activated(TQListViewItem*)),
this, TQT_SLOT(slotNamespaceComboChoice(TQListViewItem*)) );
@@ -96,7 +96,7 @@ HierarchyDialog::~HierarchyDialog()
void HierarchyDialog::save()
{
- KURLRequesterDlg dlg(TQString::null, this, "save_inheritance");
+ KURLRequesterDlg dlg(TQString(), this, "save_inheritance");
dlg.fileDialog()->setFilter("image/png image/jpeg image/bmp image/svg+xml");
dlg.fileDialog()->setOperationMode( KFileDialog::Saving );
dlg.fileDialog()->setMode( KFile::File | KFile::LocalOnly );
@@ -104,7 +104,7 @@ void HierarchyDialog::save()
if(dlg.exec() && dlg.selectedURL().isLocalFile())
{
TQFileInfo fi(dlg.selectedURL().pathOrURL());
- TQApplication::setOverrideCursor( Qt::waitCursor );
+ TQApplication::setOverrideCursor( TQt::waitCursor );
KDevLanguageSupport *ls = m_part->languageSupport();
for (TQMap<TQString, ClassDom>::const_iterator it = classes.begin(); it != classes.end(); ++it)
{
@@ -113,7 +113,7 @@ void HierarchyDialog::save()
TQStringList baseClasses = it.data()->baseClassList();
for (TQStringList::const_iterator bit = baseClasses.begin(); bit != baseClasses.end(); ++bit)
{
- TQMap<TQString, TQString>::const_iterator baseIt = uclasses.find(*bit);
+ TQMap<TQString, TQString>::const_iterator baseIt = uclasses.tqfind(*bit);
if (baseIt != uclasses.end())
{
TQString formattedParentName = ls->formatClassName(baseIt.data());
@@ -143,7 +143,7 @@ void HierarchyDialog::refresh()
TQStringList baseClasses = it.data()->baseClassList();
for (TQStringList::const_iterator bit = baseClasses.begin(); bit != baseClasses.end(); ++bit)
{
- TQMap<TQString, TQString>::const_iterator baseIt = uclasses.find(*bit);
+ TQMap<TQString, TQString>::const_iterator baseIt = uclasses.tqfind(*bit);
if (baseIt != uclasses.end())
{
TQString formattedParentName = ls->formatClassName(baseIt.data());