qt3-datetime

Thomas Wedehase <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
hallo Liste,

ich habe mal wieder ein Frage bezüglich QT

ich möchte gern ein Datum und eine Zeit ausgeben. Einfach nur ausgeben! Kein 
QDateEdit. Damit würde es funktionieren. (möchte es aber eigentlich nicht 
benutzen)
dies ist mein Quellcode und ich möchte es gern in ein GridLayout:
	QDateTime *datum = new QDateTime(QDate::currentDate());
	datum->toString("dd.MM.yyyy");

Bekomme aber eine Fehlermeldung wenn ich es mit addWidget in ein layout 
einfügen will. Es gibt keine addWidget funktion mit QdateTime/Qdate als 
Übergabe.

meine Frage ist, wie kann ich mir ein einfaches Datum ausgeben lassen?

Gruß
-- 
Thomas Wedehase
Nuernberg, Germany
www.thomaswedehase.com
PGP-KEY: 0x3337F9AC

"The day Microsoft makes something that doesn't suck is probably
  the day they start making vacuum cleaners." -Ernst Jan Plugge
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCE8fJHS0UHzM3+awRAqY9AJ97hcxhpkkZo7iMNErdlF+HFjM+DgCeNdW2
0srNfvydohAFo3iE6rmuhBk=
=wxiW
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.