summaryrefslogtreecommitdiffstats
path: root/kicker/applets/trash/trashapplet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/applets/trash/trashapplet.cpp')
-rw-r--r--kicker/applets/trash/trashapplet.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kicker/applets/trash/trashapplet.cpp b/kicker/applets/trash/trashapplet.cpp
index f431b8aed..b86b5ef9d 100644
--- a/kicker/applets/trash/trashapplet.cpp
+++ b/kicker/applets/trash/trashapplet.cpp
@@ -31,7 +31,7 @@
extern "C"
{
- KDE_EXPORT KPanelApplet* init( TQWidget *parent, const TQString& configFile)
+ TDE_EXPORT KPanelApplet* init( TQWidget *parent, const TQString& configFile)
{
TDEGlobal::locale()->insertCatalogue("trashapplet");
return new TrashApplet(configFile, KPanelApplet::Normal,
@@ -53,12 +53,12 @@ TrashApplet::TrashApplet(const TQString& configFile, Type type, int actions, TQW
mpDirLister = new KDirLister();
- connect( mpDirLister, TQT_SIGNAL( clear() ),
- this, TQT_SLOT( slotClear() ) );
- connect( mpDirLister, TQT_SIGNAL( completed() ),
- this, TQT_SLOT( slotCompleted() ) );
- connect( mpDirLister, TQT_SIGNAL( deleteItem( KFileItem * ) ),
- this, TQT_SLOT( slotDeleteItem( KFileItem * ) ) );
+ connect( mpDirLister, TQ_SIGNAL( clear() ),
+ this, TQ_SLOT( slotClear() ) );
+ connect( mpDirLister, TQ_SIGNAL( completed() ),
+ this, TQ_SLOT( slotCompleted() ) );
+ connect( mpDirLister, TQ_SIGNAL( deleteItem( KFileItem * ) ),
+ this, TQ_SLOT( slotDeleteItem( KFileItem * ) ) );
mpDirLister->openURL("trash:/");
}
@@ -67,8 +67,8 @@ TrashApplet::~TrashApplet()
{
// disconnect the dir lister before quitting so as not to crash
// on kicker exit
- disconnect( mpDirLister, TQT_SIGNAL( clear() ),
- this, TQT_SLOT( slotClear() ) );
+ disconnect( mpDirLister, TQ_SIGNAL( clear() ),
+ this, TQ_SLOT( slotClear() ) );
delete mpDirLister;
TDEGlobal::locale()->removeCatalogue("trashapplet");
}
@@ -121,12 +121,12 @@ void TrashApplet::resizeEvent( TQResizeEvent * )
int size = 1;
size = std::max( size,
- orientation() == Qt::Vertical ?
+ orientation() == TQt::Vertical ?
mButton->heightForWidth( width() ) :
mButton->widthForHeight( height() ) );
- if(orientation() == Qt::Vertical)
+ if(orientation() == TQt::Vertical)
{
mButton->resize( width(), size );
}