diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/applets/trash/trashapplet.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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/applets/trash/trashapplet.cpp')
-rw-r--r-- | kicker/applets/trash/trashapplet.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kicker/applets/trash/trashapplet.cpp b/kicker/applets/trash/trashapplet.cpp index c27c4e281..18962b2ea 100644 --- a/kicker/applets/trash/trashapplet.cpp +++ b/kicker/applets/trash/trashapplet.cpp @@ -31,7 +31,7 @@ extern "C" { - KDE_EXPORT KPanelApplet* init( QWidget *parent, const QString& configFile) + KDE_EXPORT KPanelApplet* init( TQWidget *parent, const TQString& configFile) { KGlobal::locale()->insertCatalogue("trashapplet"); return new TrashApplet(configFile, KPanelApplet::Normal, @@ -39,7 +39,7 @@ extern "C" } } -TrashApplet::TrashApplet(const QString& configFile, Type type, int actions, QWidget *parent, const char *name) +TrashApplet::TrashApplet(const TQString& configFile, Type type, int actions, TQWidget *parent, const char *name) : KPanelApplet(configFile, type, actions, parent, name), mButton(0) { mButton = new TrashButton(this); @@ -53,12 +53,12 @@ TrashApplet::TrashApplet(const QString& configFile, Type type, int actions, QWid mpDirLister = new KDirLister(); - connect( mpDirLister, SIGNAL( clear() ), - this, SLOT( slotClear() ) ); - connect( mpDirLister, SIGNAL( completed() ), - this, SLOT( slotCompleted() ) ); - connect( mpDirLister, SIGNAL( deleteItem( KFileItem * ) ), - this, SLOT( slotDeleteItem( KFileItem * ) ) ); + 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 * ) ) ); 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, SIGNAL( clear() ), - this, SLOT( slotClear() ) ); + disconnect( mpDirLister, TQT_SIGNAL( clear() ), + this, TQT_SLOT( slotClear() ) ); delete mpDirLister; KGlobal::locale()->removeCatalogue("trashapplet"); } @@ -111,7 +111,7 @@ int TrashApplet::heightForWidth( int width ) const return mButton->heightForWidth( width ); } -void TrashApplet::resizeEvent( QResizeEvent * ) +void TrashApplet::resizeEvent( TQResizeEvent * ) { if (!mButton) { |