Logo Search packages:      
Sourcecode: q4wine version File versions  Download package


 *   Copyright (C) 2008, 2009, 2010 by Malakhov Alexey                           *
 *   brezerk@gmail.com                                                     *
 *                                                                         *
 *   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 3 of the License, 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        *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
 *                                                                         *


#include <memory>

#include <src/q4wine-gui/ui_IconSettings.h>

//Global config
#include "config.h"

#include "iconsview.h"
#include "process.h"

#include "prefix.h"
#include "icon.h"

//Qt inc

#include <QUrl>
#include <QEvent>
#include <QResizeEvent>
#include <QKeyEvent>
#include <QHeaderView>

#include "q4wine-lib.h"

 * \class IconSettings
 * \ingroup q4wine-gui
 * \brief This class provide icon settings dialog functions.
00054 class IconSettings : public QDialog, public Ui::IconSettings
            /*! \brief This is class constructor.
             * \param  prefix_name  Current prefix name.
             * \param  dir_name           Current directory name.
             * \param  icon_name    Current directory name.
            IconSettings(QString prefix_name, QString dir_name, QString icon_name = "", QWidget * parent = 0, Qt::WFlags f = 0);

      private slots:
            /*! \brief This slot function resize dialog content.
            void ResizeContent(int);

            /*! \brief This slot function adds selected dll to override list.
            void cmdAdd_Click();

            /*! \brief This slot function gets path to executable win32 binary.
            void cmdGetProgram_Click();

            /*! \brief This slot function gets and\or extract icons.
            void cmdGetIcon_Click();

            /*! \brief This slot function gets work directory.
            void cmdGetWorkDir_Click();

            /*! \brief This slot function trigger use console state.
            void cbUseConsole_stateChanged(int);

            /*! \brief This slot for cancel button.
            void cmdCancel_Click();

            /*! \brief This slot for ok button.
            void cmdOk_Click();

            /*! \brief This slot for help button.
            void cmdHelp_Click();

        void getProgramIcon(QString name);

            QString prefix_name, dir_name, icon_name, prefix_path, iconPath;

            /*! \brief This function gets icon parms from database.
            void getIconReccord();
            void resizeEvent (QResizeEvent);
            bool eventFilter (QObject *object, QEvent *event);

            void loadThemeIcons();

            //! Side bar URLs list.
00117             QList<QUrl> prefix_urls;

            //! Database prefix class defenition.
00120             Prefix db_prefix;
            Icon db_icon;

            //! This is need for libq4wine-core.so import.
00124             QLibrary libq4wine;
            typedef void *CoreLibPrototype (bool);
            CoreLibPrototype *CoreLibClassPointer;
            std::auto_ptr<corelib> CoreLib;


Generated by  Doxygen 1.6.0   Back to index