mainwindow.cpp
branchrelease-1-12-maintained
changeset 69 053479bc23c6
parent 62 85683324f94a
child 76 a36a289372a6
     1.1 --- a/mainwindow.cpp	Thu Mar 19 11:48:33 2009 +0000
     1.2 +++ b/mainwindow.cpp	Wed May 06 11:06:17 2009 +0000
     1.3 @@ -2508,6 +2508,7 @@
     1.4  		}
     1.5  		if (browser.contains("konqueror"))
     1.6  		{
     1.7 +		cout << "Main::openTabs urls="<<urls.join(" ").toStdString()<<endl;
     1.8  			for (int i=0; i<urls.size(); i++)
     1.9  			{
    1.10  				// Open new browser
    1.11 @@ -2526,9 +2527,13 @@
    1.12  					"konqueror-mainwindow#1"<<
    1.13  					"newTab" <<
    1.14  					urls.at(i);
    1.15 +					// qdbus org.kde.konqueror-15367 /konqueror/MainWindow_1 newTab www.suse.de false
    1.16  #endif
    1.17  				p->start ("dcop",args);
    1.18 -				//cout << qPrintable (args.join(" "))<<endl;
    1.19 +				if (debug) 
    1.20 +					cout << "MainWindo::openURLs  i="<<i <<"/"<<urls.size()-1 
    1.21 +					<<" args="<<args.join(" ").toStdString()<<endl;
    1.22 +
    1.23  				if ( !p->waitForStarted() ) success=false;
    1.24  			}
    1.25  			if (!success)
    1.26 @@ -2596,6 +2601,7 @@
    1.27  	{	
    1.28  	    QStringList urls;
    1.29  		urls=currentMapEditor()->getURLs();
    1.30 +
    1.31  		openTabs (urls);
    1.32  	}	
    1.33  }