mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 17:36:19 -05:00
Separated Qt4.4 features, so Qt4.3 builds can be done.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1186 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
46f7dd0047
commit
0734fb3e72
@ -1,4 +1,4 @@
|
||||
CONFIG += qt gui uic qrc resources uitools debug
|
||||
CONFIG += qt gui uic qrc resources uitools pluginmgr debug
|
||||
QT += network xml script
|
||||
TEMPLATE = app
|
||||
TARGET = RetroShare
|
||||
@ -76,6 +76,7 @@ macx {
|
||||
# CONFIG += ppc x86
|
||||
|
||||
LIBS += -Wl,-search_paths_first
|
||||
LIBS += -L"../../../../lib" -lretroshare -lssl -lcrypto -lminiupnpc -lz
|
||||
}
|
||||
|
||||
############################## Common stuff ######################################
|
||||
@ -145,9 +146,9 @@ HEADERS += rshare.h \
|
||||
gui/HelpDialog.h \
|
||||
gui/LogoBar.h \
|
||||
gui/xprogressbar.h \
|
||||
gui/PluginsPage.h \
|
||||
gui/PluginManagerWidget.h \
|
||||
gui/PluginManager.h \
|
||||
# gui/PluginsPage.h \
|
||||
# gui/PluginManagerWidget.h \
|
||||
# gui/PluginManager.h \
|
||||
gui/plugins/PluginInterface.h \
|
||||
gui/im_history/IMHistoryKeeper.h \
|
||||
gui/im_history/IMHistoryReader.h \
|
||||
@ -388,9 +389,9 @@ SOURCES += main.cpp \
|
||||
gui/HelpDialog.cpp \
|
||||
gui/LogoBar.cpp \
|
||||
gui/xprogressbar.cpp \
|
||||
gui/PluginsPage.cpp \
|
||||
gui/PluginManagerWidget.cpp \
|
||||
gui/PluginManager.cpp \
|
||||
# gui/PluginsPage.cpp \
|
||||
# gui/PluginManagerWidget.cpp \
|
||||
# gui/PluginManager.cpp \
|
||||
lang/languagesupport.cpp \
|
||||
util/stringutil.cpp \
|
||||
util/win32.cpp \
|
||||
@ -521,6 +522,24 @@ turtle {
|
||||
}
|
||||
|
||||
|
||||
# Shifted Qt4.4 dependancies to here.
|
||||
# qmake CONFIG=pluginmgr
|
||||
|
||||
pluginmgr {
|
||||
|
||||
SOURCES += gui/PluginsPage.cpp \
|
||||
gui/PluginManagerWidget.cpp \
|
||||
gui/PluginManager.cpp
|
||||
|
||||
HEADERS += gui/PluginsPage.h \
|
||||
gui/PluginManagerWidget.h \
|
||||
gui/PluginManager.h
|
||||
|
||||
DEFINES *= PLUGINMGR
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -226,9 +226,10 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
||||
ui.stackPages->add(newsFeed = new NewsFeed(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_NEWSFEED), tr("News Feed"), grp));
|
||||
|
||||
#ifdef PLUGINMGR
|
||||
ui.stackPages->add(pluginsPage = new PluginsPage(ui.stackPages),
|
||||
createPageAction(QIcon(IMAGE_PLUGINS), tr("Plugins"), grp));
|
||||
|
||||
#endif
|
||||
/* Create the toolbar */
|
||||
ui.toolBar->addActions(grp->actions());
|
||||
ui.toolBar->addSeparator();
|
||||
|
@ -510,12 +510,12 @@
|
||||
<property name="contextMenuPolicy" >
|
||||
<enum>Qt::NoContextMenu</enum>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_6" >
|
||||
<layout class="QGridLayout" >
|
||||
<property name="verticalSpacing" >
|
||||
<number>4</number>
|
||||
</property>
|
||||
<item row="0" column="0" >
|
||||
<layout class="QGridLayout" name="gridLayout_4" >
|
||||
<layout class="QGridLayout" >
|
||||
<item row="0" column="0" >
|
||||
<widget class="QLabel" name="label_2" >
|
||||
<property name="minimumSize" >
|
||||
@ -591,17 +591,20 @@ p, li { white-space: pre-wrap; }
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>220</width>
|
||||
<height>123</height>
|
||||
<width>235</width>
|
||||
<height>131</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="label" >
|
||||
<string>Keyword Search</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_3" >
|
||||
<layout class="QGridLayout" >
|
||||
<item row="0" column="0" >
|
||||
<layout class="QGridLayout" name="gridLayout" >
|
||||
<property name="spacing" >
|
||||
<layout class="QGridLayout" >
|
||||
<property name="horizontalSpacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="verticalSpacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="0" column="0" colspan="2" >
|
||||
@ -634,8 +637,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string>Any</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/FileTypeAny.png</normaloff>:/images/FileTypeAny.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/FileTypeAny.png</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@ -643,8 +645,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string>Archive</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/FileTypeArchive.png</normaloff>:/images/FileTypeArchive.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/FileTypeArchive.png</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@ -652,8 +653,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string>Audio</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/FileTypeAudio.png</normaloff>:/images/FileTypeAudio.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/FileTypeAudio.png</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@ -661,8 +661,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string>CD-Image</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/FileTypeCDImage.png</normaloff>:/images/FileTypeCDImage.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/FileTypeCDImage.png</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@ -670,8 +669,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string>Document</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/FileTypeDocument.png</normaloff>:/images/FileTypeDocument.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/FileTypeDocument.png</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@ -679,8 +677,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string>Picture</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/FileTypePicture.png</normaloff>:/images/FileTypePicture.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/FileTypePicture.png</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@ -688,8 +685,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string>Program</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/FileTypeProgram.png</normaloff>:/images/FileTypeProgram.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/FileTypeProgram.png</iconset>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@ -697,8 +693,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string>Video</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/FileTypeVideo.png</normaloff>:/images/FileTypeVideo.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/FileTypeVideo.png</iconset>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
@ -724,17 +719,16 @@ p, li { white-space: pre-wrap; }
|
||||
<string>Search</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/find.png</normaloff>:/images/find.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/find.png</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" >
|
||||
<spacer name="horizontalSpacer" >
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0" >
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>88</width>
|
||||
<height>20</height>
|
||||
@ -756,7 +750,7 @@ p, li { white-space: pre-wrap; }
|
||||
</widget>
|
||||
</item>
|
||||
<item rowspan="2" row="1" column="1" >
|
||||
<layout class="QGridLayout" name="gridLayout_5" >
|
||||
<layout class="QGridLayout" >
|
||||
<item row="0" column="0" colspan="4" >
|
||||
<widget class="SearchTreeWidget" name="searchResultWidget" >
|
||||
<property name="sizePolicy" >
|
||||
@ -836,8 +830,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string>Download</string>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/down_24x24.png</normaloff>:/images/down_24x24.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/down_24x24.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize" >
|
||||
<size>
|
||||
@ -848,11 +841,11 @@ p, li { white-space: pre-wrap; }
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1" >
|
||||
<spacer name="horizontalSpacer_2" >
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0" >
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>158</width>
|
||||
<height>31</height>
|
||||
@ -904,8 +897,7 @@ p, li { white-space: pre-wrap; }
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon" >
|
||||
<iconset resource="images.qrc" >
|
||||
<normaloff>:/images/advsearch_24x24.png</normaloff>:/images/advsearch_24x24.png</iconset>
|
||||
<iconset resource="images.qrc" >:/images/advsearch_24x24.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize" >
|
||||
<size>
|
||||
@ -943,7 +935,7 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="currentIndex" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="tabSpacing" >
|
||||
<property name="tabSpacing" stdset="0" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page_2" >
|
||||
@ -951,14 +943,14 @@ p, li { white-space: pre-wrap; }
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>220</width>
|
||||
<height>241</height>
|
||||
<width>224</width>
|
||||
<height>221</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="label" >
|
||||
<string>Search Activity</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_2" >
|
||||
<layout class="QGridLayout" >
|
||||
<item row="0" column="0" >
|
||||
<widget class="QTreeWidget" name="searchSummaryWidget" >
|
||||
<property name="sizePolicy" >
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <QWizard>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
//QT_BEGIN_NAMESPACE
|
||||
class QCheckBox;
|
||||
class QLabel;
|
||||
class QTextEdit;
|
||||
@ -13,7 +13,7 @@ class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGroupBox;
|
||||
class QGridLayout;
|
||||
QT_END_NAMESPACE
|
||||
//QT_END_NAMESPACE
|
||||
|
||||
const std::string LOCAL_IP = "---LOCAL---";
|
||||
const std::string EXT_IP = "---EXT---";
|
||||
|
Loading…
Reference in New Issue
Block a user