diff options
Diffstat (limited to 'kexi/widget/pixmapcollection.cpp')
-rw-r--r-- | kexi/widget/pixmapcollection.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/widget/pixmapcollection.cpp b/kexi/widget/pixmapcollection.cpp index fecc5b769..0aeddca46 100644 --- a/kexi/widget/pixmapcollection.cpp +++ b/kexi/widget/pixmapcollection.cpp @@ -40,8 +40,8 @@ #include "pixmapcollection.h" /// Pixmap Collection -PixmapCollection::PixmapCollection(const TQString &collectionName, TQObject *tqparent, const char *name) - : TQObject(tqparent, name) +PixmapCollection::PixmapCollection(const TQString &collectionName, TQObject *parent, const char *name) + : TQObject(parent, name) { m_name = collectionName; } @@ -150,8 +150,8 @@ PixmapCollection::load(TQDomNode node) } //// A dialog to load a KDE icon by its name -LoadIconDialog::LoadIconDialog(TQWidget *tqparent) -: KDialogBase(tqparent, "loadicon_dialog", true, i18n("Load KDE Icon by Name"), Ok|Cancel, Ok, false) +LoadIconDialog::LoadIconDialog(TQWidget *parent) +: KDialogBase(parent, "loadicon_dialog", true, i18n("Load KDE Icon by Name"), Ok|Cancel, Ok, false) { TQFrame *frame = makeMainWidget(); TQGridLayout *l = new TQGridLayout(frame, 2, 3, 0, 6); @@ -230,8 +230,8 @@ TQString LoadIconDialog::iconName() } /// Pixmap Collection Editor Dialog -PixmapCollectionEditor::PixmapCollectionEditor(PixmapCollection *collection, TQWidget *tqparent) -: KDialogBase(tqparent, "pixcollection_dialog", true, +PixmapCollectionEditor::PixmapCollectionEditor(PixmapCollection *collection, TQWidget *parent) +: KDialogBase(parent, "pixcollection_dialog", true, i18n("Edit Pixmap Collection: %1").tqarg(collection->collectionName()), Close, Close, false) { m_collection = collection; @@ -372,8 +372,8 @@ PixmapCollectionEditor::displayMenu(TQIconViewItem *it, const TQPoint &p) } //// A Dialog to choose a pixmap from the PixmapCollection -PixmapCollectionChooser::PixmapCollectionChooser(PixmapCollection *collection, const TQString &selectedItem, TQWidget *tqparent) -: KDialogBase(tqparent, "pixchoose_dialog", true, i18n("Select Pixmap From %1").tqarg(collection->collectionName()), +PixmapCollectionChooser::PixmapCollectionChooser(PixmapCollection *collection, const TQString &selectedItem, TQWidget *parent) +: KDialogBase(parent, "pixchoose_dialog", true, i18n("Select Pixmap From %1").tqarg(collection->collectionName()), User1|Ok|Cancel, Ok, false, KGuiItem(i18n("Edit Collection..."))) { m_collection = collection; |