summaryrefslogtreecommitdiffstats
path: root/kexi/widget/pixmapcollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/pixmapcollection.cpp')
-rw-r--r--kexi/widget/pixmapcollection.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kexi/widget/pixmapcollection.cpp b/kexi/widget/pixmapcollection.cpp
index 9248916c..d28759e9 100644
--- a/kexi/widget/pixmapcollection.cpp
+++ b/kexi/widget/pixmapcollection.cpp
@@ -176,7 +176,7 @@ LoadIconDialog::LoadIconDialog(TQWidget *parent)
list << i18n("Small") << i18n("Medium") << i18n("Large") << i18n("Huge");
combo->insertStringList(list);
combo->setCurrentItem(2);
- connect(combo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changeIconSize(int)));
+ connect(combo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changeIconSize(int)));
// Icon chooser button
@@ -184,8 +184,8 @@ LoadIconDialog::LoadIconDialog(TQWidget *parent)
m_button->setIcon("kexi");
m_button->setIconSize(TDEIcon::SizeMedium);
l->addMultiCellWidget(m_button, 0, 1, 2, 2);
- connect(m_button, TQT_SIGNAL(iconChanged(TQString)), this, TQT_SLOT(updateIconName(TQString)));
- connect(m_nameInput, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(setIcon(const TQString &)));
+ connect(m_button, TQ_SIGNAL(iconChanged(TQString)), this, TQ_SLOT(updateIconName(TQString)));
+ connect(m_nameInput, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(setIcon(const TQString &)));
}
void
@@ -246,21 +246,21 @@ PixmapCollectionEditor::PixmapCollectionEditor(PixmapCollection *collection, TQW
newItemPath->setTextLabel(i18n("&Add File"), true);
vlayout->addWidget(newItemPath);
m_buttons.insert(BNewItemPath, newItemPath);
- connect(newItemPath, TQT_SIGNAL(clicked()), this, TQT_SLOT(newItemByPath()));
+ connect(newItemPath, TQ_SIGNAL(clicked()), this, TQ_SLOT(newItemByPath()));
TQToolButton *newItemName = new TQToolButton(frame);
newItemName->setIconSet(BarIconSet("icons"));
newItemName->setTextLabel(i18n("&Add an Icon"), true);
vlayout->addWidget(newItemName);
m_buttons.insert(BNewItemName, newItemName);
- connect(newItemName, TQT_SIGNAL(clicked()), this, TQT_SLOT(newItemByName()));
+ connect(newItemName, TQ_SIGNAL(clicked()), this, TQ_SLOT(newItemByName()));
TQToolButton *delItem = new TQToolButton(frame);
delItem->setIconSet(BarIconSet("edit_remove"));
delItem->setTextLabel(i18n("&Remove Selected Item"), true);
vlayout->addWidget(delItem);
m_buttons.insert(BDelItem, delItem);
- connect(delItem, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeItem()));
+ connect(delItem, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeItem()));
vlayout->addStretch();
// Setup the iconView
@@ -270,8 +270,8 @@ PixmapCollectionEditor::PixmapCollectionEditor(PixmapCollection *collection, TQW
m_iconView->setAutoArrange(true);
m_iconView->setMode(TDEIconView::Select);
l->addWidget(m_iconView);
- connect(m_iconView, TQT_SIGNAL(contextMenuRequested(TQIconViewItem*, const TQPoint&)), this, TQT_SLOT(displayMenu(TQIconViewItem*, const TQPoint&)));
- connect(m_iconView, TQT_SIGNAL(itemRenamed(TQIconViewItem*, const TQString &)), this, TQT_SLOT(renameCollectionItem(TQIconViewItem*, const TQString&)));
+ connect(m_iconView, TQ_SIGNAL(contextMenuRequested(TQIconViewItem*, const TQPoint&)), this, TQ_SLOT(displayMenu(TQIconViewItem*, const TQPoint&)));
+ connect(m_iconView, TQ_SIGNAL(itemRenamed(TQIconViewItem*, const TQString &)), this, TQ_SLOT(renameCollectionItem(TQIconViewItem*, const TQString&)));
PixmapMap::ConstIterator it;
PixmapMap::ConstIterator endIt = collection->m_pixmaps.end();
@@ -366,8 +366,8 @@ PixmapCollectionEditor::displayMenu(TQIconViewItem *it, const TQPoint &p)
{
if(!it) return;
TDEPopupMenu *menu = new TDEPopupMenu();
- menu->insertItem(SmallIconSet("edit"), i18n("Rename Item"), this, TQT_SLOT(renameItem()));
- menu->insertItem(SmallIconSet("remove"), i18n("Remove Item"), this, TQT_SLOT(removeItem()));
+ menu->insertItem(SmallIconSet("edit"), i18n("Rename Item"), this, TQ_SLOT(renameItem()));
+ menu->insertItem(SmallIconSet("remove"), i18n("Remove Item"), this, TQ_SLOT(removeItem()));
menu->exec(p);
}