summaryrefslogtreecommitdiffstats
path: root/parts/classview/digraphview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:01 -0600
commitb9e542d0c805e9adee3a67e44532d5321032e21e (patch)
treee82d85b9035cc2ca322911e8a6e38a3bd8b1d431 /parts/classview/digraphview.cpp
parent7a392a04059bd904dab4c78910a6d34aa0b37798 (diff)
downloadtdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.tar.gz
tdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'parts/classview/digraphview.cpp')
-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));
}