[Qt-creator] Two questions
Igor Mironchik
imironchick at gmail.com
Fri Aug 31 17:55:46 CEST 2012
Hi, I have two questions.
First, I think should be easy, how to say to QtCreator not to do insert
spaces instead of tabs? And how to say him to make indentation with tabs
instead of spaces?
And second, why autocompletion doesn't work for "d" member in the next
example:
In header:
class Test {
public:
Test();
void doIt();
private:
Q_DISABLE_COPY( Test )
class TestPrivate;
QScopedPointer< TestPrivate > d;
};
In source:
class Test::TestPrivate {
public
QString m_string;
};
Test::Test()
: d( new TestPrivate )
{
}
void
Test::doIt()
{
qDebug() << d-> // And here autocompletion doesn't work. Why?
}
More information about the Qt-creator
mailing list