Re: [Qt-creator] Unwanted extension .cpp

2009-12-11 Thread thorbjorn.lindeijer
ext Coda Highland wrote:
 Well, that explains it. That's the KDE file dialog, not the Qt one.
 You're describing a KDE bug and you should probably go poke them about
 it.
 
 /s/ Adam

Well, it depends on where the KDE dialog gets that information from. 
Maybe we're still telling the file dialog that .cpp is the default 
extension, even if you have selected a different one. You probably 
wouldn't notice this with other file dialogs.

Regards,
Bj�rn

-- 
Thorbj�rn Lindeijer
Software Engineer
Nokia, Qt Development Frameworks

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Unwanted extension .cpp

2009-12-11 Thread Coda Highland
The fact that the KDE dialog is still attaching the extension even
after you tell it not to is independent of presenting the wrong filter
to the QFileDialog call.

/s/ Adam

On Fri, Dec 11, 2009 at 9:05 AM,  thorbjorn.lindei...@nokia.com wrote:
 ext Coda Highland wrote:
 Well, that explains it. That's the KDE file dialog, not the Qt one.
 You're describing a KDE bug and you should probably go poke them about
 it.

 /s/ Adam

 Well, it depends on where the KDE dialog gets that information from.
 Maybe we're still telling the file dialog that .cpp is the default
 extension, even if you have selected a different one. You probably
 wouldn't notice this with other file dialogs.

 Regards,
 Bj�rn

 --
 Thorbj�rn Lindeijer
 Software Engineer
 Nokia, Qt Development Frameworks

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Unwanted extension .cpp

2009-12-10 Thread Jan Ekholm
On Thursday 10 December 2009, Kuiper, Luuk wrote:
 In my previous reply I forgot to attach the attachment.
 
 Here it is.
 
 Luuk
 
 - Original Message -
 From: thorbjorn lindeijer thorbjorn.lindei...@nokia.com
 To: qt-creator@trolltech.com
 Sent: Wednesday, December 9, 2009 3:00:14 PM GMT +01:00 Amsterdam / Berlin
  / Bern / Rome / Stockholm / Vienna Subject: Re: [Qt-creator] Unwanted
  extension .cpp
 
 ext Kuiper, Luuk wrote:
  Hi all,
 
  When I want to save an existing file (say: file.cxx) as another file
  (say: new_file.cxx) I always see that the file is saved as
  new_file.cxxcpp. Even when I switched off the button 'Automatically
  select filename extension (.cpp)'.
 
  I am using 1.3.0 on Suse Linux 11.1.
 
 I don't know where the Automatically
 
   select filename extension (.cpp) is (I don't see this option in my
 
 Save As dialog), but you can configure the default extension for C++
 source and header files in Tools - Options - C++. Does that help?

I've seen the same problem for a long time. Open a foo.hh. Save as. Enter 
bar.hh. Result: bar.hhh.

I nowadays never create new classes by using Save As inside Creator, it's 
better to do it on the console with cp.

-- 
Jan Ekholm
jan.ekh...@smultron.net
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Unwanted extension .cpp

2009-12-10 Thread Kuiper, Luuk
Jan,

Changing Tools - OPtions - C++, as Thorbjørn Lindeijer said, helps for me.

Luuk


- Original Message -
From: Jan Ekholm jan.ekh...@smultron.net
To: qt-creator@trolltech.com
Sent: Thursday, December 10, 2009 10:37:21 AM GMT +01:00 Amsterdam / Berlin / 
Bern / Rome / Stockholm / Vienna
Subject: Re: [Qt-creator] Unwanted extension .cpp

