author | mickeyl <mickeyl> | 2003-08-13 12:24:47 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-08-13 12:24:47 (UTC) |
commit | 6e7dbb9320256c326cd19e7555b4309e71d039e3 (patch) (side-by-side diff) | |
tree | 3a64f0284a7f9f2a2fdbacffde3e11eb768b79bc | |
parent | db952faa29fa56602b061ef4faff61cc57f71243 (diff) | |
download | opie-6e7dbb9320256c326cd19e7555b4309e71d039e3.zip opie-6e7dbb9320256c326cd19e7555b4309e71d039e3.tar.gz opie-6e7dbb9320256c326cd19e7555b4309e71d039e3.tar.bz2 |
make it at least compile. ljp, please look @ the doctab
-rw-r--r-- | Rules.make | 1 | ||||
-rw-r--r-- | core/launcher/launcher.cpp | 25 |
2 files changed, 14 insertions, 12 deletions
@@ -55,12 +55,13 @@ $(QTDIR)/stamp-headers-x11 : $(OPIEDIR)/stamp-headers : @-rm -f $(OPIEDIR)/stamp-headers* mkdir -p $(TOPDIR)/include/qpe \ $(TOPDIR)/include/qtopia \ $(TOPDIR)/include/opie \ + $(TOPDIR)/include/opie2 \ $(TOPDIR)/include/qtopia/private ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index 0205622..b612aa2 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -378,20 +378,21 @@ LauncherView* CategoryTabWidget::newView( const QString& id, const QPixmap& pm, stack->addWidget( view, tabs++ ); return view; } void CategoryTabWidget::updateLink(const QString& linkfile) { - // LauncherView* view; - qApp->processEvents(); -// while ((view = (LauncherView*)stack->widget(i++))) { -// if ( view->removeLink(linkfile) ) -// break; -// } - // addItem(linkfile); - fileSel->reparse(); + int i=0; + LauncherView* view; + //qApp->processEvents(); + while ((view = (LauncherView*)stack->widget(i++))) { + if ( view->removeLink(linkfile) ) + break; + } + addItem(linkfile); + docview->updateTools(); } void CategoryTabWidget::paletteChange( const QPalette &p ) { QVBox::paletteChange( p ); QPalette pal = palette(); @@ -1338,16 +1339,16 @@ void Launcher::preloadApps() } } DocumentTab::DocumentTab( QWidget *parent, int mode, int selector, const QString &dirName, const QString &fileName) : OFileSelector(parent,mode,selector,dirName,fileName) { - setYesCancelVisible(false); - setToolbarVisible(false); - setPermissionBarVisible(false); - setLineEditVisible(false) ; + //setYesCancelVisible(false); + //setToolbarVisible(false); + //setPermissionBarVisible(false); + //setLineEditVisible(false) ; //setChooserVisible( bool chooser ); } DocumentTab::~DocumentTab() { |