You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.9 KiB
81 lines
1.9 KiB
/* ============================================================
|
|
* File : setupcamera.h
|
|
* Author: Renchi Raju <renchi@pooh.tam.uiuc.edu>
|
|
* Date : 2003-02-10
|
|
* Description :
|
|
*
|
|
* Copyright 2003 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
|
|
*
|
|
* This program is free software; you can redistribute it
|
|
* and/or modify it under the terms of the GNU General
|
|
* Public License as published by the Free Software Foundation;
|
|
* either version 2, or (at your option)
|
|
* any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* ============================================================ */
|
|
|
|
#ifndef SETUPCAMERA_H
|
|
#define SETUPCAMERA_H
|
|
|
|
// KDE includes.
|
|
|
|
#include <kdialogbase.h>
|
|
|
|
// Local includes
|
|
|
|
#include "kpaboutdata.h"
|
|
|
|
class TQListView;
|
|
class TQListViewItem;
|
|
class TQPushButton;
|
|
|
|
namespace KIPIKameraKlientPlugin
|
|
{
|
|
|
|
class SetupCamera : public KDialogBase
|
|
{
|
|
TQ_OBJECT
|
|
|
|
|
|
public:
|
|
|
|
SetupCamera(TQWidget* parent = 0, const char* name = 0);
|
|
~SetupCamera();
|
|
|
|
void applySettings();
|
|
|
|
private:
|
|
|
|
TQListView* listView_;
|
|
|
|
TQPushButton* addButton_;
|
|
TQPushButton* removeButton_;
|
|
TQPushButton* editButton_;
|
|
TQPushButton* autoDetectButton_;
|
|
TQPushButton* helpButton_;
|
|
|
|
KIPIPlugins::KPAboutData* m_about;
|
|
|
|
private slots:
|
|
|
|
void slotHelp();
|
|
void slotSelectionChanged();
|
|
void slotAddCamera();
|
|
void slotRemoveCamera();
|
|
void slotEditCamera();
|
|
void slotAutoDetectCamera();
|
|
void slotAddedCamera(const TQString& model, const TQString& port);
|
|
void slotEditedCamera(const TQString& model, const TQString& port);
|
|
void slotOkClicked();
|
|
};
|
|
|
|
} // NameSpace KIPIKameraKlientPlugin
|
|
|
|
#endif
|
|
|