On Thursday 10 December 2009, Kuiper, Luuk wrote:
 In my previous reply I forgot to attach the attachment.
 
 Here it is.
 
 Luuk
 
 - Original Message -
 From: thorbjorn lindeijer thorbjorn.lindei...@nokia.com
 To: qt-creator@trolltech.com
 Sent: Wednesday, December 9, 2009 3:00:14 PM GMT +01:00 Amsterdam / Berlin
  / Bern / Rome / Stockholm / Vienna Subject: Re: [Qt-creator] Unwanted
  extension .cpp
 
 ext Kuiper, Luuk wrote:
  Hi all,
 
  When I want to save an existing file (say: file.cxx) as another file
  (say: new_file.cxx) I always see that the file is saved as
  new_file.cxxcpp. Even when I switched off the button 'Automatically
  select filename extension (.cpp)'.
 
  I am using 1.3.0 on Suse Linux 11.1.
 
 I don't know where the Automatically
 
   select filename extension (.cpp) is (I don't see this option in my
 
 Save As dialog), but you can configure the default extension for C++
 source and header files in Tools - Options - C++. Does that help?

I've seen the same problem for a long time. Open a foo.hh. Save as. Enter 
bar.hh. Result: bar.hhh.

I nowadays never create new classes by using Save As inside Creator, it's 
better to do it on the console with cp.

-- 
Jan Ekholm
jan.ekh...@smultron.net
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

-- 


Luuk Kuiper 
Software Engineer 

HITT Traffic (HITT Holland Institute of Traffic Technology B.V.; CoC: 08060878) 
Oude Apeldoornseweg 41-45, NL-7333 NR, APELDOORN 
P.O. Box 717, NL-7300 AS, APELDOORN 
Telephone +31-55-543 25 26 
Fax +31-55-543 25 53 
E-mail kui...@hitt.nl 
Web www.hitt-traffic.nl 

This e-mail is confidential; containing proprietary information of HITT. It is 
intended solely for the individual(s) to whom it is addressed. This information 
is subject of a disclaimer as published on www.HITT.nl . 

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Unwanted extension .cpp

2009-12-10 Thread Coda Highland
Well, that explains it. That's the KDE file dialog, not the Qt one.
You're describing a KDE bug and you should probably go poke them about
it.

/s/ Adam

On Thu, Dec 10, 2009 at 3:24 AM, Kuiper, Luuk kui...@hitt.nl wrote:
 In my previous reply I forgot to attach the attachment.

 Here it is.

 Luuk

 - Original Message -
 From: thorbjorn lindeijer thorbjorn.lindei...@nokia.com
 To: qt-creator@trolltech.com
 Sent: Wednesday, December 9, 2009 3:00:14 PM GMT +01:00 Amsterdam / Berlin / 
 Bern / Rome / Stockholm / Vienna
 Subject: Re: [Qt-creator] Unwanted extension .cpp

 ext Kuiper, Luuk wrote:
 Hi all,

 When I want to save an existing file (say: file.cxx) as another file
 (say: new_file.cxx) I always see that the file is saved as
 new_file.cxxcpp. Even when I switched off the button 'Automatically
 select filename extension (.cpp)'.

 I am using 1.3.0 on Suse Linux 11.1.

 I don't know where the Automatically
   select filename extension (.cpp) is (I don't see this option in my
 Save As dialog), but you can configure the default extension for C++
 source and header files in Tools - Options - C++. Does that help?

 Regards,
 Bjørn

 --
 Thorbjørn Lindeijer
 Software Engineer
 Nokia, Qt Development Frameworks

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator

 --


 Luuk Kuiper
 Software Engineer

 HITT Traffic (HITT Holland Institute of Traffic Technology B.V.; CoC: 
 08060878)
 Oude Apeldoornseweg 41-45, NL-7333 NR, APELDOORN
 P.O. Box 717, NL-7300 AS, APELDOORN
 Telephone +31-55-543 25 26
 Fax +31-55-543 25 53
 E-mail kui...@hitt.nl
 Web www.hitt-traffic.nl

 This e-mail is confidential; containing proprietary information of HITT. It 
 is intended solely for the individual(s) to whom it is addressed. This 
 information is subject of a disclaimer as published on www.HITT.nl .

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator



___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] Unwanted extension .cpp

2009-12-09 Thread Kuiper, Luuk
Hi all, 

When I want to save an existing file (say: file.cxx) as another file (say: 
new_file.cxx) I always see that the file is saved as new_file.cxxcpp. Even when 
I switched off the button 'Automatically select filename extension (.cpp)'. 

I am using 1.3.0 on Suse Linux 11.1. 

-- 


Luuk Kuiper 

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator