diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:08:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:08:43 -0600 |
commit | d0bdd0d7a768f9935b521f3bd12a4cd72739b96f (patch) | |
tree | fa2f2df5113b9dd1e7e821c80084af9da0175187 /src/gvcore/fileviewcontroller.cpp | |
parent | 676f6ed378c861a872de8cfce3dd5efe1780f769 (diff) | |
download | gwenview-d0bdd0d7a768f9935b521f3bd12a4cd72739b96f.tar.gz gwenview-d0bdd0d7a768f9935b521f3bd12a4cd72739b96f.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/gvcore/fileviewcontroller.cpp')
-rw-r--r-- | src/gvcore/fileviewcontroller.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gvcore/fileviewcontroller.cpp b/src/gvcore/fileviewcontroller.cpp index bdacf01..bb57a07 100644 --- a/src/gvcore/fileviewcontroller.cpp +++ b/src/gvcore/fileviewcontroller.cpp @@ -191,7 +191,7 @@ public: void initFilterBar() { mFilterBar=new FilterBar(that); - mFilterBar->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); + mFilterBar->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); mFilterBar->hide(); TQIconSet resetIS=BarIcon("locationbar_erase"); @@ -256,7 +256,7 @@ FileViewController::FileViewController(TQWidget* parent,KActionCollection* actio : TQWidget(parent) , mMode(FILE_LIST) , mPrefetch( NULL ) -, mChangeDirtqStatus(CHANGE_DIR_STATUS_NONE) +, mChangeDirStatus(CHANGE_DIR_STATUS_NONE) , mBrowsing(false) , mSelecting(false) { @@ -338,7 +338,7 @@ FileViewController::FileViewController(TQWidget* parent,KActionCollection* actio // Dir lister mDirLister=new DirLister; - mDirLister->setMainWindow(tqtopLevelWidget()); + mDirLister->setMainWindow(topLevelWidget()); connect(mDirLister,TQT_SIGNAL(clear()), TQT_TQOBJECT(this),TQT_SLOT(dirListerClear()) ); @@ -575,13 +575,13 @@ void FileViewController::slotSelectNext() { } void FileViewController::slotSelectPreviousDir() { - mChangeDirtqStatus = CHANGE_DIR_STATUS_PREV; + mChangeDirStatus = CHANGE_DIR_STATUS_PREV; mDirLister->clearError(); mDirLister->openURL(mDirURL.upURL()); } void FileViewController::slotSelectNextDir() { - mChangeDirtqStatus = CHANGE_DIR_STATUS_NEXT; + mChangeDirStatus = CHANGE_DIR_STATUS_NEXT; mDirLister->clearError(); mDirLister->openURL(mDirURL.upURL()); } @@ -1102,12 +1102,12 @@ void FileViewController::delayedDirListerCompleted() { mFileThumbnailView->sort(mFileThumbnailView->sortDirection()); } - if (mChangeDirtqStatus != CHANGE_DIR_STATUS_NONE) { + if (mChangeDirStatus != CHANGE_DIR_STATUS_NONE) { KFileItem *item; TQString fileName = mDirURL.filename(); for (item=currentFileView()->firstFileItem(); item; item=currentFileView()->nextItem(item) ) { if (item->name() == fileName) { - if (mChangeDirtqStatus == CHANGE_DIR_STATUS_NEXT) { + if (mChangeDirStatus == CHANGE_DIR_STATUS_NEXT) { do { item=currentFileView()->nextItem(item); } while (item && !Archive::fileItemIsDirOrArchive(item)); @@ -1119,7 +1119,7 @@ void FileViewController::delayedDirListerCompleted() { break; }; } - mChangeDirtqStatus = CHANGE_DIR_STATUS_NONE; + mChangeDirStatus = CHANGE_DIR_STATUS_NONE; if (!item) { mDirLister->openURL(mDirURL); } else { |