1.7.13 Tabs in Konqueror
authorinsilmaril
Tue Mar 28 20:04:04 2006 +0000 (2006-03-28)
changeset 2667d91b35c1b6f
parent 265 96b8406d4a2f
child 267 5d0cbeb02bf3
1.7.13 Tabs in Konqueror
lang/vym_de.ts
lang/vym_en.ts
lang/vym_es.ts
lang/vym_it.ts
main.cpp
mainwindow.cpp
mainwindow.h
mapeditor.cpp
mapeditor.h
tex/vym.changelog
tex/vym.tex
version.h
     1.1 --- a/lang/vym_de.ts	Mon Mar 27 20:21:58 2006 +0000
     1.2 +++ b/lang/vym_de.ts	Tue Mar 28 20:04:04 2006 +0000
     1.3 @@ -718,7 +718,7 @@
     1.4      </message>
     1.5      <message>
     1.6          <source>Set application to open an URL</source>
     1.7 -        <translation type="obsolete">URLs öffnen mit...</translation>
     1.8 +        <translation>URLs öffnen mit...</translation>
     1.9      </message>
    1.10      <message>
    1.11          <source>Edit branch after adding it</source>
    1.12 @@ -875,11 +875,11 @@
    1.13      </message>
    1.14      <message>
    1.15          <source>Enter path for pdf reader:</source>
    1.16 -        <translation>Pfad für pdf-Anwendung:</translation>
    1.17 +        <translation type="obsolete">Pfad für pdf-Anwendung:</translation>
    1.18      </message>
    1.19      <message>
    1.20          <source>Enter path for application to open an URL:</source>
    1.21 -        <translation>Pfad zum Öffnen von URLs:</translation>
    1.22 +        <translation type="obsolete">Pfad zum Öffnen von URLs:</translation>
    1.23      </message>
    1.24      <message>
    1.25          <source>Save &amp;As</source>
    1.26 @@ -954,7 +954,7 @@
    1.27      <message>
    1.28          <source>Couldn&apos;t find a viewer to read vym.pdf.
    1.29  Please use Settings-&gt;</source>
    1.30 -        <translation>Konnte kein Programm zum Anzeigen von vym.pdf
    1.31 +        <translation type="obsolete">Konnte kein Programm zum Anzeigen von vym.pdf
    1.32  finden. Bitte benutzen Sie Einstellungen-&gt;</translation>
    1.33      </message>
    1.34      <message>
    1.35 @@ -1552,6 +1552,31 @@
    1.36          <source>Use hide flags</source>
    1.37          <translation>Während des Exports das &quot;Verbergen&quot; Flag verwenden </translation>
    1.38      </message>
    1.39 +    <message>
    1.40 +        <source>Open URL in new tab</source>
    1.41 +        <translation>URL in neuen Tab öffnen</translation>
    1.42 +    </message>
    1.43 +    <message>
    1.44 +        <source>Warning</source>
    1.45 +        <translation>Warnung</translation>
    1.46 +    </message>
    1.47 +    <message>
    1.48 +        <source>Couldn&apos;t find a viewer to open %1.
    1.49 +</source>
    1.50 +        <translation>Konnte kein Programm zum Öffnen von %1 finden.</translation>
    1.51 +    </message>
    1.52 +    <message>
    1.53 +        <source>Please use Settings-&gt;</source>
    1.54 +        <translation>Bitte setzen sie einen Pfad in Einstellungen-&gt;</translation>
    1.55 +    </message>
    1.56 +    <message>
    1.57 +        <source>Couldn&apos;t start %1 to open a new tab in %2.</source>
    1.58 +        <translation>Konnte %1 nicht starten um einen neuen Tab mit %2 zu öffnen.</translation>
    1.59 +    </message>
    1.60 +    <message>
    1.61 +        <source>Set application to open PDF files</source>
    1.62 +        <translation>PDFs öffnen mit</translation>
    1.63 +    </message>
    1.64  </context>
    1.65  <context>
    1.66      <name>MapEditor</name>
     2.1 --- a/lang/vym_en.ts	Mon Mar 27 20:21:58 2006 +0000
     2.2 +++ b/lang/vym_en.ts	Tue Mar 28 20:04:04 2006 +0000
     2.3 @@ -806,14 +806,6 @@
     2.4          <translation type="unfinished"></translation>
     2.5      </message>
     2.6      <message>
     2.7 -        <source>Enter path for pdf reader:</source>
     2.8 -        <translation type="unfinished"></translation>
     2.9 -    </message>
    2.10 -    <message>
    2.11 -        <source>Enter path for application to open an URL:</source>
    2.12 -        <translation type="unfinished"></translation>
    2.13 -    </message>
    2.14 -    <message>
    2.15          <source>Critcal error</source>
    2.16          <translation type="unfinished"></translation>
    2.17      </message>
    2.18 @@ -823,11 +815,6 @@
    2.19          <translation type="unfinished"></translation>
    2.20      </message>
    2.21      <message>
    2.22 -        <source>Couldn&apos;t find a viewer to read vym.pdf.
    2.23 -Please use Settings-&gt;</source>
    2.24 -        <translation type="unfinished"></translation>
    2.25 -    </message>
    2.26 -    <message>
    2.27          <source>Add a branch by inserting and making selection its child</source>
    2.28          <translation type="unfinished"></translation>
    2.29      </message>
    2.30 @@ -1192,6 +1179,35 @@
    2.31          <source>Use hide flags</source>
    2.32          <translation type="unfinished"></translation>
    2.33      </message>
    2.34 +    <message>
    2.35 +        <source>Open URL in new tab</source>
    2.36 +        <translation type="unfinished"></translation>
    2.37 +    </message>
    2.38 +    <message>
    2.39 +        <source>Warning</source>
    2.40 +        <translation type="unfinished"></translation>
    2.41 +    </message>
    2.42 +    <message>
    2.43 +        <source>Couldn&apos;t find a viewer to open %1.
    2.44 +</source>
    2.45 +        <translation type="unfinished"></translation>
    2.46 +    </message>
    2.47 +    <message>
    2.48 +        <source>Please use Settings-&gt;</source>
    2.49 +        <translation type="unfinished"></translation>
    2.50 +    </message>
    2.51 +    <message>
    2.52 +        <source>Set application to open an URL</source>
    2.53 +        <translation type="unfinished"></translation>
    2.54 +    </message>
    2.55 +    <message>
    2.56 +        <source>Couldn&apos;t start %1 to open a new tab in %2.</source>
    2.57 +        <translation type="unfinished"></translation>
    2.58 +    </message>
    2.59 +    <message>
    2.60 +        <source>Set application to open PDF files</source>
    2.61 +        <translation type="unfinished"></translation>
    2.62 +    </message>
    2.63  </context>
    2.64  <context>
    2.65      <name>MapEditor</name>
     3.1 --- a/lang/vym_es.ts	Mon Mar 27 20:21:58 2006 +0000
     3.2 +++ b/lang/vym_es.ts	Tue Mar 28 20:04:04 2006 +0000
     3.3 @@ -746,7 +746,7 @@
     3.4      </message>
     3.5      <message>
     3.6          <source>Set application to open an URL</source>
     3.7 -        <translation type="obsolete">Configurar aplicación para abrir una URL</translation>
     3.8 +        <translation type="unfinished">Configurar aplicación para abrir una URL</translation>
     3.9      </message>
    3.10      <message>
    3.11          <source>Edit branch after adding it</source>
    3.12 @@ -1017,11 +1017,11 @@
    3.13      </message>
    3.14      <message>
    3.15          <source>Enter path for pdf reader:</source>
    3.16 -        <translation>Ingrese ruta para lector de pdf:</translation>
    3.17 +        <translation type="obsolete">Ingrese ruta para lector de pdf:</translation>
    3.18      </message>
    3.19      <message>
    3.20          <source>Enter path for application to open an URL:</source>
    3.21 -        <translation>Ingrese la ruta para aplicación para abrir una URL:</translation>
    3.22 +        <translation type="obsolete">Ingrese la ruta para aplicación para abrir una URL:</translation>
    3.23      </message>
    3.24      <message>
    3.25          <source>Critcal error</source>
    3.26 @@ -1036,7 +1036,7 @@
    3.27      <message>
    3.28          <source>Couldn&apos;t find a viewer to read vym.pdf.
    3.29  Please use Settings-&gt;</source>
    3.30 -        <translation>No puede buscar un visor para leer vym.pdf.
    3.31 +        <translation type="obsolete">No puede buscar un visor para leer vym.pdf.
    3.32  Por favor use Configuración-&gt;</translation>
    3.33      </message>
    3.34      <message>
    3.35 @@ -1410,6 +1410,31 @@
    3.36          <source>Use hide flags</source>
    3.37          <translation type="unfinished"></translation>
    3.38      </message>
    3.39 +    <message>
    3.40 +        <source>Open URL in new tab</source>
    3.41 +        <translation type="unfinished"></translation>
    3.42 +    </message>
    3.43 +    <message>
    3.44 +        <source>Warning</source>
    3.45 +        <translation type="unfinished">Advertencia</translation>
    3.46 +    </message>
    3.47 +    <message>
    3.48 +        <source>Couldn&apos;t find a viewer to open %1.
    3.49 +</source>
    3.50 +        <translation type="unfinished"></translation>
    3.51 +    </message>
    3.52 +    <message>
    3.53 +        <source>Please use Settings-&gt;</source>
    3.54 +        <translation type="unfinished"></translation>
    3.55 +    </message>
    3.56 +    <message>
    3.57 +        <source>Couldn&apos;t start %1 to open a new tab in %2.</source>
    3.58 +        <translation type="unfinished"></translation>
    3.59 +    </message>
    3.60 +    <message>
    3.61 +        <source>Set application to open PDF files</source>
    3.62 +        <translation type="unfinished"></translation>
    3.63 +    </message>
    3.64  </context>
    3.65  <context>
    3.66      <name>MapEditor</name>
     4.1 --- a/lang/vym_it.ts	Mon Mar 27 20:21:58 2006 +0000
     4.2 +++ b/lang/vym_it.ts	Tue Mar 28 20:04:04 2006 +0000
     4.3 @@ -748,7 +748,7 @@
     4.4      </message>
     4.5      <message>
     4.6          <source>Set application to open an URL</source>
     4.7 -        <translation type="obsolete">Scegli l&apos;applicazione per aprire gli URL</translation>
     4.8 +        <translation type="unfinished">Scegli l&apos;applicazione per aprire gli URL</translation>
     4.9      </message>
    4.10      <message>
    4.11          <source>Edit branch after adding it</source>
    4.12 @@ -1024,11 +1024,11 @@
    4.13      </message>
    4.14      <message>
    4.15          <source>Enter path for pdf reader:</source>
    4.16 -        <translation>Seleziona il percorso del lettore pdf:</translation>
    4.17 +        <translation type="obsolete">Seleziona il percorso del lettore pdf:</translation>
    4.18      </message>
    4.19      <message>
    4.20          <source>Enter path for application to open an URL:</source>
    4.21 -        <translation>Seleziona il percorso dell&apos;aplicazione per aprire gli URL:</translation>
    4.22 +        <translation type="obsolete">Seleziona il percorso dell&apos;aplicazione per aprire gli URL:</translation>
    4.23      </message>
    4.24      <message>
    4.25          <source>Critcal error</source>
    4.26 @@ -1043,7 +1043,7 @@
    4.27      <message>
    4.28          <source>Couldn&apos;t find a viewer to read vym.pdf.
    4.29  Please use Settings-&gt;</source>
    4.30 -        <translation>Non è possibile trovare un lettore per il file vym.pdf
    4.31 +        <translation type="obsolete">Non è possibile trovare un lettore per il file vym.pdf
    4.32  Per favore usare Preferenze-&gt;</translation>
    4.33      </message>
    4.34      <message>
    4.35 @@ -1419,6 +1419,31 @@
    4.36          <source>Couldn&apos;t open map %1</source>
    4.37          <translation type="unfinished"></translation>
    4.38      </message>
    4.39 +    <message>
    4.40 +        <source>Open URL in new tab</source>
    4.41 +        <translation type="unfinished"></translation>
    4.42 +    </message>
    4.43 +    <message>
    4.44 +        <source>Warning</source>
    4.45 +        <translation type="unfinished">Attenzione</translation>
    4.46 +    </message>
    4.47 +    <message>
    4.48 +        <source>Couldn&apos;t find a viewer to open %1.
    4.49 +</source>
    4.50 +        <translation type="unfinished"></translation>
    4.51 +    </message>
    4.52 +    <message>
    4.53 +        <source>Please use Settings-&gt;</source>
    4.54 +        <translation type="unfinished"></translation>
    4.55 +    </message>
    4.56 +    <message>
    4.57 +        <source>Couldn&apos;t start %1 to open a new tab in %2.</source>
    4.58 +        <translation type="unfinished"></translation>
    4.59 +    </message>
    4.60 +    <message>
    4.61 +        <source>Set application to open PDF files</source>
    4.62 +        <translation type="unfinished"></translation>
    4.63 +    </message>
    4.64  </context>
    4.65  <context>
    4.66      <name>MapEditor</name>
     5.1 --- a/main.cpp	Mon Mar 27 20:21:58 2006 +0000
     5.2 +++ b/main.cpp	Tue Mar 28 20:04:04 2006 +0000
     5.3 @@ -45,6 +45,7 @@
     5.4  QAction *actionEditMoveDown;
     5.5  QAction *actionEditToggleScroll;
     5.6  QAction *actionEditOpenURL;
     5.7 +QAction *actionEditOpenURLTab;
     5.8  QAction *actionEditURL;
     5.9  QAction *actionEditHeading2URL;
    5.10  QAction *actionEditBugzilla2URL;
     6.1 --- a/mainwindow.cpp	Mon Mar 27 20:21:58 2006 +0000
     6.2 +++ b/mainwindow.cpp	Tue Mar 28 20:04:04 2006 +0000
     6.3 @@ -101,6 +101,7 @@
     6.4  extern QAction *actionEditMoveDown;
     6.5  extern QAction *actionEditToggleScroll;
     6.6  extern QAction* actionEditOpenURL;
     6.7 +extern QAction* actionEditOpenURLTab;
     6.8  extern QAction* actionEditURL;
     6.9  extern QAction* actionEditHeading2URL;
    6.10  extern QAction* actionEditBugzilla2URL;
    6.11 @@ -207,6 +208,8 @@
    6.12  	makeSubDirs (clipboardDir);
    6.13  	clipboardEmpty=true;
    6.14  
    6.15 +	procBrowser=NULL;
    6.16 +
    6.17  	// FIXME not used currently
    6.18  	// Set random seed (random used for object IDs)
    6.19      // QTime t = QTime::currentTime();		// set random seed
    6.20 @@ -519,6 +522,11 @@
    6.21  	a->setEnabled (false);
    6.22  	actionEditOpenURL=a;
    6.23  
    6.24 +	a = new QAction( tr( "Open URL in new tab" ), QPixmap(), tr( "Open URL in new tab" ), ALT + Key_U, this, "urltab" );
    6.25 +    connect( a, SIGNAL( activated() ), this, SLOT( editOpenURLTab() ) );
    6.26 +	a->setEnabled (false);
    6.27 +	actionEditOpenURLTab=a;
    6.28 +
    6.29  	a = new QAction( tr( "Edit URL" ), QPixmap(), tr( "Edit URL"+QString("...") ), SHIFT + CTRL + Key_U, this, "url" );
    6.30      connect( a, SIGNAL( activated() ), this, SLOT( editURL() ) );
    6.31  	a->setEnabled (false);
    6.32 @@ -1134,6 +1142,7 @@
    6.33  
    6.34  	branchContextMenu->insertSeparator();	
    6.35  	actionEditOpenURL->addTo ( branchContextMenu );
    6.36 +	actionEditOpenURLTab->addTo ( branchContextMenu );
    6.37  	actionEditURL->addTo ( branchContextMenu );
    6.38  	actionEditHeading2URL->addTo ( branchContextMenu );
    6.39      if (settings.readBoolEntry( "/vym/mainwindow/showTestMenu",false)) 
    6.40 @@ -2177,8 +2186,53 @@
    6.41  
    6.42  void Main::editOpenURL()
    6.43  {
    6.44 +	// Open new browser
    6.45  	if (currentMapEditor())
    6.46 -	    currentMapEditor()->openURL();
    6.47 +	{	
    6.48 +	    QString url=currentMapEditor()->getURL();
    6.49 +		if (url=="") return;
    6.50 +		QString browser=settings.readEntry("/vym/mainwindow/readerURL" );
    6.51 +		procBrowser = new QProcess( this );
    6.52 +
    6.53 +		procBrowser->addArgument( browser);
    6.54 +		procBrowser->addArgument( url);
    6.55 +
    6.56 +		if ( !procBrowser->start() ) 
    6.57 +		{
    6.58 +			// try to set path to browser
    6.59 +			QMessageBox::warning(0, 
    6.60 +				tr("Warning"),
    6.61 +				tr("Couldn't find a viewer to open %1.\n").arg(url)+
    6.62 +				tr("Please use Settings->")+tr("Set application to open an URL"));
    6.63 +			settingsURL() ; 
    6.64 +		}	
    6.65 +	}	
    6.66 +}
    6.67 +void Main::editOpenURLTab()
    6.68 +{
    6.69 +	if (currentMapEditor())
    6.70 +	{	
    6.71 +	    QString url=currentMapEditor()->getURL();
    6.72 +		if (url=="") return;
    6.73 +		QString browser=settings.readEntry("/vym/mainwindow/readerURL" );
    6.74 +		if (browser.contains("konqueror") && procBrowser && procBrowser->isRunning())
    6.75 +		{
    6.76 +			// Try to open new tab in existing browser
    6.77 +			QProcess *p=new QProcess (this);
    6.78 +			p->addArgument ("dcop");
    6.79 +			p->addArgument (QString("konqueror-%1").arg(procBrowser->processIdentifier()));
    6.80 +			p->addArgument ("konqueror-mainwindow#1");
    6.81 +			p->addArgument ("newTab");
    6.82 +			p->addArgument (url);
    6.83 +			if ( !p->start() ) 
    6.84 +				// try to set browser
    6.85 +				QMessageBox::warning(0, 
    6.86 +					tr("Warning"),
    6.87 +					tr("Couldn't start %1 to open a new tab in %2.").arg("dcop").arg("konqueror"));
    6.88 +		} else
    6.89 +			// Open new browser
    6.90 +			editOpenURL();
    6.91 +	}	
    6.92  }
    6.93  
    6.94  void Main::editURL()
    6.95 @@ -2573,7 +2627,7 @@
    6.96  	// Default browser is set in constructor
    6.97  	bool ok;
    6.98  	QString text = QInputDialog::getText(
    6.99 -		"VYM", tr("Enter path for pdf reader:"), QLineEdit::Normal,
   6.100 +		"VYM", tr("Set application to open PDF files")+":", QLineEdit::Normal,
   6.101  		settings.readEntry("/vym/mainwindow/readerPDF"), &ok, this );
   6.102  	if (ok)
   6.103  		settings.writeEntry ("/vym/mainwindow/readerPDF",text);
   6.104 @@ -2586,7 +2640,7 @@
   6.105  	// Default browser is set in constructor
   6.106  	bool ok;
   6.107  	QString text = QInputDialog::getText(
   6.108 -		"VYM", tr("Enter path for application to open an URL:"), QLineEdit::Normal,
   6.109 +		"VYM", tr("Set application to open an URL")+":", QLineEdit::Normal,
   6.110  		settings.readEntry("/vym/mainwindow/readerURL")
   6.111  		, &ok, this );
   6.112  	if (ok)
   6.113 @@ -2686,10 +2740,11 @@
   6.114  	if ( !pdfProc->start() ) 
   6.115  	{
   6.116  		// error handling
   6.117 -		QMessageBox::critical(0, 
   6.118 -		tr("Critcal error"),
   6.119 -		tr("Couldn't find a viewer to read vym.pdf.\n"
   6.120 -		"Please use Settings->")+tr("Set application to open pdf files"));
   6.121 +		QMessageBox::warning(0, 
   6.122 +			tr("Warning"),
   6.123 +			tr("Couldn't find a viewer to open %1.\n").arg("vym.pdf")+
   6.124 +			tr("Please use Settings->")+tr("Set application to open PDF files"));
   6.125 +		settingsPDF();	
   6.126  		return;
   6.127  	}
   6.128  }
     7.1 --- a/mainwindow.h	Mon Mar 27 20:21:58 2006 +0000
     7.2 +++ b/mainwindow.h	Tue Mar 28 20:04:04 2006 +0000
     7.3 @@ -91,6 +91,7 @@
     7.4  	void editFindChanged();
     7.5  public slots:
     7.6  	void editOpenURL();
     7.7 +	void editOpenURLTab();
     7.8  private slots:
     7.9  	void editURL();
    7.10  	void editHeading2URL();
    7.11 @@ -176,12 +177,13 @@
    7.12      void helpAboutQT();
    7.13  
    7.14  private:
    7.15 -    QCanvas* canvas;
    7.16 +// not needed?    QCanvas* canvas;
    7.17  	QTabWidget *tabWidget;
    7.18  	FindWindow *findWindow;
    7.19  	QStringList lastMaps;
    7.20  	int maxLastMaps;
    7.21  	QString lastFileDir;
    7.22 +	QProcess *procBrowser;
    7.23  };
    7.24  
    7.25  
     8.1 --- a/mapeditor.cpp	Mon Mar 27 20:21:58 2006 +0000
     8.2 +++ b/mapeditor.cpp	Tue Mar 28 20:04:04 2006 +0000
     8.3 @@ -59,6 +59,7 @@
     8.4  extern QAction *actionEditMoveDown;
     8.5  extern QAction *actionEditToggleScroll;
     8.6  extern QAction *actionEditOpenURL;
     8.7 +extern QAction *actionEditOpenURLTab;
     8.8  extern QAction *actionEditURL;
     8.9  extern QAction *actionEditHeading2URL;
    8.10  extern QAction *actionEditBugzilla2URL;
    8.11 @@ -2211,28 +2212,6 @@
    8.12  	EOFind=false;
    8.13  }
    8.14  
    8.15 -void MapEditor::openURL()
    8.16 -{
    8.17 -	if (selection )
    8.18 -	{
    8.19 -		if (typeid(*selection) == typeid(BranchObj) ||
    8.20 -			typeid(*selection) == typeid(MapCenterObj))
    8.21 -		{
    8.22 -			QString url=((BranchObj*)selection)->getURL();
    8.23 -
    8.24 -			QProcess *proc = new QProcess( this );
    8.25 -
    8.26 -			proc->addArgument( settings.readEntry("/vym/mainwindow/readerURL" ));
    8.27 -			proc->addArgument( url);
    8.28 -
    8.29 -			if ( !proc->start() ) 
    8.30 -				// error handling
    8.31 -				if (mainWindow->settingsURL() ) 
    8.32 -					openURL();
    8.33 -		}	
    8.34 -	}	
    8.35 -}
    8.36 -
    8.37  void MapEditor::editURL()
    8.38  {
    8.39  	if (selection && (typeid(*selection) == typeid(BranchObj) ||
    8.40 @@ -2253,6 +2232,15 @@
    8.41  	}
    8.42  }
    8.43  
    8.44 +QString MapEditor::getURL()
    8.45 +{
    8.46 +	if (selection && (typeid(*selection) == typeid(BranchObj) ||
    8.47 +			typeid(*selection) == typeid(MapCenterObj)) )
    8.48 +		return ((BranchObj*)selection)->getURL();
    8.49 +	else
    8.50 +		return "";
    8.51 +}
    8.52 +
    8.53  void MapEditor::editHeading2URL()
    8.54  {
    8.55  	if (selection && (typeid(*selection) == typeid(BranchObj) ||
    8.56 @@ -2531,10 +2519,15 @@
    8.57  				actionEditToggleScroll->setOn(false);
    8.58  
    8.59  			if ( bo->getURL().isEmpty() )
    8.60 +			{
    8.61  				actionEditOpenURL->setEnabled (false);
    8.62 +				actionEditOpenURLTab->setEnabled (false);
    8.63 +			}	
    8.64  			else	
    8.65 +			{
    8.66  				actionEditOpenURL->setEnabled (true);
    8.67 -
    8.68 +				actionEditOpenURLTab->setEnabled (true);
    8.69 +			}
    8.70  			if ( bo->getVymLink().isEmpty() )
    8.71  			{
    8.72  				actionEditOpenVymLink->setEnabled (false);
    8.73 @@ -3172,7 +3165,12 @@
    8.74  			{
    8.75  				// Do not move, if systemFlag clicked
    8.76  				if (foname=="url") 
    8.77 -					openURL();
    8.78 +				{
    8.79 +					if (e->state() & QMouseEvent::ControlButton)
    8.80 +						mainWindow->editOpenURLTab();
    8.81 +					else	
    8.82 +						mainWindow->editOpenURL();
    8.83 +				}	
    8.84  				else if (foname=="vymLink")
    8.85  				{
    8.86  					mainWindow->editOpenVymLink();
     9.1 --- a/mapeditor.h	Mon Mar 27 20:21:58 2006 +0000
     9.2 +++ b/mapeditor.h	Tue Mar 28 20:04:04 2006 +0000
     9.3 @@ -122,8 +122,8 @@
     9.4  	virtual void setViewCenter();			// needed for zooming
     9.5      BranchObj* findText(QString,bool);		// Find object
     9.6      void findReset();						// Reset Find 
     9.7 -	void openURL();							// open URL in external browser
     9.8  	void editURL();							// edit the URL
     9.9 +	QString getURL();						// returns URL of selection or ""
    9.10  	void editHeading2URL();					// copy heading to URL
    9.11  	void editBugzilla2URL();				// create URL to Bugzilla
    9.12  	void editFATE2URL();					// create URL to FATE
    10.1 --- a/tex/vym.changelog	Mon Mar 27 20:21:58 2006 +0000
    10.2 +++ b/tex/vym.changelog	Tue Mar 28 20:04:04 2006 +0000
    10.3 @@ -1,3 +1,9 @@
    10.4 +-------------------------------------------------------------------
    10.5 +Tue Mar 28 21:54:31 CEST 2006 - uwe
    10.6 +
    10.7 +- Version 1.7.13
    10.8 +- Feature: Konqueror can open URLs in new tabs now.
    10.9 +
   10.10  -------------------------------------------------------------------
   10.11  Thu Mar 23 13:26:46 CET 2006 - uwedr
   10.12  
    11.1 --- a/tex/vym.tex	Mon Mar 27 20:21:58 2006 +0000
    11.2 +++ b/tex/vym.tex	Tue Mar 28 20:04:04 2006 +0000
    11.3 @@ -508,6 +508,10 @@
    11.4  \begin{center}
    11.5  	\includegraphics[width=0.5cm]{flag-url.png}
    11.6  \end{center}
    11.7 +If you use konqueror as browser, \vym will remember the konqueror which
    11.8 +was opened first by \vym. You can also press \key{Alt} and click to
    11.9 +open the link in a new tab then.
   11.10 +
   11.11  If you want to keep bookmarks in a map, select a branch where you want
   11.12  to add the bookmark, then simply drag the URL from your browser to the
   11.13  map. Also you could use an existing heading as URL: Right click onto the
   11.14 @@ -847,7 +851,7 @@
   11.15  \subsubsection*{Create a xLink}
   11.16  Choose the link mode from the modifier toolbar (by clicking or pressing
   11.17  \key{L}). Select the branch, where the xLink should start. Press the
   11.18 -modifier key \key{Ctr} and simultanously click on the branch where the
   11.19 +modifier key \key{Ctrl} and simultanously click on the branch where the
   11.20  link should end. (The link is already drawn before you release the mouse
   11.21  key). If you release the mouse over a branch the xLink becomes
   11.22  permanent.
    12.1 --- a/version.h	Mon Mar 27 20:21:58 2006 +0000
    12.2 +++ b/version.h	Tue Mar 28 20:04:04 2006 +0000
    12.3 @@ -2,7 +2,7 @@
    12.4  #define VERSION_H
    12.5  
    12.6  #define __VYM "VYM"
    12.7 -#define __VYM_VERSION "1.7.12"
    12.8 -#define __BUILD_DATE "March 27, 2006"
    12.9 +#define __VYM_VERSION "1.7.13"
   12.10 +#define __BUILD_DATE "March 28, 2006"
   12.11  
   12.12  #endif