summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/kfdpixmapedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/kfdpixmapedit.cpp')
-rw-r--r--kexi/formeditor/kfdpixmapedit.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/formeditor/kfdpixmapedit.cpp b/kexi/formeditor/kfdpixmapedit.cpp
index e8a967614..caadca855 100644
--- a/kexi/formeditor/kfdpixmapedit.cpp
+++ b/kexi/formeditor/kfdpixmapedit.cpp
@@ -29,8 +29,8 @@
using namespace KFormDesigner;
-KFDPixmapEdit::KFDPixmapEdit(KoProperty::Property *property, QWidget *parent, const char *name)
- : KoProperty::PixmapEdit(property, parent, name)
+KFDPixmapEdit::KFDPixmapEdit(KoProperty::Property *property, TQWidget *tqparent, const char *name)
+ : KoProperty::PixmapEdit(property, tqparent, name)
{
// m_manager = manager;
}
@@ -47,9 +47,9 @@ KFDPixmapEdit::selectPixmap()
return;
ObjectTreeItem *item = m_manager->activeForm()->objectTree()->lookup(m_manager->activeForm()->selectedWidget()->name());
- QString name = item ? item->pixmapName(property()->name()) : "";
- PixmapCollectionChooser dialog( m_manager->activeForm()->pixmapCollection(), name, topLevelWidget() );
- if(dialog.exec() == QDialog::Accepted) {
+ TQString name = item ? item->pixmapName(property()->name()) : "";
+ PixmapCollectionChooser dialog( m_manager->activeForm()->pixmapCollection(), name, tqtopLevelWidget() );
+ if(dialog.exec() == TQDialog::Accepted) {
setValue(dialog.pixmap(), true);
item->setPixmapName(property()->name(), dialog.pixmapName());
}