[prev in list] [next in list] [prev in thread] [next in thread] 

List:       atlantik-devel
Subject:    [atlantik-cvs] CVS: kdegames/atlantik/libatlantikui estateview.cpp,
From:       kde () office ! kde ! org
Date:       2003-12-09 0:38:15
[Download RAW message or body]

Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv4786/libatlantikui

Modified Files:
      Tag: atlantik_3_3_branch
	estateview.cpp estateview.h 
Log Message:
remove obsolete label code

Index: estateview.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/estateview.cpp,v
retrieving revision 1.73.2.2
retrieving revision 1.73.2.3
diff -u -d -r1.73.2.2 -r1.73.2.3
--- estateview.cpp	9 Dec 2003 00:34:06 -0000	1.73.2.2
+++ estateview.cpp	9 Dec 2003 00:38:12 -0000	1.73.2.3
@@ -53,16 +53,6 @@
 	m_quartzBlocks = 0;	
 	m_recreateQuartz = true;
 
-	lname = new QTextView(this);
-	lname->setBackgroundMode(Qt::NoBackground);
-	lname->setAlignment(Qt::AlignCenter);
-	lname->setMinimumSize(lname->sizeHint());
-	lname->setMinimumWidth(width()-5);
-	lname->setMinimumHeight(height()-20);
-	lname->setMaximumWidth(width()-5);
-	lname->setMaximumHeight(height()-20);
-	lname->hide();
-
 	pe = 0;
 	updatePE();
 
@@ -197,7 +187,6 @@
 
 void EstateView::estateChanged()
 {
-	lname->setText(m_estate->name());
 	updateToolTip();
 
 	b_recreate = true;
@@ -489,13 +478,6 @@
 
 void EstateView::slotResizeAftermath()
 {
-	lname->setAlignment(Qt::AlignCenter);
-	lname->setMinimumSize(lname->sizeHint());
-	lname->setMinimumWidth(width()-5);
-	lname->setMinimumHeight(height()-20);
-	lname->setMaximumWidth(width()-5);
-	lname->setMaximumHeight(height()-20);
-	
 	repositionPortfolioEstate();
 }
 

Index: estateview.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/estateview.h,v
retrieving revision 1.32.2.1
retrieving revision 1.32.2.2
diff -u -d -r1.32.2.1 -r1.32.2.2
--- estateview.h	9 Dec 2003 00:34:06 -0000	1.32.2.1
+++ estateview.h	9 Dec 2003 00:38:12 -0000	1.32.2.2
@@ -19,9 +19,6 @@
 
 #include <qwidget.h>
 #include <qpixmap.h>
-#include <qlabel.h>
-
-#include <qtextview.h>
 
 #include <kpixmap.h>
 
@@ -73,7 +70,6 @@
 		bool b_recreate, m_recreateQuartz;
 		int m_titleWidth, m_titleHeight;
 		EstateOrientation m_orientation;
-		QTextView *lname;
 		PortfolioEstate *pe;
 
 	private slots:

_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@kde.org
https://mail.kde.org/mailman/listinfo/atlantik-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic