summaryrefslogtreecommitdiffstats
path: root/kiconedit/kiconedit.h
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-02-06 17:28:41 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2014-02-06 17:28:41 -0600
commit7ad9c00daa716f90e6b71af463c50eebc93f4250 (patch)
treef472270f99cab538f9db00a80e09d35f4d351d6b /kiconedit/kiconedit.h
parent00af0dfbf87c62e25b5050102b7bd8df2ddcc1d0 (diff)
downloadtdegraphics-7ad9c00daa716f90e6b71af463c50eebc93f4250.tar.gz
tdegraphics-7ad9c00daa716f90e6b71af463c50eebc93f4250.zip
Finish renaming kiconedit->tdeiconedit.
Diffstat (limited to 'kiconedit/kiconedit.h')
-rw-r--r--kiconedit/kiconedit.h158
1 files changed, 0 insertions, 158 deletions
diff --git a/kiconedit/kiconedit.h b/kiconedit/kiconedit.h
deleted file mode 100644
index 7c6e74f0..00000000
--- a/kiconedit/kiconedit.h
+++ /dev/null
@@ -1,158 +0,0 @@
-/*
- kiconedit - a small graphics drawing program for creating KDE icons
- Copyright (C) 1998 Thomas Tanghus (tanghus@kde.org)
-
- 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 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
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef __KICONEDIT_H__
-#define __KICONEDIT_H__
-
-#include <tqwidget.h>
-#include <tqpixmap.h>
-#include <tqptrlist.h>
-
-#include <tdemainwindow.h>
-#include <kiconloader.h>
-#include <tdemenubar.h>
-#include <kstatusbar.h>
-#include <tdetoolbar.h>
-#include <tdeaccel.h>
-#include <kurl.h>
-#include <tdeaction.h>
-
-#include "knew.h"
-#include "kicon.h"
-#include "kiconconfig.h"
-#include "kicongrid.h"
-#include "kresize.h"
-#include "properties.h"
-
-class TDEIconEdit;
-class KCommandHistory;
-typedef TQPtrList<TDEIconEdit> WindowList;
-
-class TQWhatsThis;
-class TQToolButton;
-class TQLabel;
-class PaletteToolBar;
-
-/**
-* TDEIconEdit
-* @short TDEIconEdit
-* @author Thomas Tanghus <tanghus@kde.org>
-* @version 0.4
-*/
-class TDEIconEdit : public TDEMainWindow
-{
- Q_OBJECT
-
-public:
- TDEIconEdit( KURL url = KURL(), const char *name = "kiconedit");
- TDEIconEdit( const TQImage image, const char *name = "kiconedit");
- ~TDEIconEdit();
-
- virtual TQSize sizeHint() const;
- static WindowList windowList;
-
-signals:
- void newname(const TQString &);
-
-public slots:
- virtual void saveProperties(TDEConfig*);
- virtual void readProperties(TDEConfig*);
- void updateProperties();
-
-protected slots:
- void slotNewWin(const TQString & url = 0);
- void slotNew();
- void slotOpen();
- void slotClose();
- void slotSave();
- void slotSaveAs();
- void slotPrint();
- void slotZoomIn();
- void slotZoomOut();
- void slotZoom1();
- void slotZoom2();
- void slotZoom5();
- void slotZoom10();
- void slotCopy();
- void slotCut();
- void slotPaste();
- void slotClear();
- void slotSaved();
- void slotSelectAll();
- void slotOpenRecent(const KURL&);
- void slotToolPointer();
- void slotToolFreehand();
- void slotToolRectangle();
- void slotToolFilledRectangle();
- void slotToolCircle();
- void slotToolFilledCircle();
- void slotToolEllipse();
- void slotToolFilledEllipse();
- void slotToolSpray();
- void slotToolFlood();
- void slotToolLine();
- void slotToolEraser();
- void slotToolSelectRect();
- void slotToolSelectCircle();
- void slotConfigureSettings();
- void slotConfigureKeys();
- void slotShowGrid();
- void slotUpdateZoom( int );
- void slotUpdateStatusColors(uint);
- void slotUpdateStatusColors(uint, uint*);
- void slotUpdateStatusPos(int, int);
- void slotUpdateStatusSize(int, int);
- void slotUpdateStatusMessage(const TQString &);
- void slotUpdateStatusName(const TQString &);
- void slotUpdateStatusModified(bool);
- void slotUpdateStatusScaling(int);
- void slotUpdatePaste(bool);
- void slotUpdateCopy(bool);
- void slotOpenBlank(const TQSize);
- void addRecent(const TQString &);
-
- virtual void dragEnterEvent(TQDragEnterEvent* event);
- virtual void dropEvent(TQDropEvent *e);
-
-protected:
- void init();
- void setupActions();
- bool setupStatusBar();
- void writeConfig();
- void updateAccels();
-
- virtual bool queryClose();
- virtual TQWidget *createContainer( TQWidget*, int, const TQDomElement&, int& );
-
- KCommandHistory* history;
- PaletteToolBar *m_paletteToolBar;
- KStatusBar *statusbar;
- TDEIconEditGrid *grid;
- KGridView *gridview;
- TDEIconEditIcon *icon;
- TQImage img;
- TQString m_name;
-
- TDEAction *m_actCopy, *m_actPaste, *m_actCut, *m_actPasteNew;
- TDEAction *m_actZoomIn, *m_actZoomOut;
- TDERecentFilesAction *m_actRecent;
-};
-
-#endif //__KICONEDIT_H__