summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/widgetlibrary.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /kexi/formeditor/widgetlibrary.cpp
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kexi/formeditor/widgetlibrary.cpp')
-rw-r--r--kexi/formeditor/widgetlibrary.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/formeditor/widgetlibrary.cpp b/kexi/formeditor/widgetlibrary.cpp
index c15c3a9c..a21c4f3f 100644
--- a/kexi/formeditor/widgetlibrary.cpp
+++ b/kexi/formeditor/widgetlibrary.cpp
@@ -319,7 +319,7 @@ WidgetLibrary::createXML()
}*/
ActionList
-WidgetLibrary::createWidgetActions(KXMLGUIClient* client, KActionCollection *parent,
+WidgetLibrary::createWidgetActions(KXMLGUIClient* client, TDEActionCollection *parent,
TQObject *receiver, const char *slot)
{
loadFactories();
@@ -348,7 +348,7 @@ WidgetLibrary::createWidgetActions(KXMLGUIClient* client, KActionCollection *par
}
void
-WidgetLibrary::addCustomWidgetActions(KActionCollection *col)
+WidgetLibrary::addCustomWidgetActions(TDEActionCollection *col)
{
for (TQAsciiDictIterator<WidgetFactory> it(d->factories); it.current(); ++it)
{
@@ -738,7 +738,7 @@ WidgetFactory::CreateWidgetOptions WidgetLibrary::showOrientationSelectionPopup(
if (textVertical.isEmpty()) //default
textVertical = i18n("InsertQt::Vertical Widget", "InsertQt::Vertical");
- KPopupMenu* popup = new KPopupMenu(parent, "orientationSelectionPopup");
+ TDEPopupMenu* popup = new TDEPopupMenu(parent, "orientationSelectionPopup");
popup->insertTitle(SmallIcon(wclass->pixmap()), i18n("Insert Widget: %1").arg(wclass->name()));
popup->insertItem(iconHorizontal, textHorizontal, 1);
popup->insertItem(iconVertical, textVertical, 2);