Rearrange files again

pull/1/head
Timothy Pearson 12 years ago
parent fed6fccc41
commit 4e6c7c0e4e

@ -12,7 +12,7 @@
add_definitions( -UQT_NO_ASCII_CAST )
#add_subdirectory( settings )
#add_subdirectory( configwidgets )
add_subdirectory( configwidgets )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
@ -63,6 +63,6 @@ tde_add_tdeinit_executable( knetworkmanager AUTOMOC
#knetworkmanager-pluginmanager.cpp knetworkmanager-vpnservice.cpp knetworkmanager-vpnmanager.cpp
#knetworkmanager-vpnauthenticationdialog.cpp
#vpn_tray_component.cpp
EMBED tdenetwork-connection-configwidgets-static tdenetwork-connection-settings-static
EMBED tdenetwork-connection-configwidgets-static #tdenetwork-connection-settings-static
LINK tdecore-shared tdeui-shared kutils-shared ${DBUS_TQT_LIBRARIES}
)

@ -34,19 +34,17 @@
#include <kuser.h>
// knm headers
#include "knetworkmanager-connection.h"
#include "knetworkmanager-connection_setting_cdma.h"
#include "knetworkmanager-connection_setting_cdma_widget.h"
#include "knetworkmanager-device.h"
// ui headers
#include "connection_setting_cdma.h"
using namespace ConnectionSettings;
CDMAWidgetImpl::CDMAWidgetImpl(Connection* conn, TQWidget* parent, const char* name, WFlags fl)
CDMAWidgetImpl::CDMAWidgetImpl(TDENetworkConnection* conn, TQWidget* parent, const char* name, WFlags fl)
: WidgetInterface(parent, name, fl)
{
_cdmasetting = dynamic_cast<ConnectionSettings::CDMA*> (conn->getSetting(NM_SETTING_CDMA_SETTING_NAME));
_cdmasetting = dynamic_cast<TDEModemConnection*> (conn);
TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1);
_mainWid = new ConnectionSettingCdmaWidget(this);

@ -26,14 +26,16 @@
#define KNETWORKMANAGER_CONNECTION_SETTING_CDMA_WIDGET_H
// qt headers
// tqt headers
#include <tqwidget.h>
#include <tqlineedit.h>
// tde headers
#include <tdehardwaredevices.h>
#include <tdenetworkconnections.h>
// knm headers
#include "knetworkmanager-connection_setting_cdma.h"
#include "knetworkmanager-connection_setting_widget_interface.h"
#include "knetworkmanager-device.h"
//class VPNService;
class ConnectionSettingCdmaWidget;
@ -41,14 +43,12 @@ class ConnectionSettingCdmaWidget;
namespace ConnectionSettings
{
class Connection;
class CDMAWidgetImpl : public WidgetInterface
{
Q_OBJECT
public:
CDMAWidgetImpl(Connection* conn, TQWidget* parent = NULL, const char* name = NULL, WFlags fl = 0);
CDMAWidgetImpl(TDENetworkConnection* conn, TQWidget* parent = NULL, const char* name = NULL, WFlags fl = 0);
void Activate();
void Deactivate();
public slots:
@ -59,7 +59,7 @@ class CDMAWidgetImpl : public WidgetInterface
//VPNConfigWidget* getVPNConfigWidget(VPNService* service);
CDMA* _cdmasetting;
TDEModemConnection* _cdmasetting;
ConnectionSettingCdmaWidget* _mainWid;
};

Loading…
Cancel
Save