Permalink
Browse files

删除不必要的文件/websocket相关的保留文件,但不再放到项目配置里

  • Loading branch information...
iptton committed Apr 1, 2012
1 parent 0ae9d42 commit 0ad3e39f0ff2b2751991c541fd7d48d852eec368
Showing with 0 additions and 261 deletions.
  1. +0 −11 Rythem.pro
  2. +0 −3 mainwindow.cpp
  3. +0 −16 qirulesettingsdialog.cpp
  4. +0 −25 qirulesettingsdialog.h
  5. +0 −1 qnetworkproxyfactoryexendforpac.h
  6. +0 −10 rule/ryrulemanager.cpp
  7. +0 −195 rule_config.ui
View
@@ -15,11 +15,6 @@ SOURCES += main.cpp\
mainwindow.cpp \
qiddlerpipetablemodel.cpp \
qnetworkproxyfactoryexendforpac.cpp \
- bytearray.cpp \
- websocketserver.cpp \
- websocketclient.cpp \
- connectionmonitorwsserver.cpp \
- qirulesettingsdialog.cpp\
composer.cpp \
rypipetableview.cpp\
waterfallwindow.cpp \
@@ -38,11 +33,6 @@ mac:SOURCES -= qiwinhttp.cpp
HEADERS += mainwindow.h \
qiddlerpipetablemodel.h \
qnetworkproxyfactoryexendforpac.h \
- bytearray.h \
- websocketserver.h \
- websocketclient.h \
- connectionmonitorwsserver.h \
- qirulesettingsdialog.h \
composer.h \
rypipetableview.h \
waterfallwindow.h \
@@ -72,7 +62,6 @@ mac:HEADERS -= proxy/rywinhttp.h
mac:SOURCES -= proxy/rywinhttp.cpp
FORMS += mainwindow.ui \
- rule_config.ui \
composer.ui \
waterfallwindow.ui
View
@@ -27,7 +27,6 @@
#include <QtCore>
#include <QItemSelectionModel>
-#include "qirulesettingsdialog.h"
#ifdef Q_OS_WIN32
#include "zlib/zlib.h"
@@ -227,8 +226,6 @@ void MainWindow::createMenus(){
}
void MainWindow::showSettingsDialog(){
- QiRuleSettingsDialog dialog(this);
- dialog.exec();
}
View
@@ -1,16 +0,0 @@
-#include "qirulesettingsdialog.h"
-#include "ui_rule_config.h"
-
-QiRuleSettingsDialog::QiRuleSettingsDialog(QWidget *parent) :
- QDialog(parent),
- ui(new Ui::QiRuleConfigDialog()){
- ui->setupUi(this);
-}
-QiRuleSettingsDialog::~QiRuleSettingsDialog(){
- delete ui;
-}
-
-int QiRuleSettingsDialog::exec(){
-
- return QDialog::exec();
-}
View
@@ -1,25 +0,0 @@
-#ifndef QIRULESETTINGSDIALOG_H
-#define QIRULESETTINGSDIALOG_H
-
-#include <QDialog>
-
-namespace Ui{
- class QiRuleConfigDialog;
-}
-
-class QiRuleSettingsDialog : public QDialog
-{
- Q_OBJECT
- public:
- explicit QiRuleSettingsDialog(QWidget *parent = 0);
- ~QiRuleSettingsDialog();
- private:
- Ui::QiRuleConfigDialog *ui;
-
- signals:
-
- public slots:
- int exec();
-};
-
-#endif // QIRULESETTINGSDIALOG_H
@@ -9,7 +9,6 @@ class QNetworkProxyFactoryExendForPAC : public QObject
Q_OBJECT
- Q_PROPERTY( QString config WRITE setConfig )
public:
QNetworkProxyFactoryExendForPAC();
View
@@ -124,9 +124,6 @@ const QSharedPointer<RyRuleProject> RyRuleManager::addRuleProject(const QString&
QScriptValue value = engine.evaluate("(" + groupJSONData + ")");
return addRuleProject(value);
}
-const QSharedPointer<RyRuleProject> RyRuleManager::addRuleProject(const QString &groupJSONData, const QString &address, bool isRemote, const QString &host){
- return QSharedPointer<RyRuleProject>();
-}
const QSharedPointer<RyRuleProject> RyRuleManager::addRemoteProject(const QString& url,bool){
QString urlEscaped = url;
@@ -149,13 +146,6 @@ const QSharedPointer<RyRuleProject> RyRuleManager::addRemoteProject(const QStrin
return addRuleProject("{'localAddress':'"+localAddress+"','remoteAddress':'"+urlEscaped+"'}");
}
-const QSharedPointer<RyRuleProject> RyRuleManager::addRemoteProjectFromLocal(const QString &localAddress,
- const QString &remoteAddress,
- const QString &pwd,
- const QString &owner){
- return QSharedPointer<RyRuleProject>();
-
-}
const QSharedPointer<RyRuleGroup> RyRuleManager::addGroupToLocalProject(const QString& content){
// add to project default_local_project
QString projectName = "default_local_project.txt";
View
@@ -1,195 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>QiRuleConfigDialog</class>
- <widget class="QDialog" name="QiRuleConfigDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>317</width>
- <height>426</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Dialog</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <layout class="QFormLayout" name="formLayout">
- <property name="fieldGrowthPolicy">
- <enum>QFormLayout::FieldsStayAtSizeHint</enum>
- </property>
- <item row="0" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>host</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLineEdit" name="lineEdit">
- <property name="accessibleDescription">
- <string/>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="placeholderText">
- <string notr="true" extracomment="sample:ippan.web.qq.com"/>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_19">
- <property name="text">
- <string>Ip address</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QLineEdit" name="lineEdit_12">
- <property name="placeholderText">
- <string extracomment="可选项"/>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_18">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QLineEdit" name="lineEdit_13"/>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="label_11">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <widget class="QLineEdit" name="lineEdit_10"/>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="label_17">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="QLineEdit" name="lineEdit_14"/>
- </item>
- <item row="5" column="0">
- <widget class="QLabel" name="label_16">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- <item row="6" column="0">
- <widget class="QLabel" name="label_15">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- <item row="7" column="0">
- <widget class="QLabel" name="label_14">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- <item row="8" column="0">
- <widget class="QLabel" name="label_13">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- <item row="9" column="0">
- <widget class="QLabel" name="label_12">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- <item row="10" column="0">
- <widget class="QLabel" name="label_10">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- <item row="5" column="1">
- <widget class="QLineEdit" name="lineEdit_15"/>
- </item>
- <item row="6" column="1">
- <widget class="QLineEdit" name="lineEdit_16"/>
- </item>
- <item row="7" column="1">
- <widget class="QLineEdit" name="lineEdit_17"/>
- </item>
- <item row="8" column="1">
- <widget class="QLineEdit" name="lineEdit_18"/>
- </item>
- <item row="9" column="1">
- <widget class="QLineEdit" name="lineEdit_19"/>
- </item>
- <item row="10" column="1">
- <widget class="QLineEdit" name="lineEdit_20"/>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>QiRuleConfigDialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>248</x>
- <y>254</y>
- </hint>
- <hint type="destinationlabel">
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>QiRuleConfigDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel">
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>

0 comments on commit 0ad3e39

Please sign in to comment.