Inline keyword doubt and... exist outline keyword ?
Exists outline keyword ?
I have search on the web but it does not exist ?
I would want to use it, because I would colapse an entire class at QTcreator-editor.
I think that this posibility can be very usefull. Any way to do this ?
( I want to collapse a whole class, including outline functions )
In case that it does not exists, (and I write the function inside the class definition) is there a way to indicate to the compiler that that function is NOT-INLINE ?
Thanks ( I hope do you understand it with my poor english)
Re: Inline keyword doubt and... exist outline keyword ?
Inline means something completely different.
http://en.wikipedia.org/wiki/Inline_function
Read that and than you understand that what you're asking for is not inlining functions or "outlining". What you want is code folding, and that is available in Qt Creator.
I think this website could use a forum called "posts that made me pee in my pants from laughing"
Re: Inline keyword doubt and... exist outline keyword ?
Hey! Do you think I'm stupid ? I know what means inline keyword.
I asked :
1 .- does exist 'outline' keyword ?
2.- If it does not exists, is there a way to code folding (this is the only thing you have answered )
(And... how can I collapse a class with out functions? , I can ? )
And... I think this 'General Programming' category is for make this kind of questions ?
If do you think that there is neccesary, ask to qt people to create a "posts that made me pee in my pants from laughing" category.
Re: Inline keyword doubt and... exist outline keyword ?
Quote:
Originally Posted by
tonnot
Hey! Do you think I'm stupid ?
Yes
Quote:
I know what means inline keyword.
Amaze me and explain it in your own words.
Quote:
I asked :
1 .- does exist 'outline' keyword ?
Uhh... No?
Quote:
2.- If it does not exists, is there a way to code folding (this is the only thing you have answered )
The C++ editor in Qt Creator can do code folding. On the left of the editor you have a column with the line numbers and little arrows. These arrows allow you to fold the code.
If you do not see the line number or folding arrows, do this:
1. Go to the "Tools" menu and select "Options..."
2. On the left of the options dialog is a list, unfold the "Text editor" item in that list.
3. Now you see the option "Display". Click on it.
4. Check the checkboxes "folding markers" and anything else you like.
Quote:
(And... how can I collapse a class with out functions? , I can ? )
Click on the little arrow next to the line number.
Quote:
And... I think this 'General Programming' category is for make this kind of questions ?
Absolutely, I don't make it a game to be rude, please believe me.
But your question made me change my pants and that made me very grumpy.
Look, it would be very nice if you could at least take a little bit of effort to at least try to understand the things you ask. If your question was about code folding in Qt Creator without mentioning that an inline function tells the editor not to fold the code, than everything would be fine.
Quote:
If do you think that there is neccesary, ask to qt people to create a "posts that made me pee in my pants from laughing" category.
Yes, there should be a hall of shame.
Re: Inline keyword doubt and... exist outline keyword ?
Yes... 'good developer vs bad developer'... and understanding of the tools you use. I'm more and more convinced my definition is not very far from being correct.