summaryrefslogtreecommitdiffstats
path: root/parts/classview
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview')
-rw-r--r--parts/classview/digraphview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/classview/digraphview.cpp b/parts/classview/digraphview.cpp
index 35680be9..6c9eeb88 100644
--- a/parts/classview/digraphview.cpp
+++ b/parts/classview/digraphview.cpp
@@ -223,7 +223,7 @@ void DigraphView::parseDotResults(const TQStringList &list)
void DigraphView::process( const TQString& file, const TQString& ext )
{
- TQString cmd = KGlobal::dirs()->findExe("dot");
+ TQString cmd = TDEGlobal::dirs()->findExe("dot");
if (cmd.isEmpty()) {
KMessageBox::sorry(0, i18n("You do not have 'dot' installed.\nIt can be downloaded from www.graphviz.org."));
return;
@@ -242,7 +242,7 @@ void DigraphView::process( const TQString& file, const TQString& ext )
is << "}" << endl;
ifile.close();
- KProcess proc;
+ TDEProcess proc;
if( !file.isEmpty() && !ext.isEmpty() )
{
proc << cmd << TQString("-T")+ext << ifile.name() << "-o" << file;
@@ -251,7 +251,7 @@ void DigraphView::process( const TQString& file, const TQString& ext )
{
proc << cmd << "-Tplain" << ifile.name() << "-o" << ofile.name();
}
- proc.start(KProcess::Block);
+ proc.start(TDEProcess::Block);
if( !file.isEmpty() && !ext.isEmpty() )
{
@@ -276,7 +276,7 @@ void DigraphView::drawContents(TQPainter* p, int clipx, int clipy, int clipw, in
TQRect clipRect(clipx, clipy, clipw, cliph);
p->eraseRect(clipRect);
- p->setFont(KGlobalSettings::generalFont());
+ p->setFont(TDEGlobalSettings::generalFont());
TQPtrListIterator<DigraphNode> it1(nodes);
for (; it1.current(); ++it1) {
TQRect r((*it1)->x-(*it1)->w/2, (*it1)->y-(*it1)->h/2, (*it1)->w, (*it1)->h);
@@ -343,7 +343,7 @@ TQSize DigraphView::sizeHint() const
if (width == -1)
return TQSize(100, 100); // arbitrary
- TQSize dsize = KGlobalSettings::desktopGeometry(viewport()).size();
+ TQSize dsize = TDEGlobalSettings::desktopGeometry(viewport()).size();
kdDebug(9003) << "sizehint for inheritance diagram" << dsize << " " << width << " " << height << endl;
return TQSize(width, height).boundedTo(TQSize(dsize.width()*2/3, dsize.height()*2/3));
}