author | zecke <zecke> | 2002-03-22 16:59:27 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-03-22 16:59:27 (UTC) |
commit | da1430c6bd5fee39a19b294017848b95198217af (patch) (side-by-side diff) | |
tree | 5151db04f91339abffac1fbb69ca56673f8c3918 /core | |
parent | 966b7c4d3a691c59b428ffba34e6e3a0149e4698 (diff) | |
download | opie-da1430c6bd5fee39a19b294017848b95198217af.zip opie-da1430c6bd5fee39a19b294017848b95198217af.tar.gz opie-da1430c6bd5fee39a19b294017848b95198217af.tar.bz2 |
make something kewl possible
-rw-r--r-- | core/launcher/launcher.cpp | 1 | ||||
-rw-r--r-- | core/launcher/launcher.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index 222592b..b26bd8b 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -514,24 +514,25 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global:: if ( (*it)->isRemovable() ) { // let's find out if we should search on it OConfig cfg( (*it)->path() + "/.opiestorage.cf"); cfg.setGroup("main"); QString stamp = cfg.readEntry("timestamp", QDateTime::currentDateTime().toString() ); if( stamp == m_timeStamp ){ // ok we know this card cfg.writeEntry("timestamp", newStamp ); // we need to scan the list now. Hopefully the cache will be there }else{ // come up with the gui MediumMountGui medium((*it)->path() + "/.opiestorage.cf" ); if( medium.check() ){ if( medium.exec() ){ //ok // speicher + cfg.writeEntry("timestamp", newStamp ); } }else{ // do something different see what we need to do } } } } Global::findDocuments(docsFolder); // get rid of this call later m_timeStamp = newStamp; } void Launcher::updateTabs() diff --git a/core/launcher/launcher.h b/core/launcher/launcher.h index 00ae980..197bd19 100644 --- a/core/launcher/launcher.h +++ b/core/launcher/launcher.h @@ -122,15 +122,17 @@ private: void updateMimeTypes(AppLnkSet*); void preloadApps(); AppLnkSet *rootFolder; DocLnkSet *docsFolder; CategoryTabWidget *tabs; StorageInfo *storage; SyncDialog *syncDialog; void updateLink(const QString& link); bool in_lnk_props; bool got_lnk_change; QString lnk_change; + QString m_timeStamp; }; #endif // LAUNCHERVIEW_H + |