diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:05:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:05:40 -0600 |
commit | 1d4158dd755a445fd42f2db7db5abab8084175cd (patch) | |
tree | 71ca5f966ca25d2a47b66ae27f7bb06c34d190bf /kexi/formeditor | |
parent | 391e0b69f256bab8971430050c65f0e6e7eea9be (diff) | |
download | koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.tar.gz koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kexi/formeditor')
-rw-r--r-- | kexi/formeditor/connectiondialog.cpp | 4 | ||||
-rw-r--r-- | kexi/formeditor/objecttreeview.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kexi/formeditor/connectiondialog.cpp b/kexi/formeditor/connectiondialog.cpp index 5bbbde38..0e59a08f 100644 --- a/kexi/formeditor/connectiondialog.cpp +++ b/kexi/formeditor/connectiondialog.cpp @@ -59,7 +59,7 @@ ConnectionDialog::ConnectionDialog(TQWidget *parent) setDetails(true); m_pixmapLabel = new TQLabel(details); - m_pixmapLabel->setFixedWidth( int(IconSize(KIcon::Desktop) * 1.5) ); + m_pixmapLabel->setFixedWidth( int(IconSize(TDEIcon::Desktop) * 1.5) ); m_pixmapLabel->setAlignment(AlignHCenter | AlignTop); m_textLabel = new TQLabel(details); @@ -102,7 +102,7 @@ void ConnectionDialog::initTable() { KexiTableViewColumn *col0 = new KexiTableViewColumn(i18n("OK?"), KexiDB::Field::Text); - col0->field()->setSubType("KIcon"); + col0->field()->setSubType("TDEIcon"); col0->setReadOnly(true); col0->field()->setDescription(i18n("Connection correctness")); m_data->addColumn(col0); diff --git a/kexi/formeditor/objecttreeview.cpp b/kexi/formeditor/objecttreeview.cpp index 5146576c..e668aa48 100644 --- a/kexi/formeditor/objecttreeview.cpp +++ b/kexi/formeditor/objecttreeview.cpp @@ -91,9 +91,9 @@ ObjectTreeViewItem::paintCell(TQPainter *p, const TQColorGroup & cg, int column, { TQString iconName = ((ObjectTreeView*)listView())->iconNameForClass(m_item->widget()->className()); - p->drawPixmap(margin, (height() - IconSize(KIcon::Small))/2 , SmallIcon(iconName)); + p->drawPixmap(margin, (height() - IconSize(TDEIcon::Small))/2 , SmallIcon(iconName)); p->drawText( - TQRect(2*margin + IconSize(KIcon::Small),0,width, height()-1), + TQRect(2*margin + IconSize(TDEIcon::Small),0,width, height()-1), TQt::AlignVCenter, m_item->name()); } else @@ -136,7 +136,7 @@ ObjectTreeViewItem::paintBranches(TQPainter *p, const TQColorGroup &cg, int w, i TQString iconName = ((ObjectTreeView*)listView())->iconNameForClass(item->m_item->widget()->className()); p->drawPixmap( - (w - IconSize(KIcon::Small))/2, (item->height() - IconSize(KIcon::Small))/2 , + (w - IconSize(TDEIcon::Small))/2, (item->height() - IconSize(TDEIcon::Small))/2 , SmallIcon(iconName)); p->translate(0, item->totalHeight()); |