[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kopete/kopete
From: Stefan Gehn <sgehn () gmx ! net>
Date: 2003-07-27 21:35:17
[Download RAW message or body]
CVS commit by metz:
fix layouting warnings, I think I finally know how qt layouts work
M +2 -6 kopeteballoon.cpp 1.12
--- kdenonbeta/kopete/kopete/kopeteballoon.cpp #1.11:1.12
@@ -46,5 +46,5 @@ KopeteBalloon::KopeteBalloon(const QStri
// BEGIN Layout1
- QHBoxLayout *Layout1 = new QHBoxLayout(this, 0, KDialog::spacingHint(), "Layout1");
+ QHBoxLayout *Layout1 = new QHBoxLayout(BalloonLayout, KDialog::spacingHint(), "Layout1");
QLabel *mCaption = new QLabel(text, this, "mCaption");
@@ -62,5 +62,5 @@ KopeteBalloon::KopeteBalloon(const QStri
// BEGIN Layout2
- QHBoxLayout *Layout2 = new QHBoxLayout(this, 0, KDialog::spacingHint(), "Layout2");
+ QHBoxLayout *Layout2 = new QHBoxLayout(BalloonLayout, KDialog::spacingHint(), "Layout2");
QPushButton *mViewButton = new QPushButton(i18n("View"), this, "mViewButton");
QPushButton *mIgnoreButton = new QPushButton(i18n("Ignore" ), this, "mIgnoreButton");
@@ -71,8 +71,4 @@ KopeteBalloon::KopeteBalloon(const QStri
Layout2->addStretch();
// END Layout2
-
-
- BalloonLayout->addLayout(Layout1);
- BalloonLayout->addLayout(Layout2);
setPalette(QToolTip::palette());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic