diff options
Diffstat (limited to 'kexi/widget/tableview/kexiblobtableedit.cpp')
-rw-r--r-- | kexi/widget/tableview/kexiblobtableedit.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kexi/widget/tableview/kexiblobtableedit.cpp b/kexi/widget/tableview/kexiblobtableedit.cpp index 91523cb7..4982fffa 100644 --- a/kexi/widget/tableview/kexiblobtableedit.cpp +++ b/kexi/widget/tableview/kexiblobtableedit.cpp @@ -474,10 +474,10 @@ bool KexiBlobTableEdit::eventFilter( TQObject *o, TQEvent *e ) KEXI_CELLEDITOR_FACTORY_ITEM_IMPL(KexiBlobEditorFactoryItem, KexiBlobTableEdit) //======================= -// KexiKIconTableEdit class is temporarily here: +// KexiTDEIconTableEdit class is temporarily here: //! @internal -class KexiKIconTableEdit::Private +class KexiTDEIconTableEdit::Private { public: Private() @@ -490,61 +490,61 @@ public: TQCache<TQPixmap> pixmapCache; }; -KexiKIconTableEdit::KexiKIconTableEdit(KexiTableViewColumn &column, TQWidget *parent) +KexiTDEIconTableEdit::KexiTDEIconTableEdit(KexiTableViewColumn &column, TQWidget *parent) : KexiTableEdit(column, parent) , d( new Private() ) { - setName("KexiKIconTableEdit"); + setName("KexiTDEIconTableEdit"); init(); } -KexiKIconTableEdit::~KexiKIconTableEdit() +KexiTDEIconTableEdit::~KexiTDEIconTableEdit() { delete d; } -void KexiKIconTableEdit::init() +void KexiTDEIconTableEdit::init() { m_hasFocusableWidget = false; d->pixmapCache.setAutoDelete(true); } -void KexiKIconTableEdit::setValueInternal(const TQVariant& /*add*/, bool /*removeOld*/) +void KexiTDEIconTableEdit::setValueInternal(const TQVariant& /*add*/, bool /*removeOld*/) { d->currentValue = m_origValue; } -bool KexiKIconTableEdit::valueIsNull() +bool KexiTDEIconTableEdit::valueIsNull() { return d->currentValue.isNull(); } -bool KexiKIconTableEdit::valueIsEmpty() +bool KexiTDEIconTableEdit::valueIsEmpty() { return d->currentValue.isNull(); } -TQVariant KexiKIconTableEdit::value() +TQVariant KexiTDEIconTableEdit::value() { return d->currentValue; } -void KexiKIconTableEdit::clear() +void KexiTDEIconTableEdit::clear() { d->currentValue = TQVariant(); } -bool KexiKIconTableEdit::cursorAtStart() +bool KexiTDEIconTableEdit::cursorAtStart() { return true; } -bool KexiKIconTableEdit::cursorAtEnd() +bool KexiTDEIconTableEdit::cursorAtEnd() { return true; } -void KexiKIconTableEdit::setupContents( TQPainter *p, bool /*focused*/, const TQVariant& val, +void KexiTDEIconTableEdit::setupContents( TQPainter *p, bool /*focused*/, const TQVariant& val, TQString &/*txt*/, int &/*align*/, int &/*x*/, int &y_offset, int &w, int &h ) { Q_UNUSED( y_offset ); @@ -571,8 +571,8 @@ void KexiKIconTableEdit::setupContents( TQPainter *p, bool /*focused*/, const TQ TQPixmap *pix = 0; if (!key.isEmpty() && !(pix = d->pixmapCache[ key ])) { //cache pixmap - TQPixmap pm = TDEGlobal::iconLoader()->loadIcon( key, KIcon::Small, - 0, KIcon::DefaultState, 0L, true/*canReturnNull*/ ); + TQPixmap pm = TDEGlobal::iconLoader()->loadIcon( key, TDEIcon::Small, + 0, TDEIcon::DefaultState, 0L, true/*canReturnNull*/ ); if (!pm.isNull()) { pix = new TQPixmap(pm); d->pixmapCache.insert(key, pix); @@ -584,12 +584,12 @@ void KexiKIconTableEdit::setupContents( TQPainter *p, bool /*focused*/, const TQ } } -void KexiKIconTableEdit::handleCopyAction(const TQVariant& value, const TQVariant& visibleValue) +void KexiTDEIconTableEdit::handleCopyAction(const TQVariant& value, const TQVariant& visibleValue) { Q_UNUSED(value); Q_UNUSED(visibleValue); } -KEXI_CELLEDITOR_FACTORY_ITEM_IMPL(KexiKIconTableEditorFactoryItem, KexiKIconTableEdit) +KEXI_CELLEDITOR_FACTORY_ITEM_IMPL(KexiTDEIconTableEditorFactoryItem, KexiTDEIconTableEdit) #include "kexiblobtableedit.moc" |