summaryrefslogtreecommitdiffstats
path: root/apps/ktorrent/newui
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:04:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:04:44 -0600
commit4ba6286d9eaa3754119526dc1ac3435a341549cb (patch)
tree92749c4fa4e554fd060c8ac9aeb4d1490f05141c /apps/ktorrent/newui
parent2cf12b3b4be272da465791312b82cfcc77704b9d (diff)
downloadktorrent-4ba6286d9eaa3754119526dc1ac3435a341549cb.tar.gz
ktorrent-4ba6286d9eaa3754119526dc1ac3435a341549cb.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'apps/ktorrent/newui')
-rw-r--r--apps/ktorrent/newui/button.cpp4
-rw-r--r--apps/ktorrent/newui/button.h6
-rw-r--r--apps/ktorrent/newui/ddockwindow.cpp8
-rw-r--r--apps/ktorrent/newui/ddockwindow.h8
4 files changed, 13 insertions, 13 deletions
diff --git a/apps/ktorrent/newui/button.cpp b/apps/ktorrent/newui/button.cpp
index 4fcf150..621561a 100644
--- a/apps/ktorrent/newui/button.cpp
+++ b/apps/ktorrent/newui/button.cpp
@@ -55,9 +55,9 @@ Button::Button(ButtonBar *parent, const TQString text, const TQIconSet &icon,
TQToolTip::add(this, m_realText);
- m_assignAccelAction = new KAction(i18n("Assign Accelerator..."), 0,
+ m_assignAccelAction = new TDEAction(i18n("Assign Accelerator..."), 0,
TQT_TQOBJECT(this), TQT_SLOT(assignAccel()), TQT_TQOBJECT(this));
- m_clearAccelAction = new KAction(i18n("Clear Accelerator"), 0,
+ m_clearAccelAction = new TDEAction(i18n("Clear Accelerator"), 0,
TQT_TQOBJECT(this), TQT_SLOT(clearAccel()), TQT_TQOBJECT(this));
TDEConfig *config = kapp->config();
diff --git a/apps/ktorrent/newui/button.h b/apps/ktorrent/newui/button.h
index 8656692..00a31de 100644
--- a/apps/ktorrent/newui/button.h
+++ b/apps/ktorrent/newui/button.h
@@ -25,7 +25,7 @@
#include "comdefs.h"
-class KAction;
+class TDEAction;
namespace Ideal {
@@ -98,8 +98,8 @@ private:
TQString m_realText;
TQIconSet m_realIconSet;
- KAction *m_assignAccelAction;
- KAction *m_clearAccelAction;
+ TDEAction *m_assignAccelAction;
+ TDEAction *m_clearAccelAction;
friend class ButtonBar;
};
diff --git a/apps/ktorrent/newui/ddockwindow.cpp b/apps/ktorrent/newui/ddockwindow.cpp
index b2ac81d..f63c0c7 100644
--- a/apps/ktorrent/newui/ddockwindow.cpp
+++ b/apps/ktorrent/newui/ddockwindow.cpp
@@ -85,9 +85,9 @@ DDockWindow::DDockWindow(DMainWindow *parent, Position position)
m_widgetStack = new TQWidgetStack(this);
m_internalLayout->addWidget(m_widgetStack);
- m_moveToDockLeft = new KAction( i18n("Move to left dock"), 0, TQT_TQOBJECT(this), TQT_SLOT(moveToDockLeft()), TQT_TQOBJECT(this) );
- m_moveToDockRight = new KAction( i18n("Move to right dock"), 0, TQT_TQOBJECT(this), TQT_SLOT(moveToDockRight()), TQT_TQOBJECT(this) );
- m_moveToDockBottom = new KAction( i18n("Move to bottom dock"), 0, TQT_TQOBJECT(this), TQT_SLOT(moveToDockBottom()), TQT_TQOBJECT(this) );
+ m_moveToDockLeft = new TDEAction( i18n("Move to left dock"), 0, TQT_TQOBJECT(this), TQT_SLOT(moveToDockLeft()), TQT_TQOBJECT(this) );
+ m_moveToDockRight = new TDEAction( i18n("Move to right dock"), 0, TQT_TQOBJECT(this), TQT_SLOT(moveToDockRight()), TQT_TQOBJECT(this) );
+ m_moveToDockBottom = new TDEAction( i18n("Move to bottom dock"), 0, TQT_TQOBJECT(this), TQT_SLOT(moveToDockBottom()), TQT_TQOBJECT(this) );
setVisible(m_visible);
@@ -320,7 +320,7 @@ void DDockWindow::showWidget(TQWidget *widget)
void DDockWindow::setMovingEnabled(bool)
{
- //some operations on KMainWindow cause moving to be enabled
+ //some operations on TDEMainWindow cause moving to be enabled
//but we always don't want DDockWindow instances to be movable
TQDockWindow::setMovingEnabled(false);
}
diff --git a/apps/ktorrent/newui/ddockwindow.h b/apps/ktorrent/newui/ddockwindow.h
index 5bee0a8..3012e02 100644
--- a/apps/ktorrent/newui/ddockwindow.h
+++ b/apps/ktorrent/newui/ddockwindow.h
@@ -29,7 +29,7 @@ class TQWidgetStack;
class TQPopupMenu;
class KComboBox;
-class KAction;
+class TDEAction;
class DMainWindow;
@@ -109,9 +109,9 @@ private:
TQBoxLayout *m_internalLayout;
- KAction * m_moveToDockLeft;
- KAction * m_moveToDockRight;
- KAction * m_moveToDockBottom;
+ TDEAction * m_moveToDockLeft;
+ TDEAction * m_moveToDockRight;
+ TDEAction * m_moveToDockBottom;
};
#endif