diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
commit | 395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch) | |
tree | 9829cadb79d2cc7c29a940627fadb28b11e54150 /konq-plugins/fsview/fsview_part.cpp | |
parent | 399f47c376fdf4d19192732a701ea9578d11619d (diff) | |
download | tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip |
TQt4 port kdeaddons
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/fsview/fsview_part.cpp')
-rw-r--r-- | konq-plugins/fsview/fsview_part.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/konq-plugins/fsview/fsview_part.cpp b/konq-plugins/fsview/fsview_part.cpp index 02df4c6..b9d2f5b 100644 --- a/konq-plugins/fsview/fsview_part.cpp +++ b/konq-plugins/fsview/fsview_part.cpp @@ -74,7 +74,7 @@ void FSJob::progressSlot(int percent, int dirs, const TQString& cDir) emitPercent(percent, 100); slotInfoMessage(this, i18n("Read 1 folder, in %1", "Read %n folders, in %1", - dirs ).arg(cDir)); + dirs ).tqarg(cDir)); } else slotInfoMessage(this, i18n("1 folder", "%n folders", dirs)); @@ -93,15 +93,15 @@ KAboutData* FSViewPart::createAboutData() return aboutData; } -FSViewPart::FSViewPart(TQWidget *parentWidget, const char *widgetName, - TQObject *parent, const char *name, +FSViewPart::FSViewPart(TQWidget *tqparentWidget, const char *widgetName, + TQObject *tqparent, const char *name, const TQStringList& /* args */) - : KParts::ReadOnlyPart(parent, name) + : KParts::ReadOnlyPart(tqparent, name) { // we need an instance setInstance( FSViewPartFactory::instance() ); - _view = new FSView(new Inode(), parentWidget, widgetName); + _view = new FSView(new Inode(), tqparentWidget, widgetName); TQWhatsThis::add(_view, i18n("<p>This is the FSView plugin, a graphical " "browsing mode showing filesystem utilization " "by using a tree map visualization.</p>" @@ -201,7 +201,7 @@ void FSViewPart::showInfo() "currently visible in FSView, from the outside.\n" "For details, see the 'Help/FSView Manual'."); - KMessageBox::information( _view, info, TQString::null, "ShowFSViewInfo"); + KMessageBox::information( _view, info, TQString(), "ShowFSViewInfo"); } void FSViewPart::showHelp() @@ -219,7 +219,7 @@ void FSViewPart::startedSlot() void FSViewPart::completedSlot(int dirs) { if (_job) { - _job->progressSlot(100, dirs, TQString::null); + _job->progressSlot(100, dirs, TQString()); delete _job; _job = 0; } @@ -344,7 +344,7 @@ void FSViewBrowserExtension::trash() void FSViewBrowserExtension::copySelection( bool move ) { KonqDrag *urlData = KonqDrag::newDrag( _view->selectedUrls(), move ); - TQApplication::clipboard()->setData( urlData ); + TQApplication::tqclipboard()->setData( urlData ); } void FSViewBrowserExtension::editMimeType() @@ -365,9 +365,9 @@ void FSViewBrowserExtension::refresh() while( (i=s.next()) ) commonParent = commonParent->commonParent(i); - /* if commonParent is a file, update parent directory */ + /* if commonParent is a file, update tqparent directory */ if ( !((Inode*)commonParent)->isDir() ) { - commonParent = commonParent->parent(); + commonParent = commonParent->tqparent(); if (!commonParent) return; } |