Author: schubi2
Date: Mon Jul 2 12:53:01 2007
New Revision: 5860
URL: http://svn.opensuse.org/viewcvs/zypp?rev=5860&view=rev
Log:
removed kde stuff
Modified:
branches/tmp/schubi/solvertree/resgraphview.cpp
Modified: branches/tmp/schubi/solvertree/resgraphview.cpp
URL: http://svn.opensuse.org/viewcvs/zypp/branches/tmp/schubi/solvertree/resgraphview.cpp?rev=5860&r1=5859&r2=5860&view=diff
==============================================================================
--- branches/tmp/schubi/solvertree/resgraphview.cpp (original)
+++ branches/tmp/schubi/solvertree/resgraphview.cpp Mon Jul 2 12:53:01 2007
@@ -21,26 +21,20 @@
#include "graphtreelabel.h"
#include "pannerview.h"
#include "graphtree_defines.h"
-
-#include
-#include
-#include
-#include
#include
-#include
-#include
-#include
-
#include
#include
#include
#include
#include
+#include
+#include
#include
#define LABEL_WIDTH 160
#define LABEL_HEIGHT 90
+#define i18n(MSG) QString(MSG)
static int globalDirection = 0;
@@ -204,8 +198,8 @@
continue;
}
if ((cmd != "node") && (cmd != "edge")) {
- kdWarning() << "Ignoring unknown command '" << cmd << "' from dot ("
- << dotTmpFile->name() << ":" << lineno << ")" << endl;
+// kdWarning() << "Ignoring unknown command '" << cmd << "' from dot ("
+// << dotTmpFile->name() << ":" << lineno << ")" << endl;
continue;
}
if (cmd=="node") {
@@ -782,7 +776,12 @@
break;
case 201:
{
- QString fn = KFileDialog::getSaveFileName(":","*.png");
+ QString fn = QFileDialog::getSaveFileName(
+ "/home",
+ "Images (*.png *.xpm *.jpg)",
+ this,
+ "save file dialog",
+ "Choose a filename to save under" );
if (!fn.isEmpty()) {
if (m_Marker) {
m_Marker->hide();
@@ -826,7 +825,8 @@
void ResGraphView::slotClientException(const QString&what)
{
- KMessageBox::sorry(KApplication::activeModalWidget(),what,i18n("SVN Error"));
+ QMessageBox::critical(0,"Critical",what, QMessageBox::Ok,
+ QMessageBox::Cancel);
}
#include "resgraphview.moc"
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org