summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-01-23 20:12:55 (UTC)
committer kergoth <kergoth>2003-01-23 20:12:55 (UTC)
commit2b0157e5c600f6880ef10a1df187df45ac25f051 (patch) (unidiff)
treef9049b5aac89d9605146efeeb221e2b8dcb26b85
parent5100d4dc5012d5ff65bf1afc814e0552fe2d98fa (diff)
downloadopie-2b0157e5c600f6880ef10a1df187df45ac25f051.zip
opie-2b0157e5c600f6880ef10a1df187df45ac25f051.tar.gz
opie-2b0157e5c600f6880ef10a1df187df45ac25f051.tar.bz2
Compile fix, if you use PATH_MAX, include linux/limits.h.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/mainwin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp
index 8090646..ae073ef 100644
--- a/noncore/settings/aqpkg/mainwin.cpp
+++ b/noncore/settings/aqpkg/mainwin.cpp
@@ -1,65 +1,66 @@
1/*************************************************************************** 1/***************************************************************************
2 mainwin.cpp - description 2 mainwin.cpp - description
3 ------------------- 3 -------------------
4 begin : Mon Aug 26 13:32:30 BST 2002 4 begin : Mon Aug 26 13:32:30 BST 2002
5 copyright : (C) 2002 by Andy Qua 5 copyright : (C) 2002 by Andy Qua
6 email : andy.qua@blueyonder.co.uk 6 email : andy.qua@blueyonder.co.uk
7 ***************************************************************************/ 7 ***************************************************************************/
8 8
9/*************************************************************************** 9/***************************************************************************
10 * * 10 * *
11 * This program is free software; you can redistribute it and/or modify * 11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by * 12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or * 13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. * 14 * (at your option) any later version. *
15 * * 15 * *
16 ***************************************************************************/ 16 ***************************************************************************/
17 17
18#include <linux/limits.h>
18#include <unistd.h> 19#include <unistd.h>
19 20
20#include <qpe/qcopenvelope_qws.h> 21#include <qpe/qcopenvelope_qws.h>
21#include <qpe/qpemenubar.h> 22#include <qpe/qpemenubar.h>
22#include <qpe/qpeapplication.h> 23#include <qpe/qpeapplication.h>
23#include <qpe/qpetoolbar.h> 24#include <qpe/qpetoolbar.h>
24#include <qpe/config.h> 25#include <qpe/config.h>
25#include <qpe/resource.h> 26#include <qpe/resource.h>
26 27
27#include <qaction.h> 28#include <qaction.h>
28#include <qcombobox.h> 29#include <qcombobox.h>
29#include <qfile.h> 30#include <qfile.h>
30#include <qlabel.h> 31#include <qlabel.h>
31#include <qlayout.h> 32#include <qlayout.h>
32#include <qlineedit.h> 33#include <qlineedit.h>
33#include <qlistview.h> 34#include <qlistview.h>
34#include <qmenubar.h> 35#include <qmenubar.h>
35#include <qmessagebox.h> 36#include <qmessagebox.h>
36#include <qpopupmenu.h> 37#include <qpopupmenu.h>
37#include <qprogressbar.h> 38#include <qprogressbar.h>
38#include <qtimer.h> 39#include <qtimer.h>
39#include <qwhatsthis.h> 40#include <qwhatsthis.h>
40#include <qwidgetstack.h> 41#include <qwidgetstack.h>
41 42
42#include "categoryfilterimpl.h" 43#include "categoryfilterimpl.h"
43#include "datamgr.h" 44#include "datamgr.h"
44#include "global.h" 45#include "global.h"
45#include "helpwindow.h" 46#include "helpwindow.h"
46#include "inputdlg.h" 47#include "inputdlg.h"
47#include "installdlgimpl.h" 48#include "installdlgimpl.h"
48#include "letterpushbutton.h" 49#include "letterpushbutton.h"
49#include "mainwin.h" 50#include "mainwin.h"
50#include "settingsimpl.h" 51#include "settingsimpl.h"
51#include "utils.h" 52#include "utils.h"
52 53
53extern int compareVersions( const char *v1, const char *v2 ); 54extern int compareVersions( const char *v1, const char *v2 );
54 55
55MainWindow :: MainWindow() 56MainWindow :: MainWindow()
56 :QMainWindow( 0x0, 0x0, WStyle_ContextHelp ) 57 :QMainWindow( 0x0, 0x0, WStyle_ContextHelp )
57{ 58{
58 setCaption( tr( "AQPkg - Package Manager" ) ); 59 setCaption( tr( "AQPkg - Package Manager" ) );
59 60
60#ifdef QWS 61#ifdef QWS
61 // read download directory from config file 62 // read download directory from config file
62 Config cfg( "aqpkg" ); 63 Config cfg( "aqpkg" );
63 cfg.setGroup( "settings" ); 64 cfg.setGroup( "settings" );
64 currentlySelectedServer = cfg.readEntry( "selectedServer", "local" ); 65 currentlySelectedServer = cfg.readEntry( "selectedServer", "local" );
65 showJumpTo = cfg.readBoolEntry( "showJumpTo", "true" ); 66 showJumpTo = cfg.readBoolEntry( "showJumpTo", "true" );