summaryrefslogtreecommitdiffstats
path: root/kicker/kicker/ui/removebutton_mnu.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/kicker/ui/removebutton_mnu.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/kicker/ui/removebutton_mnu.cpp')
-rw-r--r--kicker/kicker/ui/removebutton_mnu.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kicker/kicker/ui/removebutton_mnu.cpp b/kicker/kicker/ui/removebutton_mnu.cpp
index 33dc48e14..8f02abd67 100644
--- a/kicker/kicker/ui/removebutton_mnu.cpp
+++ b/kicker/kicker/ui/removebutton_mnu.cpp
@@ -21,7 +21,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
******************************************************************/
-#include <qregexp.h>
+#include <tqregexp.h>
#include <kiconloader.h>
#include <klocale.h>
#include <kglobal.h>
@@ -37,14 +37,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "removebutton_mnu.moc"
PanelRemoveButtonMenu::PanelRemoveButtonMenu( ContainerArea* cArea,
- QWidget *parent, const char *name )
- : QPopupMenu( parent, name ), containerArea( cArea )
+ TQWidget *parent, const char *name )
+ : TQPopupMenu( parent, name ), containerArea( cArea )
{
- connect(this, SIGNAL(activated(int)), SLOT(slotExec(int)));
- connect(this, SIGNAL(aboutToShow()), SLOT(slotAboutToShow()));
+ connect(this, TQT_SIGNAL(activated(int)), TQT_SLOT(slotExec(int)));
+ connect(this, TQT_SIGNAL(aboutToShow()), TQT_SLOT(slotAboutToShow()));
}
-void PanelRemoveButtonMenu::addToContainers(const QString& type)
+void PanelRemoveButtonMenu::addToContainers(const TQString& type)
{
BaseContainer::List list = containerArea->containers(type);
for (BaseContainer::Iterator it = list.begin();
@@ -70,7 +70,7 @@ void PanelRemoveButtonMenu::slotAboutToShow()
addToContainers("ExecButton");
int id = 0;
- QValueList<PanelMenuItemInfo> items;
+ TQValueList<PanelMenuItemInfo> items;
for (BaseContainer::Iterator it = containers.begin(); it != containers.end(); ++it)
{
items.append(PanelMenuItemInfo((*it)->icon(), (*it)->visibleName(), id));
@@ -79,7 +79,7 @@ void PanelRemoveButtonMenu::slotAboutToShow()
qHeapSort(items);
- for (QValueList<PanelMenuItemInfo>::iterator it = items.begin();
+ for (TQValueList<PanelMenuItemInfo>::iterator it = items.begin();
it != items.end();
++it)
{
@@ -89,7 +89,7 @@ void PanelRemoveButtonMenu::slotAboutToShow()
if (containers.count() > 1)
{
insertSeparator();
- insertItem(i18n("All"), this, SLOT(slotRemoveAll()), 0, id);
+ insertItem(i18n("All"), this, TQT_SLOT(slotRemoveAll()), 0, id);
}
}