|
|
@ -16,6 +16,7 @@
|
|
|
|
#include <config.h>
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include <assert.h>
|
|
|
|
#include <assert.h>
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
|
|
|
|
|
|
|
|
#include <kiconviewsearchline.h>
|
|
|
|
#include <kiconviewsearchline.h>
|
|
|
|
|
|
|
|
|
|
|
@ -32,7 +33,6 @@
|
|
|
|
#include <tqlayout.h>
|
|
|
|
#include <tqlayout.h>
|
|
|
|
#include <tqstring.h>
|
|
|
|
#include <tqstring.h>
|
|
|
|
#include <tqstringlist.h>
|
|
|
|
#include <tqstringlist.h>
|
|
|
|
#include <tqptrlist.h>
|
|
|
|
|
|
|
|
#include <tqimage.h>
|
|
|
|
#include <tqimage.h>
|
|
|
|
#include <tqpixmap.h>
|
|
|
|
#include <tqpixmap.h>
|
|
|
|
#include <tqlabel.h>
|
|
|
|
#include <tqlabel.h>
|
|
|
@ -401,17 +401,16 @@ void TDEIconDialog::showIcons()
|
|
|
|
else
|
|
|
|
else
|
|
|
|
filelist=mFileList;
|
|
|
|
filelist=mFileList;
|
|
|
|
|
|
|
|
|
|
|
|
TQPtrList <IconPath>iconlist;
|
|
|
|
std::list<IconPath> iconlist;
|
|
|
|
iconlist.setAutoDelete(true);
|
|
|
|
|
|
|
|
TQStringList::Iterator it;
|
|
|
|
TQStringList::Iterator it;
|
|
|
|
for( it = filelist.begin(); it != filelist.end(); ++it )
|
|
|
|
for( it = filelist.begin(); it != filelist.end(); ++it )
|
|
|
|
iconlist.append(new IconPath(*it));
|
|
|
|
iconlist.push_back(IconPath(*it));
|
|
|
|
|
|
|
|
|
|
|
|
iconlist.sort();
|
|
|
|
iconlist.sort();
|
|
|
|
filelist.clear();
|
|
|
|
filelist.clear();
|
|
|
|
|
|
|
|
|
|
|
|
for ( IconPath *ip=iconlist.first(); ip != 0; ip=iconlist.next() )
|
|
|
|
for (const IconPath &ip : iconlist)
|
|
|
|
filelist.append(*ip);
|
|
|
|
filelist.append(ip);
|
|
|
|
|
|
|
|
|
|
|
|
d->searchLine->clear();
|
|
|
|
d->searchLine->clear();
|
|
|
|
mpCanvas->loadFiles(filelist);
|
|
|
|
mpCanvas->loadFiles(filelist);
|
|
|
|